22.09.2022, 12:35
Hi, i nedd to change status on/off of knx adress if speed exceed 10%, can you help please?
Speed to on/off
|
22.09.2022, 12:35
Hi, i nedd to change status on/off of knx adress if speed exceed 10%, can you help please?
22.09.2022, 12:39
This event script will send ON (true) to 1/1/1 when event value is larger than 10, otherwise it will send OFF (false) to 1/1/1.
Code: 12 value = event.getvalue()
grp.checkwrite('1/1/1', value > 10)(22.09.2022, 12:39)admin Wrote: This event script will send ON (true) to 1/1/1 when event value is larger than 10, otherwise it will send OFF (false) to 1/1/1. what is wrong on my script below Code: 123456 if event.getvalue() > 10
then
grp.write('2/3/5', true)
else
grp.write('2/3/5', false)
endYours works fine. Thank you
22.09.2022, 12:47
Your script does the same thing as mine. Not sure why it didn't work for you. I've tested and it works for me.
|
« Next Oldest | Next Newest »
|