Ive been trying to get HA or python to send photo’s to my phone via pushbullet.
I can do it on my HA pi (Raspberry Pi 3) through a python script, but cant shell_command the script from HA.
I cant seem to install the pushbullet.py module on the zero w .Ikeep getting-
ImportError: cannot import name IncompleteRead
When I run sudo pip install pushbullet.py
sudo pip3 install pushbullet.py
works fine
But the programme I have is for python2 so will be looking into converting my code to python 3
The point is though why did it work on my pi3 and not the zero W?
When bot is setup you will get a token.
You will also need user ID Type the following into your browser , replacing TOKEN with the token you were just given.
It works with a still image.
I save the image to /var/www/html/camera/recent.jpg
then retrieve remotely with http://1.2.3.4/camera/recent.jpg
insert the ip of the pi storing the data.
You might need to install apache if it isnt already.
I’ve had a couple of situations when packages just wouldn’t install on a pi. Best bet is to download the latest firmware for the pi and have another go
This is essentially what I do at the moment with my hikvisions, when motion is detected and Im not at home or its late at night, I setup an automation calling a script that will take 3 images from my hikvision cameras (with 1 second in between each image) and sent to me via telegram. I do this for security - if someone is breaking into my home, they can take all my HA equipment and security equipment and then i have no reference.
Does the Pi Zero W have a way to interface a button and use MQTT to send to HA? Is this how it is done now?
Ideally it would be best to interface to as little components as possible.
As an alternate, I have seen some people use a fibaro sensor and turn that into a doorbell alert to interface to their HA system, but this was without a Pi for camera functions. This assumes having a zwave controller. Other options is to use a 8266 with something like espeasy to interface a doorbell switch. This is very easy to setup, but it introduces another components and ideally I would like to have the pi zero control this function.
In in Australia and no local distributors that stock the pi zero w as yet… looks like i might be waiting for a little while.
Was just watching this YT video on openCV and he makes a IMG download of opencv ready to go for a PI.
Not having a zero w, I cant test it but might be worth having a look for testing…
I thought about sending images to cloud storage as well so if the camera or pi at the door is damaged for whatever reason, you still have the images stored remotley. thats a little way off for now , I want to start on the face detection /recognition, or communication side of things now. these are the steepest hurdles and I would like to get through them , any advice help or suggestions will be welcome, as said before raspberry pi and pyrhon is a new world to me so my learning curve will be slow.