I have two SNH-E6440BN. Is there a specific DTH needed to get them working?
anybody can help to make local control for SNH-V6414BN
I want get recorded files from SDCard
Thankx
I have a Samsung Smart cam, SNH-P6410BN, with version 1.08_160629 firmware.
I could not get this camera to work using IP Cam Viewer for Android by selecting the Smartcam model, as one might. Rather, I was able to steam directly from this camera to this app by using HTTP and by selecting the Samsung SNH-E6440BN camera from the Samsung list of models and by entering âadminâ and the password I gave the camera during setup using the Samsung app. Thus, I can still use that single Android app to view all my different make/model of new and old cameras.
This might provide some insight for those looking for a way to avoid using the Samsung relay servers and apps?
Mike E.
Here, I dug a little more and found this worked for me too (for direct rtsp stream from my SNH-P6410BN to VLC for Android on my phone):
rtsp://your-cam-id:your-cam-pw@your-cam-IP/onvif/profile5/media.smp
I particularly enjoy this REST command:
http://CAMERA_IP/stw-cgi-rest/transfer/smtp
{âSenderâ:âMyEmailHere@gmail.comâ,âRecipientâ:âMyEmail Here@gmail.com",âServerâ:âsmtp.gmail.comâ,âPortâ:465,âAuthNeededâ:true,âUsernameâ:"MyEmailHere@gmail.comâ,âPasswordâ:âTHE_REAL_EMAIL_PASSWORD_HERE_IN_PLAIN_TEXTâ,âSubjectâ:âSNH-P6410BN Event Alarmâ,âBodyâ:âSNH-P6410BN Event Alarm Detectionâ,âSSLEnabledâ:true,âSSLPortâ:465}
I have two Samsung Smartcam HD Pro cameras. Both model SNH-P6410BN at firmware v1.08. Using the above with Motion Detection enabled via TechWin app, I get this:
{"Channel.0.DetectionType":"MotionDetection","Channel.0.DetectionResultOverlay":false,"Channel.0.Sensitivity":"Low","Channel.0.MinimumObjectSize":"4,4","Channel.0.MaximumObjectSize":"90,90","Channel.0.ROIMode":"Outside"}
With Motion Detection disabled via TechWin app, I get this:
{"Channel.0.DetectionType":"Off","Channel.0.DetectionResultOverlay":false,"Channel.0.Sensitivity":"Low","Channel.0.MinimumObjectSize":"4,4","Channel.0.MaximumObjectSize":"90,90","Channel.0.ROIMode":"Outside"}
Is there anyway to change the âChannel.0.DetectionTypeâ from âMotionDetectionâ to âOffâ using REST API? Trying to figure out how to enable/disable Motion Detection based on Routine/Mode.
Thanks,
Justin
Hi,
I just start programming smartapps, im looking to integrate camera functions, like image capture, record, etc. Right now i was using the default device handler for my Samsung SmartCam SNH-P6410BN, but is very limited, i tried to create a smartapp using the âvideoCaptureâ capability, and use the comands start(), stop() and capture(), the first ones seems to be work, but i dont know where the video is store or how to display it, is there a way to display this in the main dashboard, similar like the SHM does it?, When i use capture seems like im missing params, and im getting an error.
i try to use your device handler, but no seems to work for me, i got an blank screen on the main page for the camera, it never seems to connect, it has the firmware v1.08 i understood that one isnt currently supported.
Is there a simple way to implement this? Thanks in advance for the help
Hi All,
Since after I post my success on SNH-V6414BN, I failed into trap of upgraded the firmware, now to 1.13, and I lost all of the ability to be able to capture the jpg and uploaded to S3 as I mentioned a while back. Itâs also sad that I heard that some of you were not able to hook SNH-V6414BN with smartthing V2, let all continue to see if there are a way to change the firmware.
I managed to use this with the ffmpeg component in home assistant.
anything for local access?
SNH-V6414BN
whatâs the firmware version for SNH-V6414BN that you have?
Does anyone have SNH-V6414BN work on samsung smart things v2 hub?
I have two. You have to set it up first with the separate SmartCam+ app. Then in SmartThings you use the option of âConnect to an existing Cameraâ.
In the SmartThings app you only get audio/video. You really canât do anything else. It is not a replacement for the SmartCam+ app where you can set up motion triggers, listen/talk to people, make siren/dog noises, ect.
Works both local and remote.
Have you tryied doing a POST call with the payload:
{âChannel.0.DetectionTypeâ:âOffâ }
to http://{put_your_camera_IP_here}/stw-cgi-rest/eventsources/videoanalysis
Being playing with the REST API:
This works from PowerShell:
$c = Get-Credential admin
$d = â{
"Subject
â : "Living Event Alarm
"
}"
Invoke-RestMethod -Method Put -Uri http://{CamIP}/stw-cgi-rest/transfer/smtp -Credential $c -Verbose -Body $d
It is also possible to add a subscription to the camera:
$d = â{
"NotificationURL
â : "http://{hubip}
â,
"EventType
â : "All
â,
"SubscriptionID
â : "1
"
}"
Invoke-RestMethod -Method Post -Uri http://{camip}/stw-cgi-rest/transfer/subscription -Credential $c -Verbose -Body $d
And remove it:
$d = â{
"SubscriptionID
â : "1
"
}"
Invoke-RestMethod -Method Delete -Uri http://{camip}/stw-cgi-rest/transfer/subscription -Credential $c -Verbose -Body $d
Iâm not exactly sure how to do the Post call⊠Iâve been playing around with Advanced Rest Client Chrome Extension and PowerShellâs Invoke-RestMethod cmdlet, but not understanding Rest API calls enough to know what Iâm doing in either caseâŠ
Eventually, once I figure out the correct Rest API calls, Iâd like to setup CoRE to kick off these calls based on Routine/Mode.
Any suggestions for a Rest API beginner?
Thanks,
Justin
Iâm working on this as well. Iâm using HTTPie to send my requests.
Hereâs a simple GET to the videoanalysis
endpoint:
$ http --auth-type digest --auth admin:pass GET [camera IP]/stw-cgi-rest/eventsources/videoanalysis
HTTP/1.1 200 OK
Content-type: application/json
Date: Sat, 15 Jul 2017 19:32:26 GMT
Server: SmartCamWebService
Transfer-Encoding: chunked
X-Powered-By: PHP/5.2.17
{
"Channel.0.DetectionResultOverlay": false,
"Channel.0.DetectionType": "Off",
"Channel.0.MaximumObjectSize": "90,90",
"Channel.0.MinimumObjectSize": "4,4",
"Channel.0.ROIMode": "Outside",
"Channel.0.Sensitivity": "Medium"
}
If you send a POST
, the camera returns 405 Method Not Allowed
.
But if you send a PUT
, the response changes to 400 Bad Request
. After a bit of trial and error, I was able to figure out how to enable and disable motion detection!
$ http --auth-type digest --auth admin:pass PUT [camera IP]/stw-cgi-rest/eventsources/videoanalysis "DetectionType"="MotionDetection"
HTTP/1.1 200 OK
Content-Length: 0
Content-type: text/html
Date: Sat, 15 Jul 2017 19:44:45 GMT
Server: SmartCamWebService
X-Powered-By: PHP/5.2.17
$ http --auth-type digest --auth admin:pass PUT [camera IP]/stw-cgi-rest/eventsources/videoanalysis "DetectionType"="Off"
HTTP/1.1 200 OK
Content-Length: 0
Content-type: text/html
Date: Sat, 15 Jul 2017 19:49:47 GMT
Server: SmartCamWebService
X-Powered-By: PHP/5.2.17
For reference, here is my camera info:
- Model:
SNH-P6410BN
- Firmware Version:
1.08_160629
hopefully more to come!
This is awesome. With this it should be possible to build an SmartApp to turn the camera motion detection on and off based on its state with SmartThings.
This is awesome.
Agreed! So awesome. I feel like weâre so close to getting this working the way Samsung should have made it from the start! lol
Iâve been playing around with CoREâs âMake a web requestâ action, using the PUT info @airdrummingfool provided, but canât seem to get it to work. I canât seem to get this to work using Advanced Rest Client Chrome extension either⊠It appears my problem is passing the credentials correctly.
hopefully more to come!
I look forward to it!
Thanks,
Justin
This is awesome. With this it should be possible to build an SmartApp to turn the camera motion detection on and off based on its state with SmartThings.
Definitely. To get myself acquainted with Digest auth and the cameraâs API, Iâm building a Device Handler - it seems like a logical first step, and exposing the motion detection toggle as a âVirtual Switchâ that other devices can interact with may allow for more varied use than tying all of the logic up in a Smart App. There are certainly pros and cons of doing it this way; I may end up building a Smart App also (or someone else might beat me to it!).
Iâve been playing around with CoREâs âMake a web requestâ action, using the PUT info @airdrummingfool provided, but canât seem to get it to work. I canât seem to get this to work using Advanced Rest Client Chrome extension either⊠It appears my problem is passing the credentials correctly.
Unfortunately, the SmartCam expects the request to use Digest authentication, which requires a bit of back-and-forth with the server (at least initially); this may be why your requests are failing. My implementation of Digest auth is not quite ready, though @greko6 has it built into his device handler linked the beginning of this thread.