ESPEasy to control air conditioners / heat pumps
Moderators: grovkillen, Stuntteam, TD-er
ESPEasy to control air conditioners / heat pumps
A while ago I've written an Arduino library to control air conditioners / heat pumps through infrared. It works like you'd have a second remote control for the device.
I have now integrated ESPEasy and HeatpumpIR together, and based on my quick trials, at least my good old Panasonic CKP air conditioner seems to respond to IR codes sent from Wemos D1 Mini. I just need to connect a series resistor and an IR led between the GPIO and GND pins. The range is not that great, though. So the first advice is to place the led close to the IR eye.
My software is here: https://github.com/ToniA/ESPEasy/tree/HeatpumpIR. I also made a pull req on the playground: https://github.com/ESP8266nu/ESPEasyPlu ... und/pull/7
I have now integrated ESPEasy and HeatpumpIR together, and based on my quick trials, at least my good old Panasonic CKP air conditioner seems to respond to IR codes sent from Wemos D1 Mini. I just need to connect a series resistor and an IR led between the GPIO and GND pins. The range is not that great, though. So the first advice is to place the led close to the IR eye.
My software is here: https://github.com/ToniA/ESPEasy/tree/HeatpumpIR. I also made a pull req on the playground: https://github.com/ESP8266nu/ESPEasyPlu ... und/pull/7
-
- New user
- Posts: 5
- Joined: 17 Dec 2016, 17:53
Re: ESPEasy to control air conditioners / heat pumps
Hi
Thanks for the plugin, works perfect but i have one problem/question.
I can send via EspEasy the command via http like http://192.168.1.201/control?cmd=heatpu ... 2,3,30,0,0 and it works. I need use it via mqtt in node red. Im using openHab.
I try use topic /mydevice/heatpumpir and payload samsung,1,2,3,30,0,0 but doesnt works, can you help me?
Thanks for the plugin, works perfect but i have one problem/question.
I can send via EspEasy the command via http like http://192.168.1.201/control?cmd=heatpu ... 2,3,30,0,0 and it works. I need use it via mqtt in node red. Im using openHab.
I try use topic /mydevice/heatpumpir and payload samsung,1,2,3,30,0,0 but doesnt works, can you help me?
-
- New user
- Posts: 5
- Joined: 17 Dec 2016, 17:53
Re: ESPEasy to control air conditioners / heat pumps
Thanks for your reply.
I read many times, but i dont understand how to send this command in node red. My ESPEasy is mos1. I try topic /mos1/ and payload cmd -m heatpumpir,samsung,1,1,0,22,0,0 and dont works, i try payload mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0 and dont works. Please help me because im lost.
Thanks for all
I read many times, but i dont understand how to send this command in node red. My ESPEasy is mos1. I try topic /mos1/ and payload cmd -m heatpumpir,samsung,1,1,0,22,0,0 and dont works, i try payload mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0 and dont works. Please help me because im lost.
Thanks for all
Re: ESPEasy to control air conditioners / heat pumps
This should be the correct format:
What do you get in the ESPEasy log? What if you change the log verbosity level to '9', in Tools -> Advanced -> Web or Serial log level (depending on which one you are looking at)?
Code: Select all
mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0
-
- New user
- Posts: 5
- Joined: 17 Dec 2016, 17:53
Re: ESPEasy to control air conditioners / heat pumps
63394177 : MQTT : Topic: /mos1/
63394177 : MQTT : Payload: mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0
63394177 : MQTT : Payload: mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0
- Attachments
-
- Sin título.jpg (163.22 KiB) Viewed 117080 times
-
- New user
- Posts: 5
- Joined: 17 Dec 2016, 17:53
Re: ESPEasy to control air conditioners / heat pumps
This is my clipboard
[
{
"id": "ae6723d7.812b7",
"type": "mqtt out",
"z": "12d43a6d.0a2e16",
"name": "",
"topic": "/mos1/",
"qos": "",
"retain": "",
"broker": "122ca1e9.2f68ee",
"x": 551,
"y": 213,
"wires": []
},
{
"id": "81429d0.dffa56",
"type": "inject",
"z": "12d43a6d.0a2e16",
"name": "",
"topic": "",
"payload": "mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0",
"payloadType": "str",
"repeat": "",
"crontab": "",
"once": false,
"x": 348,
"y": 210,
"wires": [
[
"ae6723d7.812b7"
]
]
},
{
"id": "122ca1e9.2f68ee",
"type": "mqtt-broker",
"z": "",
"broker": "192.168.1.200",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": true,
"keepalive": "60",
"cleansession": true,
"willTopic": "",
"willQos": "0",
"willPayload": "",
"birthTopic": "",
"birthQos": "0",
"birthPayload": ""
}
]
[
{
"id": "ae6723d7.812b7",
"type": "mqtt out",
"z": "12d43a6d.0a2e16",
"name": "",
"topic": "/mos1/",
"qos": "",
"retain": "",
"broker": "122ca1e9.2f68ee",
"x": 551,
"y": 213,
"wires": []
},
{
"id": "81429d0.dffa56",
"type": "inject",
"z": "12d43a6d.0a2e16",
"name": "",
"topic": "",
"payload": "mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0",
"payloadType": "str",
"repeat": "",
"crontab": "",
"once": false,
"x": 348,
"y": 210,
"wires": [
[
"ae6723d7.812b7"
]
]
},
{
"id": "122ca1e9.2f68ee",
"type": "mqtt-broker",
"z": "",
"broker": "192.168.1.200",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": true,
"keepalive": "60",
"cleansession": true,
"willTopic": "",
"willQos": "0",
"willPayload": "",
"birthTopic": "",
"birthQos": "0",
"birthPayload": ""
}
]
Re: ESPEasy to control air conditioners / heat pumps
Ah, we have misunderstood each other. The 'mosquitto_pub' is a command line tool to send out MQTT messages from the shell. So the topic should be '/mos1/cmd' and the payload should be like 'heatpumpir,samsung,1,1,0,22,0,0'.
Now your topic was '/mos1/' and the payload was 'mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0'.
Now your topic was '/mos1/' and the payload was 'mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0'.
-
- New user
- Posts: 5
- Joined: 17 Dec 2016, 17:53
Re: ESPEasy to control air conditioners / heat pumps
It works perfectly. Thank you very much ToniA. I still dont know thw logic of the topic but it works. Im a beginner and need to read more documantation.
Thanks for all.
Thanks for all.
Re: ESPEasy to control air conditioners / heat pumps
Hi ! I'm new on the forum... sorry for my bad english, I'm spanish...
A few months ago I'm using Domoticz and weeks ago I discovered espeasy ... it's great!
I have correctly integrated several things and now I want to go one step further ... I want to integrate the air conditioning. I found this thread but I see that the brand of my AC is not in the list of your plugin (I have an LG)
I have been reading and it does not seem difficult to read the codes of the remote ... integrating an infrared receiver, and capturing the codes of the remote.
ToniA, how can I help the project by sampling the codes of the remote control of my LG air?
Thanks in advance.
Sergi
A few months ago I'm using Domoticz and weeks ago I discovered espeasy ... it's great!
I have correctly integrated several things and now I want to go one step further ... I want to integrate the air conditioning. I found this thread but I see that the brand of my AC is not in the list of your plugin (I have an LG)
I have been reading and it does not seem difficult to read the codes of the remote ... integrating an infrared receiver, and capturing the codes of the remote.
ToniA, how can I help the project by sampling the codes of the remote control of my LG air?
Thanks in advance.
Sergi
Re: ESPEasy to control air conditioners / heat pumps
Sergi, you should use this sketch: https://github.com/ToniA/Raw-IR-decoder-for-Arduino
First we should build a decoder for the LG protocol, and once that works in decoding the basic things (checksum, ON/OFF, operating mode, temperature and fan speeds), then implementing the sending part should be quite easy.
First we should build a decoder for the LG protocol, and once that works in decoding the basic things (checksum, ON/OFF, operating mode, temperature and fan speeds), then implementing the sending part should be quite easy.
Re: ESPEasy to control air conditioners / heat pumps
Thanks !!!
I'll try to build the decoder and capture the basic things in this week or the next...
I will continue reporting
I'll try to build the decoder and capture the basic things in this week or the next...
I will continue reporting
Re: ESPEasy to control air conditioners / heat pumps
Hello everyone.
Also I'm trying to use the plug-in of Tonia but I can not see Heatpumpir ESPeasy in the device menu.
I copied the plugin _P115_HeatpumpIR in the source / folder of espeasy _R140 firmware, but when I install the firmware on the ESP 8266-01 or 8266-12F nothing happens.
Can you help me understand how you install the plug-in?
Sorry for my Google english
Also I'm trying to use the plug-in of Tonia but I can not see Heatpumpir ESPeasy in the device menu.
I copied the plugin _P115_HeatpumpIR in the source / folder of espeasy _R140 firmware, but when I install the firmware on the ESP 8266-01 or 8266-12F nothing happens.
Can you help me understand how you install the plug-in?
Sorry for my Google english
Re: ESPEasy to control air conditioners / heat pumps
Would it work if you build from this: https://github.com/ToniA/ESPEasy/tree/master/ESPEasy ? I haven't merged with R140, as I'm using it on a customer project, and the version I'm basing on at the moment hasn't had any issues ('if it ain't broke, don't fix it').
Re: ESPEasy to control air conditioners / heat pumps
Hi,
Thank you very much for this plugin! I've compiled it with the stable R120 (I've just remove the GreeHeatpumpIR, as it refuse to compile with it?) and it works like a charm for my Panasonic DKE!
Thank you again.
Thank you very much for this plugin! I've compiled it with the stable R120 (I've just remove the GreeHeatpumpIR, as it refuse to compile with it?) and it works like a charm for my Panasonic DKE!
Thank you again.
Re: ESPEasy to control air conditioners / heat pumps
Yes, I should update the plugin, as I have made some interface changes on some of the heatpump models on the HeatpumpIR library.
Nice to hear it's working for you I also have a Panasonic DKE.
Nice to hear it's working for you I also have a Panasonic DKE.
-
- New user
- Posts: 7
- Joined: 28 Feb 2017, 23:03
Re: ESPEasy to control air conditioners / heat pumps
Hello. I have some trouble that I need help with.
I downloaded the raw IR decode sketch and used my original remote to it.
I have a zibro/qlima heatpump. When I select to decode nr 4 in the serial monitor it tells me "looks like Carrier protocoll #2"
OK. I compile esp easy with heatpump IR library on a nodemcu-12
And when sending a IR code when using (carrier_mca) nothing works.
If I send it to the aduino with IR raw decoder, it decodes it as carrier #2 protocoll.
So It seems to work, but it dosent.
What am I missing here?
I downloaded the raw IR decode sketch and used my original remote to it.
I have a zibro/qlima heatpump. When I select to decode nr 4 in the serial monitor it tells me "looks like Carrier protocoll #2"
OK. I compile esp easy with heatpump IR library on a nodemcu-12
And when sending a IR code when using (carrier_mca) nothing works.
If I send it to the aduino with IR raw decoder, it decodes it as carrier #2 protocoll.
So It seems to work, but it dosent.
What am I missing here?
Re: ESPEasy to control air conditioners / heat pumps
First of all, if you replace the IR led with a visible light led, do you see it blinking? The range is also not that long, so try to place the IR led as close as possible. With 100 Ohm resistor in series with the IR led I get a few meters.
Also, the 'carrier_mca' is a rather new addition into the HeatpumpIR library, so make sure you are building against a version which has it in.
Also, the 'carrier_mca' is a rather new addition into the HeatpumpIR library, so make sure you are building against a version which has it in.
-
- New user
- Posts: 7
- Joined: 28 Feb 2017, 23:03
Re: ESPEasy to control air conditioners / heat pumps
If I did not have a version for carrier_mca then it wouldent work to send IR commands from espeasy to the arduino with raw IR decoder onboard, that tells me it decodes carrier #2? Right?
I can also se that it is sending IR light with a camera so it should be ok.
I have a blue noname IR led 940something. Is that ok?
Or should I use a clear led?
I can also se that it is sending IR light with a camera so it should be ok.
I have a blue noname IR led 940something. Is that ok?
Or should I use a clear led?
Re: ESPEasy to control air conditioners / heat pumps
OK, so you have the decoder, and both the original remote control and the ESP will send the same code, but only the remote control works? Did I get it right? Do you see if there are any obvious differences in the symbol sequence?
You could also try out this sketch (https://github.com/ToniA/arduino-heatpu ... sender.ino), with the symbols sequence from the real remote, to test out the setup.
940nm IR leds should be OK, the color of the case should not matter.
You could also try out this sketch (https://github.com/ToniA/arduino-heatpu ... sender.ino), with the symbols sequence from the real remote, to test out the setup.
940nm IR leds should be OK, the color of the case should not matter.
-
- New user
- Posts: 7
- Joined: 28 Feb 2017, 23:03
Re: ESPEasy to control air conditioners / heat pumps
Yes you get it right. The original remote and the ESP sends the same IR codes to my arduino uno with a IR reciever with your raw IR decode sketch.
I will try the ino file you made a link to next time I am at my summer house.
I will try the ino file you made a link to next time I am at my summer house.
Re: ESPEasy to control air conditioners / heat pumps
Hi there,
I'm getting error while compiling it!
Any suggestions?
Plugin included: _P115_HeatpumpIR.ino and also the arduino-heatpumpir libraries too.
Kind regards,
Viktor
I'm getting error while compiling it!
Any suggestions?
Code: Select all
In file included from _P115_HeatpumpIR.ino:40:0:
C:\Documents and Settings\Beic\My Documents\Arduino\libraries\arduino-heatpumpir/SamsungHeatpumpIR.h:54:5: error: 'SamsungHeatpumpIR::SamsungHeatpumpIR()' is protected
SamsungHeatpumpIR();
^
_P115_HeatpumpIR:55: error: within this context
In file included from _P115_HeatpumpIR.ino:46:0:
C:\Documents and Settings\Beic\My Documents\Arduino\libraries\arduino-heatpumpir/GreeHeatpumpIR.h:66:5: error: 'GreeHeatpumpIR::GreeHeatpumpIR()' is protected
GreeHeatpumpIR();
^
_P115_HeatpumpIR:57: error: within this context
Kind regards,
Viktor
Re: ESPEasy to control air conditioners / heat pumps
Oh yes, I've done further development on the HeatpumpIR library, without updating the plugin. If you don't have a Samsung or Gree, just comment out the code where it adds instances of those into the array of supported models.
Re: ESPEasy to control air conditioners / heat pumps
But, can you fix it for me, please ToniA!
Re: ESPEasy to control air conditioners / heat pumps
OK, done So the _P115 on the plugin playground now works against HeatpumpIR library version 1.0.6.
Re: ESPEasy to control air conditioners / heat pumps
Ohhh, ToniA my friend, it's compiling now like a charm!
Just one question,...
I'm using WeMos D1 mini (3.3v), so,... I need to know the resistor value and what type of IR Transmitter Diode to use (I have 3mm/940nm and 5mm/850nm too).
Thank you!
Re: ESPEasy to control air conditioners / heat pumps
I've used 940 nm leds. The range is not very good, I think you could get a few meters with 100 ohms. The resistor value does not really matter much, just use something.
Re: ESPEasy to control air conditioners / heat pumps
Thanks Toni for that!
But, do you have any support (any thoughts) maybe for my Vivax Cool ACP-12CH35AEL (12000 / 12000 BTU) ?
User manual: http://www.kimtec.rs/downloads/vivax/do ... H35AEL.pdf
Last edited by beic on 02 Apr 2017, 14:00, edited 1 time in total.
Re: ESPEasy to control air conditioners / heat pumps
No, unless it uses some known protocol. If not, then we'd need to reverse-engineer it. I bit of work, but this is how all the protocols in the HeatpumpIR library have been developed.
See these:
https://github.com/ToniA/arduino-heatpumpir
https://github.com/ToniA/Raw-IR-decoder-for-Arduino
Even if the whole protocol is not fully understood, it's also possible to play back recorded samples with something like this: https://github.com/ToniA/arduino-heatpu ... sender.ino
See these:
https://github.com/ToniA/arduino-heatpumpir
https://github.com/ToniA/Raw-IR-decoder-for-Arduino
Even if the whole protocol is not fully understood, it's also possible to play back recorded samples with something like this: https://github.com/ToniA/arduino-heatpu ... sender.ino
Re: ESPEasy to control air conditioners / heat pumps
So, if I decode my remote control commands like (On, Off, etc...) with that https://github.com/ToniA/Raw-IR-decoder-for-Arduino, than you can make a library for Vivax unit too?
Re: ESPEasy to control air conditioners / heat pumps
Yes, that's the way all the supported models have been done.
Re: ESPEasy to control air conditioners / heat pumps
So, if I give you all the RAW code with description then you can make a library for me/us (community)?!
Kind regards,
Viktor
Kind regards,
Viktor
Re: ESPEasy to control air conditioners / heat pumps
Let's hope so, but I need a lot of help from you
-
- New user
- Posts: 7
- Joined: 28 Feb 2017, 23:03
Re: ESPEasy to control air conditioners / heat pumps
When I send with the origial remote it decodes:ToniA wrote: ↑01 Mar 2017, 14:15 OK, so you have the decoder, and both the original remote control and the ESP will send the same code, but only the remote control works? Did I get it right? Do you see if there are any obvious differences in the symbol sequence?
You could also try out this sketch (https://github.com/ToniA/arduino-heatpu ... sender.ino), with the symbols sequence from the real remote, to test out the setup.
940nm IR leds should be OK, the color of the case should not matter.
Number of symbols: 102
Symbols:
Hh101100100100110110111111010000000101110010100011hHh101100100100110110111111010000000101110010100011
Bytes:
4D,B2,FD,02,3A,C5,4D,B2,FD,02,3A,C5
Timings (in us):
PAUSE SPACE: 0
HEADER MARK: 4450
HEADER SPACE: 4740
BIT MARK: 497
ZERO SPACE: 512
ONE SPACE: 1620
Decoding known protocols...
Looks like a Carrier protocol #2
POWER: ON
FAN: AUTO
Temperature: 23
Checksum matches
-----------------------------------------------------------------------------------------------------------------------------------
When I send with the HeatpumpIR library the decoder says:
Number of symbols: 101
Symbols:
Hh101100100100110110011111011000000101000010101111Hh101100100100110110011111011000000101000010101111
Bytes:
4D,B2,F9,06,0A,F5,4D,B2,F9,06,0A,F5
Timings (in us):
PAUSE SPACE: 0
HEADER MARK: 4600
HEADER SPACE: 4600
BIT MARK: 600
ZERO SPACE: 458
ONE SPACE: 1540
Decoding known protocols...
Looks like a Carrier protocol #2
POWER: ON
FAN: 1
MODE: COOL
Temperature: 23
Checksum matches
101 or 102 symbols? Is that the thing that is wrong.
Re: ESPEasy to control air conditioners / heat pumps
Hi,
So you command it as CarrierMCAHeatpumpIR ?
Take a look at this code line: https://github.com/ToniA/arduino-heatpu ... R.cpp#L287
Would it work if you change the code starting from that line to this:
So you command it as CarrierMCAHeatpumpIR ?
Take a look at this code line: https://github.com/ToniA/arduino-heatpu ... R.cpp#L287
Would it work if you change the code starting from that line to this:
Code: Select all
// New header
IR.mark(CARRIER_AIRCON2_BIT_MARK);
IR.space(CARRIER_AIRCON2_HDR_SPACE);
IR.mark(CARRIER_AIRCON2_HDR_MARK);
IR.space(CARRIER_AIRCON2_HDR_SPACE);
-
- New user
- Posts: 7
- Joined: 28 Feb 2017, 23:03
Re: ESPEasy to control air conditioners / heat pumps
No I command it as "carrier_mca"ToniA wrote: ↑14 Apr 2017, 20:28 Hi,
So you command it as CarrierMCAHeatpumpIR ?
Take a look at this code line: https://github.com/ToniA/arduino-heatpu ... R.cpp#L287
Would it work if you change the code starting from that line to this:
Code: Select all
// New header IR.mark(CARRIER_AIRCON2_BIT_MARK); IR.space(CARRIER_AIRCON2_HDR_SPACE); IR.mark(CARRIER_AIRCON2_HDR_MARK); IR.space(CARRIER_AIRCON2_HDR_SPACE);
And then I dont know what to do. Do not understand what you want me to edit.
I have followed this guide. ---> https://www.domoticz.com/wiki/AC_/_heatpumpIR
Re: ESPEasy to control air conditioners / heat pumps
Yes, that's what I mean. The C++ class name in the code is 'CarrierMCAHeatpumpIR', and in the web interface it's known as 'carrier_mca'. Are you able to build a new build of the ESPEasy? It looks like the file CarrierHeatpumpIR.cpp in the HeatpumpIR library would need a change, starting from line 287 on.
Re: ESPEasy to control air conditioners / heat pumps
I made the changes into the HeatpumpIR library and pushed into Github. So if the ESPEasy builds always use the latest library versions, the next build hopefully includes this. The Carrier MCA now also supports heat mode (it was originally sampled from a device which was only an air conditioner) and 'maintenance mode' (~10 degrees C heating mode), provided that your device has those capabilities. The Qlima heatpump should support these.
-
- New user
- Posts: 7
- Joined: 28 Feb 2017, 23:03
Re: ESPEasy to control air conditioners / heat pumps
Thank you ToniAToniA wrote: ↑17 Apr 2017, 10:18 I made the changes into the HeatpumpIR library and pushed into Github. So if the ESPEasy builds always use the latest library versions, the next build hopefully includes this. The Carrier MCA now also supports heat mode (it was originally sampled from a device which was only an air conditioner) and 'maintenance mode' (~10 degrees C heating mode), provided that your device has those capabilities. The Qlima heatpump should support these.
It is working now, every command that I have tried is working as it should, except for the heating mode
The Cool mode is activated when I set it too heating mode.
__________________________________________________________________________
When sending heating mode from espeasy, I recieve this code:
Number of symbols: 102
Symbols:
Hh101100100100110110111111010000000111000010001111hHh101100100100110110111111010000000111000010001111
Bytes:
4D,B2,FD,02,0E,F1,4D,B2,FD,02,0E,F1
Timings (in us):
PAUSE SPACE: 0
HEADER MARK: 4580
HEADER SPACE: 4600
BIT MARK: 560
ZERO SPACE: 489
ONE SPACE: 1573
Decoding known protocols...
Looks like a Carrier protocol #2
POWER: ON
FAN: AUTO
MODE: COOL
Temperature: 22
Checksum matches
__________________________________________________________________________
When sending heating mode from original remote, I recieve this code:
Number of symbols: 102
Symbols:
Hh101100100100110110111111010000000111110010000011hHh101100100100110110111111010000000111110010000011
Bytes:
4D,B2,FD,02,3E,C1,4D,B2,FD,02,3E,C1
Timings (in us):
PAUSE SPACE: 0
HEADER MARK: 4440
HEADER SPACE: 4753
BIT MARK: 494
ZERO SPACE: 520
ONE SPACE: 1620
Decoding known protocols...
Looks like a Carrier protocol #2
POWER: ON
FAN: AUTO
Temperature: 22
Checksum matches
__________________________________________________________________________
Here you can see the differences.
ESPEasy:Hh101100100100110110111111010000000111000010001111hHh101100100100110110111111010000000111000010001111
Original--: Hh101100100100110110111111010000000111110010000011hHh101100100100110110111111010000000111110010000011
-
- New user
- Posts: 7
- Joined: 28 Feb 2017, 23:03
Re: ESPEasy to control air conditioners / heat pumps
Ahhhhh.... I downloaded the library this morning after breakfast at 10:00
And you updated the library at 10:00?
Ok, I have to reflash again to test if the Heating mode is working now.
HAHA. Now It is working for me. Thank you ToniA.
I have this remote
Sold by Jula in Sweden under the name Zibro
Sold by K-Rauta in Sweden under the name Qlima
And you updated the library at 10:00?
Ok, I have to reflash again to test if the Heating mode is working now.
HAHA. Now It is working for me. Thank you ToniA.
I have this remote
Sold by Jula in Sweden under the name Zibro
Sold by K-Rauta in Sweden under the name Qlima
Re: ESPEasy to control air conditioners / heat pumps
It also seems that the 'frost guard' or 'maintenance mode' (as I call it) has two different messages, based on the model year. The older version does not work yet, I need to implement something to have two different Qlima/Zibro models with different maintenance mode messages. So stay tuned for further changes...
Re: ESPEasy to control air conditioners / heat pumps
The library now has 'qlima_1' and 'qlima_2', as different model years of this heatpump have different control messages for the 'frost guard' mode, or 'maintenance' as I call it (heating at ~10 degrees C). If you just use the 'normal' functions, you can also use it as 'carrier_mca'.
Re: ESPEasy to control air conditioners / heat pumps
Hi ToniA ,
I m a newbie but i will love to control my heat pump with your code.
I see you use the memos D1 mini, but the IR led which do you use the same goes to the resistor.
Do you have same schematics?
Thanks in advance
I m a newbie but i will love to control my heat pump with your code.
I see you use the memos D1 mini, but the IR led which do you use the same goes to the resistor.
Do you have same schematics?
Thanks in advance
Re: ESPEasy to control air conditioners / heat pumps
Just look at the Arduino example on this page: https://github.com/ToniA/arduino-heatpumpir -> look at the readme.
You need an IR led + some resistor, the value does not matter much, something in the range from tens of ohms to a kilo-ohm. Regardless of which resistor you use the range is nowhere close to the real remote, a few meters at most.
You need an IR led + some resistor, the value does not matter much, something in the range from tens of ohms to a kilo-ohm. Regardless of which resistor you use the range is nowhere close to the real remote, a few meters at most.
Re: ESPEasy to control air conditioners / heat pumps
Thanks ToniA, will this work? http://www.ebay.com/itm/3mm-IR-LED-Pair ... 1374524483ToniA wrote: ↑21 Apr 2017, 17:52 Just look at the Arduino example on this page: https://github.com/ToniA/arduino-heatpumpir -> look at the readme.
You need an IR led + some resistor, the value does not matter much, something in the range from tens of ohms to a kilo-ohm. Regardless of which resistor you use the range is nowhere close to the real remote, a few meters at most.
Re: ESPEasy to control air conditioners / heat pumps
Yes, 940 nm IR LED is the right one. If you have any old and unused remote controllers, you can also strip those apart.
Re: ESPEasy to control air conditioners / heat pumps
Thanks ToniA have searched but no old unused controllers,have order one.
I have a Mitsubishi heat pump will try to flash a wemos mini with it if i manage compile.
Re: ESPEasy to control air conditioners / heat pumps
Hi again I manage (I think) to flash a Nodemcu with your code.
But I don't see the option to choose the manufactur. Skall it be so?
Thanks
But I don't see the option to choose the manufactur. Skall it be so?
Thanks
- Attachments
-
- Heatpump.png (56.6 KiB) Viewed 114415 times
Re: ESPEasy to control air conditioners / heat pumps
In ESPEasy you only need to configure the pin you connect the LED into (you can first try out with red/green/yellow/whatever color LED to see it's working).
The heatpump model is in the message, see the second message of this thread for an example. This works both with http and mqtt messages.
The heatpump model is in the message, see the second message of this thread for an example. This works both with http and mqtt messages.
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests