Now works in a service on boot.

This commit is contained in:
Ben Nicholson
2025-11-19 21:41:22 +11:00
parent 1d7e56f837
commit 9cbbfc12bc
4 changed files with 43 additions and 7 deletions

View File

@@ -7,4 +7,14 @@
- Raspian/Debian
- Python 3
- Python 3 Requets
- Python 3 RPi.GPIO
- Python 3 RPi.GPIO
## Install instructions
- Downloand script into /usr/local/bin/
- Download rrcs-trigger file and place into /usr/local/bin/
- Download rrcs-trigger.service and place it into /etc/systemd/system/
- Run the follwoing commands to enable the service on boot. ```sudo systemctl enable rrcs-trigger.service``` and ```sudo systemctl start rrcs-trigger.service```
- RUn the following command to see how its booting up. ```watch systemctl status rrcs-triggers.service```
- Modify the script to have your RRCS Server IP address and port.