Update frigate_counter to GPIO

This commit is contained in:
dsutanto committed 2026-04-07 16:08:03 +07:00
1 parent 0339f178cd
commit c52d608d58
11 files changed
+1194 -41

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=Frigate MQTT Counter Service
After=network.target
[Service]
Type=simple
User=frigate
Group=frigate
WorkingDirectory=/etc/frigate-counter/karung-masuk
ExecStart=/usr/bin/python3 /etc/frigate-counter/karung-masuk/frigate_counter.py
Restart=always
RestartSec=10
# Environment variables for MQTT configuration
#Environment=FRIGATE_MQTT_HOST=localhost
#Environment=FRIGATE_MQTT_PORT=1883
#Environment=REPORT_MQTT_HOST=localhost
#Environment=REPORT_MQTT_PORT=1883
#Environment=TOPIC=frigate
#Environment=SITE_NAME=default
[Install]
WantedBy=multi-user.target