Domoticz - air conditioning control

For heating/cooling related questions in Domoticz
smq
Posts: 32
Joined: Monday 11 August 2014 23:23
Target OS: Raspberry Pi
Domoticz version:
Contact:

Domoticz - air conditioning control

Postby smq » Monday 06 July 2015 19:33

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

User avatar
ThinkPad
Posts: 1754
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Domoticz - air conditioning control

Postby ThinkPad » Monday 06 July 2015 21:55

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?
ThinkTheme - theme for Domoticz
My (Dutch) blog: http://thinkpad.tweakblogs.net - My Domoticz scripts: Bitbucket
I'm not (very) active anymore on this forum as i don't use Domoticz anymore.

User avatar
RoadXY
Posts: 293
Joined: Monday 07 April 2014 12:50
Target OS: Raspberry Pi
Domoticz version: 2.2331
Location: Near Gorinchem
Contact:

Re: Domoticz - air conditioning control

Postby RoadXY » Thursday 09 July 2015 12:08

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

Re: Domoticz - air conditioning control

Postby Holland » Thursday 09 July 2015 13:56

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

An API is available

markk
Posts: 380
Joined: Tuesday 14 January 2014 15:50
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby markk » Sunday 12 July 2015 10:34

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: viewtopic.php?f=4&t=6929&hilit=Broadlink+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: 48
Joined: Friday 15 August 2014 22:37
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Philos31 » Sunday 12 July 2015 14:25

If you have Daikin Aircon, there is already a script for Domoticz and Daikin integration.
RasPi2/KaKu/MiLight/HomeEasy/Impuls/Byron/Daikin 3,5kw Ururu Sarara all working together with domoticz

Toni
Posts: 86
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Toni » Monday 14 September 2015 20:02

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: 86
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Toni » Monday 28 September 2015 19:48

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

Re: Domoticz - air conditioning control

Postby oliviers » Sunday 04 October 2015 8:07

Hi,
I have written a post on this topic here:
https://www.domoticz.com/forum/viewtopic.php?f=38&t=8209
Rgds,
Oliviers
Paris area
Raspberry Pi 2B - RFXComm 433 - IrTrans - Zwave

User avatar
Arkie
Posts: 90
Joined: Tuesday 03 December 2013 16:24
Target OS: NAS (Synology & others)
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Domoticz - air conditioning control

Postby Arkie » Tuesday 13 October 2015 14:16

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+ DSM 6.0.2-8451 update2(Domoticz 3.05753-7)
LightwaveRF dimmers
kaku switches/dimmers
Fibaro switches
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 8:32
Target OS: Raspberry Pi
Domoticz version:
Location: India
Contact:

Re: Domoticz - air conditioning control

Postby schmin » Friday 11 December 2015 8:34

Did you get this sorted brother??? I had similar problems with my ac unit.

Sateetje
Posts: 17
Joined: Monday 07 December 2015 16:22
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Sateetje » Sunday 10 January 2016 14:43

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
Drawing1.jpg
Overview
Drawing1.jpg (79.15 KiB) Viewed 5668 times

Toni
Posts: 86
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Toni » Tuesday 12 January 2016 20:46

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 5638 times

Toni
Posts: 86
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Toni » Thursday 14 January 2016 19:45

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 230 times

alfred_j_kwak
Posts: 253
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Finland
Contact:

Re: Domoticz - air conditioning control

Postby alfred_j_kwak » Thursday 14 January 2016 23:08

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: 86
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Toni » Friday 15 January 2016 8:45

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: 253
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Finland
Contact:

Re: Domoticz - air conditioning control

Postby alfred_j_kwak » Friday 15 January 2016 9:40

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: 86
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Toni » Friday 15 January 2016 11:25

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: 253
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Finland
Contact:

Re: Domoticz - air conditioning control

Postby alfred_j_kwak » Friday 15 January 2016 11:34

Thank you. Yes I was planning to do some arduino-ir testing.

Toni
Posts: 86
Joined: Monday 20 July 2015 14:12
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz - air conditioning control

Postby Toni » Friday 15 January 2016 18:21

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 267 times


Return to “Heating/cooling”

Who is online

Users browsing this forum: No registered users and 3 guests