Skip to content

alerts-ua/air-raid-monitor

 
 

Repository files navigation

Air Raid Monitor for Raspberry Pi

This device shows the current status of air raid sirens in Ukraine.

Modified version that pulls data using alerts.in.ua API.

display

Bill of materials

  • Raspberry Pi Zero W
  • Waveshare eInk 2.13 v3
  • microSD
  • micro-usb cable for power

Installation

  1. Turn on SPI via sudo raspi-config
    Interfacing Options -> SPI
    
  2. 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/
    
  3. Clone Air-raid Monitor
    git clone https://github.com/alerts-ua/air-raid-monitor.git ~/air-raid-monitor
    
  4. Run the application
    python3 ~/air-raid-monitor/main.py
    

Install as a service

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

About

Air-raid sirens in Ukraine monitor device

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.4%
  • Shell 4.6%