![]() |
Knx - Homekit HEX Control - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Knx - Homekit HEX Control (/showthread.php?tid=2652) |
Knx - Homekit HEX Control - jorgejglopez - 22.05.2020 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? RE: Knx - Homekit HEX Control - Erwin van der Zwart - 22.05.2020 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 Some 20.105 values to test are values are: 0=Aut, 1=Heat, 3=Cool, 9=Fan, 14=Dry BR, Erwin RE: Knx - Homekit HEX Control - jorgejglopez - 25.05.2020 (22.05.2020, 19:55)Erwin van der Zwart Wrote: Hi, Thank u so much!! Works!! |