This device shows the current status of air raid sirens in Ukraine. The data is pulled every 10 seconds from https://sirens.in.ua/
- Raspberry Pi Zero W
- Waveshare eInk 2.13
- microSD
- micro-usb cable for power
- Turn on SPI via
sudo raspi-config
Interfacing Options -> SPI
- Install dependencies
sudo apt update sudo apt-get install python3-pip python3-pil python3-numpy python3-lxml git pip3 install RPi.GPIO spidev svglib git clone https://github.com/waveshare/e-Paper.git ~/e-Paper pip3 install ~/e-Paper/RaspberryPi_JetsonNano/python/
- Clone Air-raid Monitor
git clone https://github.com/dr-mod/air-raid-monitor.git ~/air-raid-monitor
- Run the application
python3 ~/air-raid-monitor/main.py
sudo apt-get install screen
sudo nano /etc/rc.local
- Add the line number 4 before
exit 0
su - pi -c "/usr/bin/screen -dm sh -c '/usr/bin/python3 /home/pi/air-raid-monitor/main.py'"