Webcam Camera PTZ control device not working

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
_Thomas_
Posts: 4
Joined: 08 Jul 2016 14:52

Webcam Camera PTZ control device not working

Post by _Thomas_ »

Hi,

I have defined a camera as device from the generic Webcam template. The camera is a IPC-100 AC by the way, it is a cheap camera from Medion available here in Germany. I have found the HTTP API commands and I can see the video stream incoming in the z-wave UI. However I can not control the PTZ position of the camera. I have added the correct URLs (I checked these manually). But the Z-Wave is logging me following error: ReferenceError: http is not defined

Code: Select all

2016-07-11 12:31:49.258] [I] [core] Notification: error (module): Error during perform command execution: ReferenceError: http is not defined
[2016-07-11 12:31:49.268] [I] [core] ReferenceError: http is not defined
    at vDev.controller.devices.create.handler (automation/modules/Camera/index.js:102:21)
    at _.extend.performCommand (automation/classes/VirtualDevice.js:289:37)
    at ZAutomationAPIWebRequest._.extend.performVDevCommandFunc (automation/ZAutomationAPIProvider.js:328:60)
    at ZAutomationAPIWebRequest.handlerFunc (automation/ZAutomationAPIProvider.js:2387:52)
    at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:258:41)
    at automation/WebserverRequestRouter.js:32:35
    at WebServer.document_root (automation/Webserver.js:29:11)
Additionally the Webcam module states: The URL provided is not a valid web address. But in fact it is and it is working also in the view: http://192.168.188.42/videostream.cgi?user=admin

Do you have any idea?
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: Webcam Camera PTZ control device not working

Post by PoltoS »

What Z-Way version are you using? OS?

Looks http module is not loaded in Z-Way....
Post Reply