I’m trying to get commands to pass to an HD Foscam camera through the hub but I’m not getting any response out of the camera. I can pass these commands fine externally through the app. Here is a snippet of the code I’m using. Am I missing something using hubAction?
def uri = "/cgi-bin/CGIProxy.fcgi?usr=username&pwd=password&cmd=rebootSystem" def hubAction = new physicalgraph.device.HubAction( method: "GET", path: uri, headers: [HOST:"192.168.1.234:1234"] ) hubAction
The info in the code has been changed to hide my private information.