I have a pi zero with a 1.3 camera connected on it. I’ve installed Motion. In pimatic i’ve add a iframe with the livestream of the camera. It works fine. Now i want a snapshot when someone press the doorbell. I only don’t know how. Does anybody have experience with this like the url for a snapshot for example or motion.
-
pi zero 1.3 camera
-
@dennisvanderwolf
"You can also access Motion’s HTML control panel by changing the port to that specified by the webcontrol_port as specified in the Motion config file. Here you can change configuration options on the fly, stop and start Motion and even take snapshots."Thats taken from the documentation so you just need to figure out the url to take the snapshot and you can setup a rule so you can “click” the button with a curl command.
-
@Gleno0h ,
Thanks for the info. I create a Shellbutton with a script
"sudo curl -s http://192.168.0.200:8080/0/action/snapshot"Now motion takes a snapshot.
Now i’ve to figure out how to copy the snapshot from the local Pi and push it to my phone with pushover, pushbullet or anything else. -
@dennisvanderwolf nice, well done.