Skip to content

Outdoor Smartcam SNH-E6440BN #3

@mrginogit

Description

@mrginogit

Hi,

Trying to use this device handler with my outdoor Smartcam SNH-E6440BN. I'm able to add the device and configure the IP/port, but see the following when I press "Done" to save the settings:

5:55:13 PM: debug parse() received message likely meant for other device handler (requestIds don't match): [index:15, mac:<<mac in hex>>, ip:<<local IP in hex>>, port:0050, requestId:a2fc0bfd-7507-4620-b0e7-687e4193c74a, callback:true, headers:[http/1.1 200 ok:null, x-powered-by:PHP/5.2.17, transfer-encoding:chunked, content-type:application/json, server:SmartCamWebService, date:Sat, 16 Dec 2017 01:55:12 GMT], body:{"Channel.0.DetectionType":"Off","Channel.0.DetectionResultOverlay":false,"Channel.0.Sensitivity":"VeryLow","Channel.0.MinimumObjectSize":"0,0","Channel.0.MaximumObjectSize":"0,0","Channel.0.ROIMode":"Outside","Channel.0.ROI.2.Coordinate=":"872415234,16777220,0,67108864","Channel.0.ROI.3.Coordinate=":"872415235,33554436,0,0"}, header:HTTP/1.1 200 OK 
X-Powered-By: PHP/5.2.17 
Content-type: application/json 
Transfer-Encoding: chunked 
Date: Sat, 16 Dec 2017 01:55:12 GMT 
Server: SmartCamWebService, status:200, data:[Channel.0.ROI.2.Coordinate=:872415234,16777220,0,67108864, Channel.0.DetectionResultOverlay:false, Channel.0.ROIMode:Outside, Channel.0.MinimumObjectSize:0,0, Channel.0.ROI.3.Coordinate=:872415235,33554436,0,0, Channel.0.DetectionType:Off, Channel.0.Sensitivity:VeryLow, Channel.0.MaximumObjectSize:0,0], json:[Channel.0.ROI.2.Coordinate=:872415234,16777220,0,67108864, Channel.0.DetectionResultOverlay:false, Channel.0.ROIMode:Outside, Channel.0.MinimumObjectSize:0,0, Channel.0.ROI.3.Coordinate=:872415235,33554436,0,0, Channel.0.DetectionType:Off, Channel.0.Sensitivity:VeryLow, Channel.0.MaximumObjectSize:0,0]]
  5:55:13 PM: debug parse()

These settings don't seem to match the current settings on the camera (i.e. detection is currently on not off).

Then, here's the error message when I try to turn motion on via the SmartThings device:

5:56:00 PM: debug parse() received failure message: [index:15, mac:<<mac in hex>, ip:<<local IP in hex>>, port:0050, requestId:34652b89-11cf-43ab-bc4e-429c15f32aaa, callback:true, headers:[content-length:0, http/1.1 500 internal server error:null, x-powered-by:PHP/5.2.17, content-type:text/html, server:SmartCamWebService, date:Sat, 16 Dec 2017 01:55:59 GMT], body:null, header:HTTP/1.1 500 Internal Server Error 
X-Powered-By: PHP/5.2.17 
Content-type: text/html 
Content-Length: 0 
Date: Sat, 16 Dec 2017 01:55:59 GMT 
Server: SmartCamWebService, status:500]
  5:56:00 PM: debug parse()
  5:56:00 PM: debug parseResponse()
  5:55:57 PM: debug Creating camera request with method: PUT, uri: /stw-cgi-rest/eventsources/videoanalysis, payload: [DetectionType:MotionDetection], isRetry: false
  5:55:57 PM: debug on()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions