Domoticz - air conditioning control

For heating/cooling related questions in Domoticz

Moderator: leecollings

smq
Posts: 10
Joined: Monday 11 August 2014 23:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Domoticz - air conditioning control

Post 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
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Domoticz - air conditioning control

Post 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?
I am not active on this forum anymore.
User avatar
RoadXY
Posts: 278
Joined: Monday 07 April 2014 12:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2331
Location: Near Gorinchem
Contact:

Re: Domoticz - air conditioning control

Post 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
Holland
Posts: 179
Joined: Friday 12 July 2013 13:53
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta Ch
Location: The Netherlands
Contact:

Re: Domoticz - air conditioning control

Post by Holland »

Also have a look here: https://www.intesishome.com/

An API is available
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
Philos31
Posts: 33
Joined: Friday 15 August 2014 22:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post by Philos31 »

If you have Daikin Aircon, there is already a script for Domoticz and Daikin integration.
RasPi2/KaKu/HUE/Xiaomi/Z-Wave/Nuki/Daikin 3,5kw Ururu Sarara/IR Heating Panels all working together with domoticz
Toni
Posts: 66
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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).
Toni
Posts: 66
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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
oliviers
Posts: 73
Joined: Wednesday 16 September 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Paris area, France
Contact:

Re: Domoticz - air conditioning control

Post by oliviers »

Hi,
I have written a post on this topic here:
viewtopic.php?f=38&t=8209
Rgds,
Oliviers
Paris area
Raspberry Pi 4 - RFXComm 433 - IrTrans - Zwave
User avatar
Arkie
Posts: 38
Joined: Tuesday 03 December 2013 15:24
Target OS: NAS (Synology & others)
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Domoticz - air conditioning control

Post 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
Synology DS412+
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
schmin
Posts: 1
Joined: Friday 11 December 2015 7:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: India
Contact:

Re: Domoticz - air conditioning control

Post by schmin »

Did you get this sorted brother??? I had similar problems with my ac unit.
Sateetje
Posts: 24
Joined: Monday 07 December 2015 15:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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
Attachments
Overview
Overview
Drawing1.jpg (79.15 KiB) Viewed 20526 times
Toni
Posts: 66
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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...
Attachments
Capture.PNG
Capture.PNG (78.67 KiB) Viewed 20496 times
Toni
Posts: 66
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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.
Attachments
script_device_hp.lua.txt
The event script. Remove the '.txt' extension, it's there just because the forum does not allow *.lua files.
(2.2 KiB) Downloaded 491 times
alfred_j_kwak
Posts: 110
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Finland
Contact:

Re: Domoticz - air conditioning control

Post 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) ?
Toni
Posts: 66
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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.
alfred_j_kwak
Posts: 110
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Finland
Contact:

Re: Domoticz - air conditioning control

Post 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.
Toni
Posts: 66
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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.
alfred_j_kwak
Posts: 110
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Finland
Contact:

Re: Domoticz - air conditioning control

Post by alfred_j_kwak »

Thank you. Yes I was planning to do some arduino-ir testing.
Toni
Posts: 66
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Post 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'.
Attachments
script_device_hp.lua.txt
(1.85 KiB) Downloaded 612 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest