This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Knx - Homekit HEX Control
#1
Hi, I'm trying to control my HVAC system with KNX and homekit but I don't know how to manage it.

Homekit send the comands in HEX and I receive the code in one address.

I need for example to Turn On Lounge HVAC (1/7/18) and Put the HVAC Machine in Cool Mode (1/7/2) when I receive the code 43 6F 6F 6C 4F 6E (1/5/10) but I don't know how to create the script.

1/7/18 - 1.001 Switch
1/7/2 - 20.105 HVAC Control Mode
1/5/10 - HEX

Can anyone help me?
Reply
#2
Hi,

Set object 1/5/10 to a 250 byte object and you (probably) will receive the value “CoolOn”

Then create a event based script on object 1/5/10 like this:
Code:
if event.getvalue() == "CoolOn" then
  grp.checkwrite('1/7/18', true)
  grp.checkwrite('1/7/2', 3)
end
Object type 20.105 does not exist in the controller but its just a 1 byte value so you can just use a 05. 1 byte unsigned integer  object for this.

Some 20.105 values to test are values are: 0=Aut, 1=Heat, 3=Cool, 9=Fan, 14=Dry

BR,

Erwin
Reply
#3
(22.05.2020, 19:55)Erwin van der Zwart Wrote: Hi,

Set object 1/5/10 to a 250 byte object and you (probably) will receive the value “CoolOn”

Then create a event based script on object 1/5/10 like this:
Code:
if event.getvalue() == "CoolOn" then
  grp.checkwrite('1/7/18', true)
  grp.checkwrite('1/7/2', 3)
end
Object type 20.105 does not exist in the controller but its just a 1 byte value so you can just use a 05. 1 byte unsigned integer  object for this.

Some 20.105 values to test are values are: 0=Aut, 1=Heat, 3=Cool, 9=Fan, 14=Dry

BR,

Erwin

Thank u so much!! Works!!
Reply


Forum Jump: