Open SamuelsonLB opened 3 years ago
One of the biggest feature of this software is alerting you via Telegram in case one of the cameras goes offline so, you cannot run it directly on a camera because if someone unplugs it you will receive nothing.
You could run it on a Raspberry Pi Zero or any Single board computer because it requires very little resources. I would strongly advise you to put the Raspberry Pi and the modem/router under an UPS so in case the electric breaker gets pulled off the cameras offline alert still gets sent.
I don't know how to make it work. Do you mind doing a little tutorial with the necessary steps? Because I clone the directory, I do the configuration in config.py but it doesn't work.
Have you hacked the Yi Camera firmware? Depending on the model of the Yi Cam you need to use a different hack and links are in the readme.
After that you need to install ffmpeg (for example in case of Ubuntu/Debian with apt-get
), python-telegram-bot, urllib, ftplib and requests (these with pip3
).
Then you need to assign the cameras a static IP and that's done through the router's DHCP server config page. (It's always recommended to set the static IP through the DHCP server and not directly on the devices because setting it directly on the device you risk to make a mistake and create 2 or more devices with the same IP and that's hard to troubleshoot afterwards)
After you complete these steps you can configure config.py
by filling the needed parameters. (Remember to set the chatid or the bot won't respond for security reasons)
Optional: Put the devices on a separate VLAN and using your firewall block them from accessing the internet.
Thank you very much for your effort but I can't install it, I'm a newbie to raspberry.
Hello,
I am a newbie at this and I am not sure if I can run it directly on the camera and in the case of being able, I do not know how I would have to do it either. Can you explain it in more detail?
Thank you!