https://github.com/heilgar/pi-alarm-bundle
Simple air-alarm listener made on Raspberry PI
https://github.com/heilgar/pi-alarm-bundle
gpio python3 raspberry-pi
Last synced: about 2 months ago
JSON representation
Simple air-alarm listener made on Raspberry PI
- Host: GitHub
- URL: https://github.com/heilgar/pi-alarm-bundle
- Owner: heilgar
- Created: 2022-09-30T17:10:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-02T21:50:47.000Z (about 3 years ago)
- Last Synced: 2025-02-23T19:26:07.777Z (over 1 year ago)
- Topics: gpio, python3, raspberry-pi
- Language: Python
- Homepage: https://github.com/go4horizon/pi-alarm-bundle/
- Size: 9.07 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PI Alarm
Simple script for triggering sound when air alarm on Raspberry PI boards (mod 2,3,4).
Alarm triggered from: lan, and button.
Default Button PIN 13 or GPIO 27
Requirements:
- Python >=3.10.0
- Raspberry PI 2/3/4
Connection:
- `ssh pi@`
Note: Device should be in ssh allowance list to use without password
Installation:
- Clone and run `sudo ./setup.sh`
- Change env vars if not in default location `/root/bootstrap`
Get serial:
- run a command `sudo less /var/log/syslog | grep Serial`
- or run `python env.py`
Image:
- raspi-latest.img - 4GB microsd - ApplePiBacker for backup/restore