Dake23 Posted October 18, 2018 Posted October 18, 2018 Hi. I write driver on light v2. I has problem with scenes work. PUSH_SCENE, ACTIVATE_SCENE, REMOVE_SCENE and etc work correctly. But if i create scene in TOGGLE mode, i has a problem after reload application Contol4 on phone. What i do: 1. Create scene in TOGGLE mode: scene 1 - On light 1 scene 1 (TOGGLE) - Off light 1 2. Started application Control4 on iphone/ipad and activate scene 1; (At this point, deactivation works correctly) 3. Reboot application Contol4, and after loading i see an activated scene 1, but when you press the scene deactivation button, the driver thinks that scene 1 is turned off and sends a command to turn it on, but must send a command to turn on scene 1 (TOGGLE). In OnDriverLateInit() i send C4:SendToProxy(idBinding,"ONLINE_CHANGED",{STATE=true}) But after reload application Contol4 don't got any command in ReceivedFromProxy(). Please tell me what I am doing wrong ? Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.