Logic Machine Forum
Boolean not working - 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: Boolean not working (/showthread.php?tid=5643)



Boolean not working - si67 - 30.09.2024

Hello, I am having an issue that has me stuck.
I have a script running that compares thermostats and if any thermostat calls for heat it calls a GA boolean switch.
Whilst I can monitor the boolean switch change value from off to on in both ETS and wiser for knx the group address does not cause a switch actuator to change state.
If I remove the link on the actuator and replace it with a light boolean switch GA the actuator works.
In ETS if write to the address with a boolean switch the actuator switches...Why can a physical devices on the KNX network and ETS itereact with the GA to effect both a logged state change and the recipient device act accordingly, yet a script generated boolean switch generate only a logged address change yet that address boolean change not cause the device to respond??


RE: Boolean not working - admin - 01.10.2024

Replace grp.update with grp.write in your script.


RE: Boolean not working - si67 - 01.10.2024

Works perfect, thanks very much