01.04.2019, 13:31
(This post was last modified: 01.04.2019, 13:33 by Erwin van der Zwart.)
Hi,
Just create a event based script on the KNX object and write a value to a virtual object and attach this script to it (now for 6 variable so you need to extend it):
Inside the ES/AS you can create a trigger based script to decode them back to a string object.
BR,
Erwin
Just create a event based script on the KNX object and write a value to a virtual object and attach this script to it (now for 6 variable so you need to extend it):
Code:
value = event.getvalue()
if value == '7H-01' then
grp.update('32/0/0', 1)
elseif value == 'BH-00' then
grp.update('32/0/0', 2)
elseif value == 'BH-01' then
grp.update('32/0/0', 3)
elseif value == 'BH-02' then
grp.update('32/0/0', 4)
elseif value == 'BH-03' then
grp.update('32/0/0', 5)
elseif value == 'BH-04' then
grp.update('32/0/0', 6)
end
Inside the ES/AS you can create a trigger based script to decode them back to a string object.
BR,
Erwin