Samsung SNH-P6410BN

Moderator: leecollings

Post Reply
mcduarte2000
Posts: 24
Joined: Friday 17 July 2015 5:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Samsung SNH-P6410BN

Post by mcduarte2000 »

Hi,

I've a Samsung SNH-P6410BN. The jpg url is not documented but through google I could find the snapshot URL:

Code: Select all

http://192.168.1.xxx/cgi-bin/video.cgi?msubmenu=jpg&resolution=xx 
(resolution can be 1 to 10, I tried different values without success)

It works in the browser (requests user and password), and works in the preview/test of Domoticz (I can see it live in the test screen). But then, it doesn't work after the camera is added.

Any ideas? A possible bug in Domoticz (if it works in test I guess it should also work on the application)?

Thanks,

Miguel
Warlock00
Posts: 1
Joined: Monday 29 February 2016 13:04
Target OS: NAS (Synology & others)
Domoticz version: 2.4768
Contact:

Re: Samsung SNH-P6410BN

Post by Warlock00 »

Why no reply to this?

I have the same problem. Works in edit / test connection screen only.

Samsung snv-l6083r

http://192.168.3.122/cgi-bin/video.cgi?msubmenu=jpg
IP Address: 192.168.3.122
Port: 80
Image URL: /cgi-bin/video.cgi?msubmenu=jpg

Running Domoticz V2.4768 on Synology NAS
martk
Posts: 24
Joined: Monday 14 March 2016 13:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Samsung SNH-P6410BN

Post by martk »

I found out that the Samsung camera's do have an RTSP stream. You can use this stream to get a snapshot. I've got it working here on 2 camera's :))

You'll have to install ffmpeg, google how to install that on Jessie. After that you can use this bash script for instance to send a snapshot using a Telegram bot:

Code: Select all

#!/bin/sh
export DATETIME=`date +%Y%m%d%H%M%S`
ffmpeg -i rtsp://admin:[email protected]/profile5/media.smp -vframes 1 -r 1 /home/pi/domoticz/www/snapshots/cam1/$DATETIME.jpg
#Verstuur de foto met Telegram
curl -s -X POST "https://api.telegram.org/botblablacode/sendPhoto" -F chat_id=@CHATID -F photo="@/home/pi/domoticz/www/snapshots/cam1/$DATETIME.jpg"
#Verstuur bericht beweging gedetecteerd!
curl --data chat_id=@CHATID --data-urlencode "text=Beweging op buitencamera gedetecteerd!"  "https://api.telegram.org/bot200094474:AAHAEyCcGcfbnHOzP8nmxgsjF313CQ6jWac/sendMessage"
#Delete previous taken snapshots older than 7 days
find /home/pi/domoticz/www/snapshots/cam1/ -name '*.jpeg' -mtime +7 -delete
I'll run this bash script using a lua script :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest