ESPEasy to control air conditioners / heat pumps
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
Great! I didn't see them under releases.
I will remove mine soon then. Far better to use yours.
I will remove mine soon then. Far better to use yours.
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
Hi ToniA,
i've just checked my Panasonic AC remote with your Raw-IR-decoder-for-Arduino and it shows Panasonic CS protocol. Is this protocol supported? I can't find it.
Regards
Bojan
BTW, thank you very much for your work
i've just checked my Panasonic AC remote with your Raw-IR-decoder-for-Arduino and it shows Panasonic CS protocol. Is this protocol supported? I can't find it.
Regards
Bojan
BTW, thank you very much for your work
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
Hmmm, what is the actual model number of the unit?
It is normally CS-E7PKR or similar. CS normally just means indoor unit.
The most common Panasonic codes seem to be the JKE/NKE/PKR one. As in the codes for these three series are all the same. Failing that, just try the other two options. I can't see that you can do any damage. If it isn't the right code set it just won't do anything.
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
Thanks for help. I did not find the bin file, but I finally compiled a working sw and It works.
I'll download yours too, because it's newer release.
Nice day to all. MatejS
I'll download yours too, because it's newer release.
Nice day to all. MatejS
Re: ESPEasy to control air conditioners / heat pumps
It's a RE12JKX. There is a separate file for decoding the CS protocol in the Raw-IR-decoder so I assumed, that CS is just another protocol. I'll try all of the codes as soon as I get the IR LED.whatsupskip wrote: ↑28 Sep 2018, 11:07Hmmm, what is the actual model number of the unit?
It is normally CS-E7PKR or similar. CS normally just means indoor unit.
The most common Panasonic codes seem to be the JKE/NKE/PKR one. As in the codes for these three series are all the same. Failing that, just try the other two options. I can't see that you can do any damage. If it isn't the right code set it just won't do anything.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
Thanks for these.ToniA wrote: ↑27 Sep 2018, 08:45 I have a working build here: https://github.com/ToniA/ESPEasy (branch HeatpumpIR). I also have the binaries (they run at least on Wemos D1 Mini) under 'releases'.
I tried both of these and I was (eventually) able to send the IR commands via MQTT. However there was very little information regarding MQTT showing up in the log. I had the Advanced > Log Settings > Web log Level (& Serial log Level) on "Debug dev" which is showing as above the web based logging screen as "Logging: Debug dev (9)". This I assume is the most verbose.
On boot up there is no confirmation in the log that a connection has been made with the MQTT server.
When I send an MQTT message to the ESP8266 with the commands for the air conditioner, the air conditioner receives it correctly. However the only relevant entry that shows in the ESPEasy log is: "P115: Heatpump IR code transmitted".
On a previous build of your firmware that I compiled I did see some entries in the log for MQTT at boot up along with connecting to the WiFi. Now all that shows in the log is:
105546: : Rebooting...
105547: sendcontent free: 13264 chunk size:11
105548: sendcontent free: 13264 chunk size:0
105756: sendcontent free: 14464 chunk size:400
Now it is more than possible that I have changed a setting or done something else wrong. Having the debugging information showing for MQTT would be very handy.
Friends with kangaroos and some time koala rescuer.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
One small suggestion would be to add something so that a relevant entry appears in the System Info > GIT version:
Thanks again for all your hard work with this project.
I am in the process of writing a brief set of instructions for configuring your plugin up with MQTT. I think a few of use have struggled with this part.
Thanks again for all your hard work with this project.
I am in the process of writing a brief set of instructions for configuring your plugin up with MQTT. I think a few of use have struggled with this part.
Friends with kangaroos and some time koala rescuer.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
I am having some trouble with the https://github.com/ToniA/Raw-IR-decoder-for-Arduino
I am trying to use it with an ESP8266. I appear to be having problems with the defining of the PIND. Clearly it doesn't know what to use for the ESP8266.
What changes should I make to the code for it to work?
I am using Wemos D1 mini with the output from the IR sensor connected to D5 (GPIO14).
I am trying to use it with an ESP8266. I appear to be having problems with the defining of the PIND. Clearly it doesn't know what to use for the ESP8266.
What changes should I make to the code for it to work?
I am using Wemos D1 mini with the output from the IR sensor connected to D5 (GPIO14).
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
It doesn't work on ESP8266, I think it would require quite a bit of changes as it's somewhat hardware-dependent.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
ok, thanks for the prompt reply.
Friends with kangaroos and some time koala rescuer.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
It looks like Panasonic PKR codes are only a subset of the JKE/NKE codes.
The following codes work: Power, Mode, Fan, Temperature and Vertical Vane.
The following codes do nothing: Horizontal Vane and Powerful/Quiet.
You would think they would use the same full set, but I am sure there must have been a very good reason.
I have ordered an ATMega 2560 board so I can try to decode the two that are currently missing.
The following codes work: Power, Mode, Fan, Temperature and Vertical Vane.
The following codes do nothing: Horizontal Vane and Powerful/Quiet.
You would think they would use the same full set, but I am sure there must have been a very good reason.
I have ordered an ATMega 2560 board so I can try to decode the two that are currently missing.
Friends with kangaroos and some time koala rescuer.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
What systems/software are people using to control their heat pumps via this plugin? (ie Node Red)
How are you using it? (Manually by changing settings via WiFi/LTE, Automated based on criteria such as available solar power, etc)
How are you using it? (Manually by changing settings via WiFi/LTE, Automated based on criteria such as available solar power, etc)
Friends with kangaroos and some time koala rescuer.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
I think I found a bug with the Panasonic CS protocol (or it could be a user problem
) with the Horizontal Swing.
When I send from the original remote control to the decoder it shows a valid reception "Horizontal swing: Center"
When I send from the ESPEasy it produces "Horizontal swing: Error"
I tried many different combinations like http://192.168.1.66/control?cmd=heatpum ... 5,1,24,1,2 and none seem to be able to control the Horizontal Swing.
![Lach :)](./images/smilies/icon_e_smile.gif)
When I send from the original remote control to the decoder it shows a valid reception "Horizontal swing: Center"
Code: Select all
Number of symbols: 223
Symbols:
Hh0100000000000100000001110010000000000000000000000000000001100000WHh01000000000001000000011100100000000000001001110001000100000000011100010101100000000000000111000000000111000000000000000010000001000000000000000010011111W
Bytes:
00: 0100|0000 | 02 | 00000010
01: 0000|0100 | 20 | 00100000
02: 0000|0111 | E0 | 11100000
03: 0010|0000 | 04 | 00000100
04: 0000|0000 | 00 | 00000000
05: 0000|0000 | 00 | 00000000
06: 0000|0000 | 00 | 00000000
07: 0110|0000 | 06 | 00000110
08: 0100|0000 | 02 | 00000010
09: 0000|0100 | 20 | 00100000
10: 0000|0111 | E0 | 11100000
11: 0010|0000 | 04 | 00000100
12: 0000|0000 | 00 | 00000000
13: 1001|1100 | 39 | 00111001
14: 0100|0100 | 22 | 00100010
15: 0000|0001 | 80 | 10000000
16: 1100|0101 | A3 | 10100011
17: 0110|0000 | 06 | 00000110
18: 0000|0000 | 00 | 00000000
19: 0111|0000 | 0E | 00001110
20: 0000|0111 | E0 | 11100000
21: 0000|0000 | 00 | 00000000
22: 0000|0000 | 00 | 00000000
23: 1000|0001 | 81 | 10000001
24: 0000|0000 | 00 | 00000000
25: 0000|0000 | 00 | 00000000
26: 1001|1111 | F9 | 11111001
02,20,E0,04,00,00,00,06,02,20,E0,04,00,39,22,80,A3,06,00,0E,E0,00,00,81,00,00,F9
Timings (in us):
PAUSE SPACE: 34784
HEADER MARK: 3500
HEADER SPACE: 1680
BIT MARK: 393
ZERO SPACE: 359
ONE SPACE: 1257
Decoding known protocols...
Look like a Panasonic CS protocol
Powering ON!
Mode: Cool
Temperature: 17
Fan speed: FAN AUTO
Vertical swing: Down 2
Horizontal swing: Center
Timer A active: No
Timer B active: No
Add bytes: 39+22+80+A3+06+00+0E+E0+00+00+81+00+00+.
Checksum Truncate: F9
----- Checksum OK ------
Code: Select all
Number of symbols: 222
Symbols:
Hh0100000000000100000001110010000000000000000000000000000001100000WHh01000000000001000000011100100000000000001001110001110100000000011000010100000000000000000111000000000111000000000000000010000001000000000000000010111111
Bytes:
00: 0100|0000 | 02 | 00000010
01: 0000|0100 | 20 | 00100000
02: 0000|0111 | E0 | 11100000
03: 0010|0000 | 04 | 00000100
04: 0000|0000 | 00 | 00000000
05: 0000|0000 | 00 | 00000000
06: 0000|0000 | 00 | 00000000
07: 0110|0000 | 06 | 00000110
08: 0100|0000 | 02 | 00000010
09: 0000|0100 | 20 | 00100000
10: 0000|0111 | E0 | 11100000
11: 0010|0000 | 04 | 00000100
12: 0000|0000 | 00 | 00000000
13: 1001|1100 | 39 | 00111001
14: 0111|0100 | 2E | 00101110
15: 0000|0001 | 80 | 10000000
16: 1000|0101 | A1 | 10100001
17: 0000|0000 | 00 | 00000000
18: 0000|0000 | 00 | 00000000
19: 0111|0000 | 0E | 00001110
20: 0000|0111 | E0 | 11100000
21: 0000|0000 | 00 | 00000000
22: 0000|0000 | 00 | 00000000
23: 1000|0001 | 81 | 10000001
24: 0000|0000 | 00 | 00000000
25: 0000|0000 | 00 | 00000000
26: 1011|1111 | FD | 11111101
02,20,E0,04,00,00,00,06,02,20,E0,04,00,39,2E,80,A1,00,00,0E,E0,00,00,81,00,00,FD
Timings (in us):
PAUSE SPACE: 10220
HEADER MARK: 3520
HEADER SPACE: 1810
BIT MARK: 319
ZERO SPACE: 465
ONE SPACE: 1369
Decoding known protocols...
Look like a Panasonic CS protocol
Powering ON!
Mode: Cool
Temperature: 23
Fan speed: FAN AUTO
Vertical swing: Straight
Horizontal swing: Error
Timer A active: No
Timer B active: No
Add bytes: 39+2E+80+A1+00+00+0E+E0+00+00+81+00+00+.
Checksum Truncate: FD
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
Hi All,
How can I send IR commands to my Foxtel (Digital TV box), Sony TV and utilize the HeatPumpIR for my aircon?
I want to set up one ESP8266 for sending ALL IR commands out to the TV, iarcon etc.
Thanks ,
Neil.
How can I send IR commands to my Foxtel (Digital TV box), Sony TV and utilize the HeatPumpIR for my aircon?
I want to set up one ESP8266 for sending ALL IR commands out to the TV, iarcon etc.
Thanks ,
Neil.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
In theory it is possible, but at the moment ESPEasy only supports air conditioners in one plug in. There is another IR plug in, but I don't know anything about it.
There are other devices around like the Broadlink series, but I have found that they don't support all the functions on my air conditions. This is also the case with ESPEasy, but hopefully that problem can be resolved soon.
There are other devices around like the Broadlink series, but I have found that they don't support all the functions on my air conditions. This is also the case with ESPEasy, but hopefully that problem can be resolved soon.
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
Hey, ![Lach :)](./images/smilies/icon_e_smile.gif)
I need some help with panasonic LKE ,,
i cannot get quiet and powerful mode to work ?
what is the correct address to send ? everything else is working !
And is there any ARGO heatpump protocol out there ?
/D
![Lach :)](./images/smilies/icon_e_smile.gif)
I need some help with panasonic LKE ,,
i cannot get quiet and powerful mode to work ?
what is the correct address to send ? everything else is working !
And is there any ARGO heatpump protocol out there ?
/D
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
I too am having problems with the Quiet/Powerful with one of the Panasonic codes. I have to look further into the codes to see if I can determine what the problem is.
Were you able to control the horizontal direction?
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
"whatsupskip"
I own a LKE , and i cannot control The horizontal, but i can control the vertical and no Quiet and powerful
BUT if i change to DKE then i can control Horizontal also. but no quiet and powerful.
Something wrong in the code or maybe i got difference in remote protocol ?
I own a LKE , and i cannot control The horizontal, but i can control the vertical and no Quiet and powerful
BUT if i change to DKE then i can control Horizontal also. but no quiet and powerful.
Something wrong in the code or maybe i got difference in remote protocol ?
Re: ESPEasy to control air conditioners / heat pumps
I have now decoded my LKE remote (A75C3636)
And i get this:
Number of symbols: 222
Symbols:
Hh0100000000000100000001110010000000000000000000000000000001100000WHh01000000000001000000011100100000000000001001001001000100000000011000010110010000000000000111000000000111100000000000000010000001000000000000000011010000
Bytes:
00: 0100|0000 | 02 | 00000010
01: 0000|0100 | 20 | 00100000
02: 0000|0111 | E0 | 11100000
03: 0010|0000 | 04 | 00000100
04: 0000|0000 | 00 | 00000000
05: 0000|0000 | 00 | 00000000
06: 0000|0000 | 00 | 00000000
07: 0110|0000 | 06 | 00000110
08: 0100|0000 | 02 | 00000010
09: 0000|0100 | 20 | 00100000
10: 0000|0111 | E0 | 11100000
11: 0010|0000 | 04 | 00000100
12: 0000|0000 | 00 | 00000000
13: 1001|0010 | 49 | 01001001
14: 0100|0100 | 22 | 00100010
15: 0000|0001 | 80 | 10000000
16: 1000|0101 | A1 | 10100001
17: 1001|0000 | 09 | 00001001
18: 0000|0000 | 00 | 00000000
19: 0111|0000 | 0E | 00001110
20: 0000|0111 | E0 | 11100000
21: 1000|0000 | 01 | 00000001
22: 0000|0000 | 00 | 00000000
23: 1000|0001 | 81 | 10000001
24: 0000|0000 | 00 | 00000000
25: 0000|0000 | 00 | 00000000
26: 1101|0000 | 0B | 00001011
02,20,E0,04,00,00,00,06,02,20,E0,04,00,49,22,80,A1,09,00,0E,E0,01,00,81,00,00,0B
Timings (in us):
PAUSE SPACE: 10600
HEADER MARK: 3560
HEADER SPACE: 1740
BIT MARK: 380
ZERO SPACE: 378
ONE SPACE: 1308
Decoding known protocols...
Look like a Panasonic CS protocol
Powering ON!
Mode: Heat
Temperature: 17
Fan speed: FAN AUTO
Vertical swing: Straight
Horizontal swing: Left
Timer A active: No
Timer B active: No
Add bytes: 49+22+80+A1+09+00+0E+E0+01+00+81+00+00+.
Checksum Truncate: B
----- Checksum OK ------
And in the string there are "WHh" ??
There is nothing about Quiet and Powerful ?
Somebody got an idea![Lach :)](./images/smilies/icon_e_smile.gif)
And i get this:
Number of symbols: 222
Symbols:
Hh0100000000000100000001110010000000000000000000000000000001100000WHh01000000000001000000011100100000000000001001001001000100000000011000010110010000000000000111000000000111100000000000000010000001000000000000000011010000
Bytes:
00: 0100|0000 | 02 | 00000010
01: 0000|0100 | 20 | 00100000
02: 0000|0111 | E0 | 11100000
03: 0010|0000 | 04 | 00000100
04: 0000|0000 | 00 | 00000000
05: 0000|0000 | 00 | 00000000
06: 0000|0000 | 00 | 00000000
07: 0110|0000 | 06 | 00000110
08: 0100|0000 | 02 | 00000010
09: 0000|0100 | 20 | 00100000
10: 0000|0111 | E0 | 11100000
11: 0010|0000 | 04 | 00000100
12: 0000|0000 | 00 | 00000000
13: 1001|0010 | 49 | 01001001
14: 0100|0100 | 22 | 00100010
15: 0000|0001 | 80 | 10000000
16: 1000|0101 | A1 | 10100001
17: 1001|0000 | 09 | 00001001
18: 0000|0000 | 00 | 00000000
19: 0111|0000 | 0E | 00001110
20: 0000|0111 | E0 | 11100000
21: 1000|0000 | 01 | 00000001
22: 0000|0000 | 00 | 00000000
23: 1000|0001 | 81 | 10000001
24: 0000|0000 | 00 | 00000000
25: 0000|0000 | 00 | 00000000
26: 1101|0000 | 0B | 00001011
02,20,E0,04,00,00,00,06,02,20,E0,04,00,49,22,80,A1,09,00,0E,E0,01,00,81,00,00,0B
Timings (in us):
PAUSE SPACE: 10600
HEADER MARK: 3560
HEADER SPACE: 1740
BIT MARK: 380
ZERO SPACE: 378
ONE SPACE: 1308
Decoding known protocols...
Look like a Panasonic CS protocol
Powering ON!
Mode: Heat
Temperature: 17
Fan speed: FAN AUTO
Vertical swing: Straight
Horizontal swing: Left
Timer A active: No
Timer B active: No
Add bytes: 49+22+80+A1+09+00+0E+E0+01+00+81+00+00+.
Checksum Truncate: B
----- Checksum OK ------
And in the string there are "WHh" ??
There is nothing about Quiet and Powerful ?
Somebody got an idea
![Lach :)](./images/smilies/icon_e_smile.gif)
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
I think I have found an issue with some of the Panasonic models and their Powerful/Quiet function.
It would appear that this function is largely independent of the other functions. For example using the original Panasonic remote control, I covered the LED and changed the horizontal direction. I then uncovered the LED and hit the Powerful button, which changed the Powerful/Quiet mode, but not the horizontal direction. This to me suggests that the Powerful/Quiet needs to be sent as separate command.
I haven't checked what happens with regard to Power (on/off) and the Powerful/Quiet button.
It would appear that this function is largely independent of the other functions. For example using the original Panasonic remote control, I covered the LED and changed the horizontal direction. I then uncovered the LED and hit the Powerful button, which changed the Powerful/Quiet mode, but not the horizontal direction. This to me suggests that the Powerful/Quiet needs to be sent as separate command.
I haven't checked what happens with regard to Power (on/off) and the Powerful/Quiet button.
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
Yes, i notice this also ![Lach :)](./images/smilies/icon_e_smile.gif)
But how do we send it as separate command ?
i also found this
https://github.com/ToniA/arduino-heatpumpir/issues/66
![Lach :)](./images/smilies/icon_e_smile.gif)
But how do we send it as separate command ?
i also found this
https://github.com/ToniA/arduino-heatpumpir/issues/66
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
Thanks for picking this up. I had missed this.Dbgnu76 wrote: ↑28 Nov 2018, 20:02 i also found this
https://github.com/ToniA/arduino-heatpumpir/issues/66
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
I got it to work now in all modeswhatsupskip wrote: ↑28 Nov 2018, 23:07Thanks for picking this up. I had missed this.Dbgnu76 wrote: ↑28 Nov 2018, 20:02 i also found this
https://github.com/ToniA/arduino-heatpumpir/issues/66
![Lach :)](./images/smilies/icon_e_smile.gif)
![Lach :)](./images/smilies/icon_e_smile.gif)
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
I am really glad to hear. It might solve my problems as well.
What changes did you make?
Did you post it to the Github bug submission?
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
Sorry no, i am no coder ,,more copy and paste modify coderwhatsupskip wrote: ↑01 Dec 2018, 05:07I am really glad to hear. It might solve my problems as well.
What changes did you make?
Did you post it to the Github bug submission?
![Knipoog ;)](./images/smilies/icon_e_wink.gif)
2"
here is a direct link to the source ,,worked with ATOM , There is also a ready to go firmware called "firmware.bin"
https://mega.nz/#!LS5lQQRY!NVnutgMz1g0d ... R-4OHN-0wo
Examples:
http://xxx.xxx.xxx.xxx/control?cmd=heat ... 24,3,3,0,1 "powerful"
http://xxx.xxx.xxx.xxx/control?cmd=heat ... 24,3,3,1,0 "quiet"
http://xxx.xxx.xxx.xxx/control?cmd=heat ... 24,3,3,0,0 "Powerful and quiet = Turned Off"
Still got some problems with verticalswing when turning off powerful and quiet,
http://192.168.1.209/control?cmd=heatpu ... e,1,1,1,24,3,3,0,0
If i put 4 For max vertical swing it stays at number 3 ,,,but if i change it to 7 it goes to max.
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
Thanks Dbgnu76 for this.
Your code seems to have solved my horizontal swing problems as I can now control that correctly.
However there is some issue going on with the powerful and quiet modes as the powerful LED stays on all the time at the moment. That is even the case when the Quiet LED is on. This is the case even if I use the original remote control.
I will investigate this further to see what is going on.
Your code seems to have solved my horizontal swing problems as I can now control that correctly.
However there is some issue going on with the powerful and quiet modes as the powerful LED stays on all the time at the moment. That is even the case when the Quiet LED is on. This is the case even if I use the original remote control.
I will investigate this further to see what is going on.
Friends with kangaroos and some time koala rescuer.
Re: ESPEasy to control air conditioners / heat pumps
Ok, that was strange ?whatsupskip wrote: ↑10 Dec 2018, 00:11 Thanks Dbgnu76 for this.
Your code seems to have solved my horizontal swing problems as I can now control that correctly.
However there is some issue going on with the powerful and quiet modes as the powerful LED stays on all the time at the moment. That is even the case when the Quiet LED is on. This is the case even if I use the original remote control.
I will investigate this further to see what is going on.
Even after you have sended the command - http://xxx.xxx.xxx.xxx/control?cmd=heat ... 24,3,3,0,0
i was also stuck one time ,, but then when i looked closer i notice that i was in Maintenance mode
![Lachend :lol:](./images/smilies/icon_lol.gif)
![Lachend :lol:](./images/smilies/icon_lol.gif)
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
Yes, but mine are a different model, so it isn't that surprising.Dbgnu76 wrote: ↑10 Dec 2018, 23:59 Ok, that was strange ?
Even after you have sended the command - http://xxx.xxx.xxx.xxx/control?cmd=heat ... 24,3,3,0,0
Friends with kangaroos and some time koala rescuer.
-
- New user
- Posts: 3
- Joined: 12 Dec 2018, 05:05
Re: ESPEasy to control air conditioners / heat pumps
Ok, I stumbled on this forum while searching for ways to decode the remote to my LG mini split system(LSN180HSV4 & LSN120HSV4). I skimmed all the comments on this post but unsure where to go from here. I downloaded the code from https://github.com/ToniA/Raw-IR-decoder-for-Arduino and ran through all the options but it couldn't determine the protocol so I'm guessing my system hasn't been added to the list of compatible systems. Is it possible to add mine? If so, what would you need from me. Thanks!
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Re: ESPEasy to control air conditioners / heat pumps
I would first trying using the codes for other LG air conditions to see if they or one of them works or mostly works. There is a good chance one will do most if not all of the controls.frzbgolfer wrote: ↑12 Dec 2018, 05:16 LG mini split system(LSN180HSV4 & LSN120HSV4). I skimmed all the comments on this post but unsure where to go from here. I downloaded the code from https://github.com/ToniA/Raw-IR-decoder-for-Arduino and ran through all the options but it couldn't determine the protocol so I'm guessing my system hasn't been added to the list of compatible systems. Is it possible to add mine? If so, what would you need from me. Thanks!
Friends with kangaroos and some time koala rescuer.
-
- New user
- Posts: 3
- Joined: 12 Dec 2018, 05:05
Re: ESPEasy to control air conditioners / heat pumps
Where are those codes located?whatsupskip wrote: ↑12 Dec 2018, 07:18I would first trying using the codes for other LG air conditions to see if they or one of them works or mostly works. There is a good chance one will do most if not all of the controls.frzbgolfer wrote: ↑12 Dec 2018, 05:16 LG mini split system(LSN180HSV4 & LSN120HSV4). I skimmed all the comments on this post but unsure where to go from here. I downloaded the code from https://github.com/ToniA/Raw-IR-decoder-for-Arduino and ran through all the options but it couldn't determine the protocol so I'm guessing my system hasn't been added to the list of compatible systems. Is it possible to add mine? If so, what would you need from me. Thanks!
-
- New user
- Posts: 3
- Joined: 12 Dec 2018, 05:05
Re: ESPEasy to control air conditioners / heat pumps
***crickets***frzbgolfer wrote: ↑12 Dec 2018, 15:03Where are those codes located?whatsupskip wrote: ↑12 Dec 2018, 07:18I would first trying using the codes for other LG air conditions to see if they or one of them works or mostly works. There is a good chance one will do most if not all of the controls.frzbgolfer wrote: ↑12 Dec 2018, 05:16 LG mini split system(LSN180HSV4 & LSN120HSV4). I skimmed all the comments on this post but unsure where to go from here. I downloaded the code from https://github.com/ToniA/Raw-IR-decoder-for-Arduino and ran through all the options but it couldn't determine the protocol so I'm guessing my system hasn't been added to the list of compatible systems. Is it possible to add mine? If so, what would you need from me. Thanks!
-
- New user
- Posts: 1
- Joined: 10 Jan 2019, 05:25
Re: ESPEasy to control air conditioners / heat pumps
Hi Klaus!kr0815 wrote: ↑15 May 2018, 20:21 Hi Toni,
have it running now
In the End my main problem (besides others) was that i used the raw decoder with setting 1 - this gave me wrong measured timings and i tried long to correct these timings
In the End i used a logic analyzer and measured the times.
For all that want to control a TCL AC - choose in Raw decoder Option 3
The timing values i posted above (from rawsender) also work for TCL / ESPEasy
One question stays? How could i integrate additional functions like the Plasma Air Cleaner?
I know which byte changes, also could hardcode it, but how to make it changeable by command?
Best regards and thanks for your great work
Klaus
I have the same TCL A/C (I think) and I've been struggling to get it to work with this library. I was also able to send commands with the rawsender, the same command you posted turned on my A/C. However, I am not being able to make it work with the library.
Can you post your code (.h and .cpp files)? I would be deeply grateful. Also, we could pull-request it so it would be added to the library.
Thank you!
Santiago
Re: ESPEasy to control air conditioners / heat pumps
Greetings,
At the risk of sounding like a complete newby (guilty) I am going to ask a dumb question as my first post. I have spent loads of time reading but cannot work it out... so please be gentle in your replies. If this is not the place then politely tell me and I will try to find the answer elsewhere.
My project... I have a wall mounted split system AC unit of Daikin brand. I have an ESP8266 NodeMCU running ESPEasy with two DS18b20 connected (and working), one reporting internal temperature and another reporting outside temperature. I want the ESP8266 NodeMCU to be an automated standalone system and utilise a differential formula to assess the temperature difference between internal and outside temps. Once a mathematical formula 'criteria' is met the ESP8266 NodeMCU sends an IR signal to the Daikin AC unit to turn ON, and when another mathematical formula 'criteria' is met the NodeMCU sends an IR signal to the AC unit to turn OFF. Nothing else is needed re the IR signals, just ON and OFF.
As I said I am a complete newby, so appreciate this may frustrate some of the forum gurus. Beyond having the 2 x DS18b20 operational and supplying outdoor and inside temperatures. I have no idea how to get the rest happening? I assume I have to load the heatpumpir codes, and somehow setup the programmatic logic to monitor the temps, do the maths and send the IR signals. But I have no idea how that is done?
Again, humble apology if my comments here are screwing things up.... I suspect this happens too often and it would be frustrating for the gurus on here. If my post is inappropriate and I need to go to another thread or info then politely tell me and I will not cause further disruption. Appreciate your time.
Thanks, Mark
At the risk of sounding like a complete newby (guilty) I am going to ask a dumb question as my first post. I have spent loads of time reading but cannot work it out... so please be gentle in your replies. If this is not the place then politely tell me and I will try to find the answer elsewhere.
My project... I have a wall mounted split system AC unit of Daikin brand. I have an ESP8266 NodeMCU running ESPEasy with two DS18b20 connected (and working), one reporting internal temperature and another reporting outside temperature. I want the ESP8266 NodeMCU to be an automated standalone system and utilise a differential formula to assess the temperature difference between internal and outside temps. Once a mathematical formula 'criteria' is met the ESP8266 NodeMCU sends an IR signal to the Daikin AC unit to turn ON, and when another mathematical formula 'criteria' is met the NodeMCU sends an IR signal to the AC unit to turn OFF. Nothing else is needed re the IR signals, just ON and OFF.
As I said I am a complete newby, so appreciate this may frustrate some of the forum gurus. Beyond having the 2 x DS18b20 operational and supplying outdoor and inside temperatures. I have no idea how to get the rest happening? I assume I have to load the heatpumpir codes, and somehow setup the programmatic logic to monitor the temps, do the maths and send the IR signals. But I have no idea how that is done?
Again, humble apology if my comments here are screwing things up.... I suspect this happens too often and it would be frustrating for the gurus on here. If my post is inappropriate and I need to go to another thread or info then politely tell me and I will not cause further disruption. Appreciate your time.
Thanks, Mark
Re: ESPEasy to control air conditioners / heat pumps
You can use the ESPEasy Mega release from here: https://github.com/ToniA/ESPEasy/releases
This implements also a new command called 'heatpumpir', so if you go to 'Tools', you should be able to execute commands like this (see https://github.com/ToniA/ESPEasy/blob/H ... pumpIR.ino for more information):
This should also work with the ESPEasy 'Rules' section (I have never tried it though), so you should be able to implement rules which execute 'heatpumpir' commands based on the measured temperature values. Reference: https://www.letscontrolit.com/wiki/inde ... rial_Rules
This implements also a new command called 'heatpumpir', so if you go to 'Tools', you should be able to execute commands like this (see https://github.com/ToniA/ESPEasy/blob/H ... pumpIR.ino for more information):
Code: Select all
heatpumpir,panasonic_ckp,1,1,0,22,0,0
Re: ESPEasy to control air conditioners / heat pumps
Hi Toni, awesome advice, thank you. I will flash the NodeMCU with the heatpumpir only version. Question... I assume there's Daikin entries in there? Is there a location to see which brands/models are available, or is that in a readme or something similar. Will flash tonight and see how I go after looking at the rules tutorials. Thanks again Toni.ToniA wrote: ↑21 Jan 2019, 12:26 You can use the ESPEasy Mega release from here: https://github.com/ToniA/ESPEasy/releases
This implements also a new command called 'heatpumpir', so if you go to 'Tools', you should be able to execute commands like this (see https://github.com/ToniA/ESPEasy/blob/H ... pumpIR.ino for more information):
This should also work with the ESPEasy 'Rules' section (I have never tried it though), so you should be able to implement rules which execute 'heatpumpir' commands based on the measured temperature values. Reference: https://www.letscontrolit.com/wiki/inde ... rial_RulesCode: Select all
heatpumpir,panasonic_ckp,1,1,0,22,0,0
Re: ESPEasy to control air conditioners / heat pumps
Hi Toni, one last question. I noted in some of your doco to capture IR codes from an AC remote you recommend using an Arduino. I have an old arduino uno, so I assume that would work? Can you recommend a firmware to use on the uno that would contain your code for capturing the IR codes? I am going to have this as a Plan B in case some of the existing codes in heatpumpir are not compatible with my AC unit. Thanks, Mark
Re: ESPEasy to control air conditioners / heat pumps
There are two supported Daikin models, called 'daikin' and 'daikin_arc417'. The names are defined in the source code files in here: https://github.com/ToniA/arduino-heatpumpir
This is the schema I have been using to decode the signals: https://github.com/ToniA/Raw-IR-decoder-for-Arduino
This is the schema I have been using to decode the signals: https://github.com/ToniA/Raw-IR-decoder-for-Arduino
Re: ESPEasy to control air conditioners / heat pumps
Hi Toni,
I flashed the NodeMCU V3 with the ESPEasy Mega release from here: https://github.com/ToniA/ESPEasy/releases and the flashing went to plan. The command heatpumpir,panasonic_ckp,1,1,0,22,0,0 appears to execute and I get the response Heatpump IR code transmitted but the Infrared LED doesn't appear to be lighting up when viewed with an infrared camera.
I have the following KY-005 infrared module...
Seems I might be having an issue understanding the wiring for the KY-005 to the NodeMCU V3. Is there a wiring diagram I could follow?
Apology for the random questions. Thanks, Mark
I flashed the NodeMCU V3 with the ESPEasy Mega release from here: https://github.com/ToniA/ESPEasy/releases and the flashing went to plan. The command heatpumpir,panasonic_ckp,1,1,0,22,0,0 appears to execute and I get the response Heatpump IR code transmitted but the Infrared LED doesn't appear to be lighting up when viewed with an infrared camera.
I have the following KY-005 infrared module...
![Image](https://images-na.ssl-images-amazon.com/images/I/41QW7RAPUAL._SX342_.jpg)
Seems I might be having an issue understanding the wiring for the KY-005 to the NodeMCU V3. Is there a wiring diagram I could follow?
Apology for the random questions. Thanks, Mark
Re: ESPEasy to control air conditioners / heat pumps
Must have transistor ! - too little output current !
KY-005:
Operating Voltage 5V
Forward Current 30 ~ 60 mA
KY-005:
Operating Voltage 5V
Forward Current 30 ~ 60 mA
Re: ESPEasy to control air conditioners / heat pumps
Also you can visually check if it's working by using any visible light led instead. The led should blink briefly when it's transmitting.
Re: ESPEasy to control air conditioners / heat pumps
Thanks Toni, fantastic tip. I am mindful these are seriously low level questions, so appreciate the patience of you and the other folks that have responded.
Re: ESPEasy to control air conditioners / heat pumps
Tried using a plain red LED as suggested by Toni on my NodeMCU... and here's what happened.
First experiment
LED + pin connected to the 3V pin
LED - pin connected to D3 (GPIO0) pin
Under devices this was the config:-
Device: Heatpump IR transmitter
Name: infrared
Enabled: (ticked)
1st GPIO: GPIO-0 (D3)
Result: LED constantly in an ON state.
When sending this command via the Tools page: heatpumpir,panasonic_ckp,1,1,0,22,0,0
Result: Heatpump IR code transmitted
Second experiment
Followed the IRTX wiring circuit here: https://www.letscontrolit.com/wiki/index.php/IRTX (but used a plain red LED via a BC547 transistor - because that's what I had available and shouldn't make a difference).
Under devices this was the config:-
Device: Heatpump IR transmitter
Name: infrared
Enabled: (ticked)
1st GPIO: GPIO-0 (D3)
Result: No activity from the plain red LED
Have searched for solutions or examples of device setup config and wiring diagrams for a NodeMCU but all appear the same as what I am trying. This link on GitHub https://github.com/ToniA/ESPEasy/blob/m ... pumpIR.ino sends back a 404 error.
I currently have several DS18b20 working successfully, so unsure what is causing a simple LED and transistor not to work.
No doubt it is something simple I am missing![Beschaamd :oops:](./images/smilies/icon_redface.gif)
First experiment
LED + pin connected to the 3V pin
LED - pin connected to D3 (GPIO0) pin
Under devices this was the config:-
Device: Heatpump IR transmitter
Name: infrared
Enabled: (ticked)
1st GPIO: GPIO-0 (D3)
Result: LED constantly in an ON state.
When sending this command via the Tools page: heatpumpir,panasonic_ckp,1,1,0,22,0,0
Result: Heatpump IR code transmitted
Second experiment
Followed the IRTX wiring circuit here: https://www.letscontrolit.com/wiki/index.php/IRTX (but used a plain red LED via a BC547 transistor - because that's what I had available and shouldn't make a difference).
Under devices this was the config:-
Device: Heatpump IR transmitter
Name: infrared
Enabled: (ticked)
1st GPIO: GPIO-0 (D3)
Result: No activity from the plain red LED
Have searched for solutions or examples of device setup config and wiring diagrams for a NodeMCU but all appear the same as what I am trying. This link on GitHub https://github.com/ToniA/ESPEasy/blob/m ... pumpIR.ino sends back a 404 error.
I currently have several DS18b20 working successfully, so unsure what is causing a simple LED and transistor not to work.
No doubt it is something simple I am missing
![Beschaamd :oops:](./images/smilies/icon_redface.gif)
Re: ESPEasy to control air conditioners / heat pumps
The led should be off when it's not transmitting. Also, connect the led between GND (led -) and D3 (led +).
Re: ESPEasy to control air conditioners / heat pumps
Thanks Toni, confirmed, plain red LED working. You'll be happy to know my wife gave one of 'those' looks. Don't suppose you could point me somewhere that has a circuit diagram for connecting the KY-005 to the NodeMCU?
Re: ESPEasy to control air conditioners / heat pumps
You don't actually need a KY-005, as the 38 kHz carrier frequency is already generated by the software. Just connect an infrared led (you should use some resistor also) between GND and the data pin.
If you want to use the KY-005, you need to recompile the image, and change the transmitter class to 'IRSenderBlaster' on this line: https://github.com/ToniA/ESPEasy/blob/H ... R.ino#L158
If you want to use the KY-005, you need to recompile the image, and change the transmitter class to 'IRSenderBlaster' on this line: https://github.com/ToniA/ESPEasy/blob/H ... R.ino#L158
Re: ESPEasy to control air conditioners / heat pumps
Got it, and had already decided to ditch the KY-005 and go with a 5mm 940nm IR Emitter LED Diode.
Final question... regarding this string: heatpumpir,panasonic_ckp,1,1,0,22,0,0
I assume there's a syntax legend somewhere on your GitHub site so I can send just the ON and OFF commands? And I assume I replace panasonic_ckp with daikin or daikin_arc417 to send the Daikin codes.
Thanks again Toni.
Final question... regarding this string: heatpumpir,panasonic_ckp,1,1,0,22,0,0
I assume there's a syntax legend somewhere on your GitHub site so I can send just the ON and OFF commands? And I assume I replace panasonic_ckp with daikin or daikin_arc417 to send the Daikin codes.
Thanks again Toni.
Re: ESPEasy to control air conditioners / heat pumps
This explains the parameters: https://github.com/ToniA/ESPEasy/blob/H ... IR.ino#L31
The whole state is always sent at once, the 'real' remote control does the same.
The whole state is always sent at once, the 'real' remote control does the same.
Re: ESPEasy to control air conditioners / heat pumps
Hello,
which parameters do I need to change in define_plugin_sets.h to compile IR modules (16, 35, 88) in the stable v. 3.09.2019
best regards
edit:
remove // in " STABLE ##################################### " section for 16 and 35
and move P088 to stable
![Lach :)](./images/smilies/icon_e_smile.gif)
which parameters do I need to change in define_plugin_sets.h to compile IR modules (16, 35, 88) in the stable v. 3.09.2019
best regards
edit:
remove // in " STABLE ##################################### " section for 16 and 35
and move P088 to stable
![Lach :)](./images/smilies/icon_e_smile.gif)
Last edited by hryst on 24 Sep 2019, 11:35, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 70 guests