I’ve got a problem pushing my ip camera snapshot to my mobile phone via pushbullet when the door bell ist pressed.
This is my rule:
if Türklingel Signal 1 is present
execute “wget http://username:password@ip/Streaming/channels/102/picture -O /home/pi/bild.jpg” and push title:“Türklingel” message:"/home/pi/bild.jpg" type:“file”
The execute command downloads a snapshot from one of my Hikvision camera and saves the snapshot in the pi’s directory as bild.jpg.
This jpg file is pushed to my mobile phone via pushbullet.
The crazy thing is, in most cases the rules works:
info [pimatic]: rule info-doorbell-pushover: ausführen “wget http://username:password@ip-address/Streaming/channels/102/picture -O /home/pi/bild.jpg”:
info [pimatic]: rule info-doorbell-pushover: pushbullet file sent successfully
But sometimes the rule does not work:
error [pimatic]: Error on evaluation of rule condition of rule info-doorbell-pushover: Bad Request
error [pimatic]: rule info-doorbell-pushover error executing an action: Bad Request