Toggle 2 lights/actors with 1 groupaddress
Geplaatst: wo 16 nov 2011, 00:25
Hi,
I'm wondering how to conceptually program the following behavior :
I have 2 individual lights/actors. (Each can be switched on/off by an individual groupaddress)
By sending another specific groupaddress I want to toggle/switch both actors. (So "on" becomes "off" and "off" becomes "on")
Keep in mind that 1 actor can be switched on and the other be switched off before toggling it....
I have a push button interface where I can configure the toggling behavior and I created a specific groupadress for it but I assume while sending out the specific groupaddress it only contains a 1/On or a 0/Off and both actors receive the same value.
How to do this properly ?
Regards, Bert.
I'm wondering how to conceptually program the following behavior :
I have 2 individual lights/actors. (Each can be switched on/off by an individual groupaddress)
By sending another specific groupaddress I want to toggle/switch both actors. (So "on" becomes "off" and "off" becomes "on")
Keep in mind that 1 actor can be switched on and the other be switched off before toggling it....
I have a push button interface where I can configure the toggling behavior and I created a specific groupadress for it but I assume while sending out the specific groupaddress it only contains a 1/On or a 0/Off and both actors receive the same value.
How to do this properly ?
Regards, Bert.