Raspberry Pi - Fun with a Webcam and a Weather API
Автор: TECH, CODE & COFFEE
Загружено: 2021-04-14
Просмотров: 1176
The in-depth version of this tutorial including copy & paste commands is also available on my website to my patrons: https://geek-and-gamer.com/2021/04/14...
Support me on Patreon: / geekandgamer
Follow me on Twitch: / geek_n_gamer
Fun with the Raspberry Pi, but you can follow this tutorial on any machine running Debian / Ubuntu or something similar. All you really need is the fswebcam package, python3 and lftp for your linux distribution.
Important Links:
Timezones for the python script: https://en.wikipedia.org/wiki/List_of...
Country codes for the python script: (scroll down for a huge table)
https://en.wikipedia.org/wiki/ISO_316...
Important additional information, please read:
1) of course you need to make the scripts executable! Make sure to run a chmod +x webcamftp.sh and chmod +x webcamweather.py before re-enabling the cronjob
2) If you do not have the "deja vu" font (cause you have a headless machine with no graphical interface) just run: sudo apt-get install ttf-dejavu
3) If your installation misses the lftp command just run: sudo apt install lftp
Ok, that's it! Feel free to leave feedback or ask questions, I will try to answer everything as fast as possible!
Alpha, over and out!
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: