Windows Use: Snapshot is previous snapshot rather than current

Moderator: leecollings

Post Reply
thugmasta
Posts: 4
Joined: Monday 03 April 2017 21:39
Target OS: Windows
Domoticz version:
Contact:

Windows Use: Snapshot is previous snapshot rather than current

Post by thugmasta »

Would appreciate help with this.

I have 2 cameras set up in domoticz.
When I view the live stream, they both work and show current streams.

I have a script set up to grab a screenshot of both cameras when the doorbell is pushed.

I grab the snapshots using the following commands:

wget -O $SnapFile1 "xxx.xxx.xxx.xxx:xxxx/camsnapshot.jpg?idx=1"
wget -O $SnapFile2 "xxx.xxx.xxx.xxx:xxxx/camsnapshot.jpg?idx=2"

when I check the files generated, they both show the same time of creation.

when I check the image files, Snapshot1 is indeed the current snapshot with the current time timestamped from my DVR on it.

Snapshot2, however is not the current snapshot, but it is the snapshot previously taken - with the timestamp of whenever the previous event took place.

It seems that the camsnapshot for one of my cameras is always 1 behind.
Even if I run the wget command twice for the camera that is running behind, I still get the old picture.

Any ideas?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest