Hello Guys..
The eval and eval_trigger doesn't make any sense for me, i'm very confused after reading around in the doc and at this forum - seems like many different ways to do it, but i can't see the logic in it....
All i wanna do is eval on a bool. If the bool goes high it must turn on light, if bool goes low it must turn off the light..... I'm trying this:
The eval is a bit that comes from a pushbutton to override presence sensors...
When this one get's high it must turn on the object "Floor_on_off"
Could someone please write the correct expression - so it can make sense for me
The eval and eval_trigger doesn't make any sense for me, i'm very confused after reading around in the doc and at this forum - seems like many different ways to do it, but i can't see the logic in it....
All i wanna do is eval on a bool. If the bool goes high it must turn on light, if bool goes low it must turn off the light..... I'm trying this:
Code:
[[[floor_on_off]]] type=bool visu_acl=rw knx_dpt=1 knx_listen=2/0/0 knx_send=2/0/0 knx_init=2/0/0 eval = true if sh.garage.light.constant_floor else None eval_trigger = garage.light.constant_floor
When this one get's high it must turn on the object "Floor_on_off"
Could someone please write the correct expression - so it can make sense for me

Kommentar