This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Z-Wave HomeyScript
Automate dual light led panel
Hello i am new to homey this is my first question in this forum , i want to ask how could i automate this types of lights where they installed inside my home :
https://www.banggood.com/6W-9W-Square-LED-Panel-Ceiling-Light-Dual-Color-Recessed-Downlight-AC85-265V-p-1236437.html?cur_warehouse=CN
when they turned off and on again they change the lighting states from outer to inner or both.
if i install kind of on - off relay behind the wall switch and turned it on i could not know the state if the outer or the inner has been turned on ? is there any custom code that could handle and save the old state to determine how many times it should be turned off in order to get the desired lighting position .
thanks alot
https://www.banggood.com/6W-9W-Square-LED-Panel-Ceiling-Light-Dual-Color-Recessed-Downlight-AC85-265V-p-1236437.html?cur_warehouse=CN
when they turned off and on again they change the lighting states from outer to inner or both.
if i install kind of on - off relay behind the wall switch and turned it on i could not know the state if the outer or the inner has been turned on ? is there any custom code that could handle and save the old state to determine how many times it should be turned off in order to get the desired lighting position .
thanks alot
Tagged: