doorcam script

All kinds of 'OS' scripts

Moderator: leecollings

Post Reply
User avatar
MaffeMuis
Posts: 17
Joined: Saturday 09 August 2014 20:57
Target OS: NAS (Synology & others)
Domoticz version: 3.9483
Location: Netherlands - Limburg - Echt
Contact:

doorcam script

Post by MaffeMuis »

Hi,

I use this script on my rasp. with a EScam qwl qd100
Because its only send out with rtsp en not with a JPEG url I need to use this to get an images if some-one calls on the door.
But the images are 9 of 10 with lines. like showed on the images below. Someone have an Ideas to fix this?

Code: Select all

#!/bin/sh
IP="192.168.178.30"

#Ping IP-address of camera to see if it's online, otherwise we don't have to grab a snapshot
if ping -c 1 $IP > /dev/null ; then

#Grab snapshot from RTSP-stream
/usr/bin/ffmpeg -rtsp_transport tcp -i 'rtsp://'$IP'/user=admin&password=&channel=1&stream=0.sdp' -f image2 -vframes 1 -pix_fmt yuvj420p /home/pi/domoticz/snapshot.jpeg
fi
Image
Ik ben en blijf een brabander!
|Node-Red|Mqtt|ESPboards|tasmota|NAS|
florabora
Posts: 7
Joined: Monday 11 May 2015 0:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: doorcam script

Post by florabora »

might have something to do with your camera. I have 2 ESCAM Snail QD500 cameras and 1 has the same issue as you describe whilst the other is working perfectly fine.
Btw maybe Robin Thicke based his song blurred lines on this camera? ;-)

Floris
owner1987
Posts: 6
Joined: Thursday 20 July 2017 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: doorcam script

Post by owner1987 »

I also have a ESCAM QD500 and depending on the firmware version you could try to capture the snapshot by accessing this undocumented url:

http://192.168.xx.xx/webcapture.jpg?com ... &channel=1

This will show the low res jpeg.

You can add this native in domoticz for snapshot o live feed.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest