I’m having some trouble with a 2630L and this app. I’ve created a virtual (simulated) switch which I’m hoping to use to turn on and off motion detection on the 2630L. I’ve verified that I’ve setup the camera correct and I have no issues enabling / disabling the motion detection from the ST device itself (verified in the web UI, works wonderfully). I successfully setup an instance of this smart app tying to together the virtual switch and the motion option the camera - no errors in the live logs. However, whenever I manually flip the virtual switch the HTTP request does not actually trigger on the camera ST device.
When I manually toggle the virtual switch on / off here are the logs:
8b8f2862 11:17:07 AM: debug State Changed to Off. 1abc9312 11:17:07 AM: debug PUBLISHED on()
(8b8f2862 is the virtual switch controller, 1abc9312 is the virtual switch)
The message doesn’t make it to the camera device. I tried re-saving the switch controller:
8b8f2862 11:16:45 AM: debug Updated with settings: [mySwitch:Virtual Camera Motion Switch, camera:Yoshi Cam, commandOn:motionOn, commandOff:motionOff]
If that helps. Not sure what I’m missing at this point. I’ve included a screenshot of the configuration of the switch controller as well.
It looks like there is a bug with motion right now that I will fix shortly. I want to point out, however, that motion on/off is the default command on the camera so if you use the camera as a normal switch in a routine or SmartApp it will toggle the motion detection.