Knx commands in a for loop - 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 commands in a for loop (/showthread.php?tid=4688) |
Knx commands in a for loop - Ceros2112 - 29.03.2023 Hello, I'm trying to make a "reset" function for a series of blind shutters, basically I want to read the actual state, and toggle the command in order to make the shutters move back and forth the actual position. Everything seems to work fine in the script (I set logs and everything is good) except that shutters don't move So I wonder, is it possible to use knx commands in a for loop or there is some kind of limitation? Thanks for your help. RE: Knx commands in a for loop - Daniel - 29.03.2023 Share your script first. RE: Knx commands in a for loop - Ceros2112 - 29.03.2023 Code: tapp_addresses = {"1/3/4", RE: Knx commands in a for loop - admin - 29.03.2023 What is the datatype for status objects (1/3/6, 1/3/10 etc)? RE: Knx commands in a for loop - Ceros2112 - 29.03.2023 For tapp_addresses array 1.008 For tapp_array elements 5.001 RE: Knx commands in a for loop - admin - 29.03.2023 Do you see control objects (1/3/4, 1/3/8 etc) change in the UI when the script executes? RE: Knx commands in a for loop - Ceros2112 - 29.03.2023 I can't try it right now but last time I checked yes, I will run some tests later. By the way, the whole system is up and running with a custom visualization in which the same addresses are controlled with buttons and everything works fine. I ran a test using an array that contains only one "dummy"group address and it works, I wil run the real test later but I expect that everything will work...otherwise I have no idea |