This device shows the current status of air raid sirens in Ukraine.
Modified version that pulls data using alerts.in.ua API.
- Raspberry Pi Zero W
- Waveshare eInk 2.13 v3
- 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/alerts-ua/air-raid-monitor.git ~/air-raid-monitor
- Run the application
python3 ~/air-raid-monitor/main.py
Run the following command to install the service:
sudo ./install.sh
To start/restart/stop the service:
sudo systemctl start air-raid-monitor
sudo systemctl restart air-raid-monitor
sudo systemctl stop air-raid-monitor