Page 1 of 3

Domoticz - air conditioning control

Posted: Monday 06 July 2015 19:33
by smq
Hi,

Do you have any idea how to control home airconditioning?
I'm thinking about to use IR protocol to communicate with original wall controllers. Anybody proceed with that way?
And how to get it working with domoticz?

Greetings

Re: Domoticz - air conditioning control

Posted: Monday 06 July 2015 21:55
by ThinkPad
Please tell us some more, your post is quite minimalistic.

What brand + type airconditioning are we talking about? How does the remote/wall control look like? What did you already found out yourself?

Re: Domoticz - air conditioning control

Posted: Thursday 09 July 2015 12:08
by RoadXY
Have been researching this myself lately and found this device:
http://www.remotec.com.hk/zaspx/product ... =45&main=f

Technical info here:
http://www.vesternet.com/downloads/dl/f ... manual.pdf

Re: Domoticz - air conditioning control

Posted: Thursday 09 July 2015 13:56
by Holland
Also have a look here: https://www.intesishome.com/

An API is available

Re: Domoticz - air conditioning control

Posted: Sunday 12 July 2015 10:34
by markk
I use a Broadlink RM pro to control my air con remotely. I haven't integrated this with Domoticz yet but I understand this is possible. See this thread here: http://www.domoticz.com/forum/viewtopic ... adlink+rm2

Re: Domoticz - air conditioning control

Posted: Sunday 12 July 2015 14:25
by Philos31
If you have Daikin Aircon, there is already a script for Domoticz and Daikin integration.

Re: Domoticz - air conditioning control

Posted: Monday 14 September 2015 20:02
by Toni
Some while ago I implemented an Arduino library to control a number of different air conditioners through infrared: https://github.com/ToniA/arduino-heatpumpir

This could be connected into the network using the Arduino Ethernet/WiFi shield. I'm also looking at integrating this with MySensors. I think it would also be nice if Domoticz would have a widget for controlling heatpumps (temperature, operating mode, fan speed, power state).

Re: Domoticz - air conditioning control

Posted: Monday 28 September 2015 19:48
by Toni
Today I was able to send infrared commands from Domoticz to my old Panasonic CKP air conditioning / heat pump for the first time, wirelessly through the MySensors network. The interface is a bit clumsy, but it works :) And yes, quite a few air conditioner models are supported.

https://github.com/ToniA/arduino-heatpu ... ensorsNode

Re: Domoticz - air conditioning control

Posted: Sunday 04 October 2015 8:07
by oliviers
Hi,
I have written a post on this topic here:
viewtopic.php?f=38&t=8209
Rgds,
Oliviers

Re: Domoticz - air conditioning control

Posted: Tuesday 13 October 2015 14:16
by Arkie
Hi, i'm using the remotec zxt-120 with my zibro ac unit, this works, i can switch it on and off and i can switch on the heat function.
I use dummy switches for this control. I don't use the controle of the degrees, i only use maximum cooling, of heating with 24 c degrees

Regards

Re: Domoticz - air conditioning control

Posted: Friday 11 December 2015 7:34
by schmin
Did you get this sorted brother??? I had similar problems with my ac unit.

Re: Domoticz - air conditioning control

Posted: Sunday 10 January 2016 13:43
by Sateetje
I'm following the project of ToniA on Github closely. He wants to control an air conditioner with Domoticz with the use of the MySensors network/nodes.

https://github.com/ToniA/arduino-heatpumpir

I want the same functionallity in Domoticz. I think more people wants to control their air conditioner from Domoticz.

Here are the threads:
viewtopic.php?f=34&t=8751
tracker.php?p=2&t=650

Please see attached file also

Re: Domoticz - air conditioning control

Posted: Tuesday 12 January 2016 19:46
by Toni
Here's a teaser of what I have done with the air conditioning control so far. A bit clumsy, but this actually works now, together with a Lua event script which calculates the right IR command to be sent to the MySensors device. Now, if we just could combine those three dummy devices into one...

Re: Domoticz - air conditioning control

Posted: Thursday 14 January 2016 18:45
by Toni
OK, more fun with MySensors and the 'HeatpumpIRController' sketch: https://github.com/mysensors/Arduino/tr ... Controller

The demo now works with old & faithful Panasonic E12-CKP series air conditioner / heatpump. I have the three devices shown on the previous post, MySensors gateway connected to Domoticz (I'm using the serial gateway on Raspberry Pi), and the HeatpumpIRController MySensors node, with the IR led close to the IR eye of the Panasonic.

When the HeatpumpIRController MySensors node is connected, these new devices will be created automatically:
  • IR send
  • IR data
'IR data' holds the message to be sent, and 'IR send' triggers the MySensors node to actually send the data. I had to do it this way, as I couldn't figure out how the IR device works in Domoticz.

The final piece of the puzzle is a Lua event script which ties together the dummy 'Heatpump' devices and the MySensors nodes. I have attached it into this post. To use it, you need to set the global variables within the Lua script. The HeatpumpIRController.ino should work as such, for as long as your heatpump / air conditioner is on the list of supported modes.

Re: Domoticz - air conditioning control

Posted: Thursday 14 January 2016 22:08
by alfred_j_kwak
This is maybe stupid question, but why do you have that hex convert function? Isn't it possible just use: string.format("%X", temperature) ?

Re: Domoticz - air conditioning control

Posted: Friday 15 January 2016 7:45
by Toni
The only reason is that I'm a bit new to Lua, and that was the first Google search result for converting a decimal number to hex when I asked for it :) I'll change it later today.

Re: Domoticz - air conditioning control

Posted: Friday 15 January 2016 8:40
by alfred_j_kwak
I don't know much either. Just start to wonder and do some google.
Do you happend to know what device is Onnline heat pump? I know that Onninen has rebranded it, but what it originally was.

Re: Domoticz - air conditioning control

Posted: Friday 15 January 2016 10:25
by Toni
No idea, but take a look at lampopumput.info (for other folks, this is in Finnish). It might be a rebranded Midea heatpump. Anyway, if I get access to a remote control, or somebody with a remote controller has an Arduino + IR receiver, the reverse-engineering should be quite simple.

Re: Domoticz - air conditioning control

Posted: Friday 15 January 2016 10:34
by alfred_j_kwak
Thank you. Yes I was planning to do some arduino-ir testing.

Re: Domoticz - air conditioning control

Posted: Friday 15 January 2016 17:21
by Toni
Here's a new version of the Lua event script. I also modified the fan speed selector (in Domoticz V2.4192) to not show the 'Off' state, and to include 'Auto'.