24 lines
577 B
Bash
Executable File
24 lines
577 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Example usage script for Frigate MQTT Counter Service
|
|
|
|
echo "Example usage of Frigate MQTT Counter Service"
|
|
|
|
echo ""
|
|
echo "To run with custom MQTT settings:"
|
|
echo "FRIGATE_MQTT_HOST=192.168.1.100"
|
|
echo "FRIGATE_MQTT_PORT=1883"
|
|
echo "REPORT_MQTT_HOST=192.168.1.101"
|
|
echo "REPORT_MQTT_PORT=1883"
|
|
echo "TOPIC=frigate/events"
|
|
echo "SITE_NAME=warehouse-1"
|
|
echo "python frigate_counter.py"
|
|
|
|
echo ""
|
|
echo "To run with default settings:"
|
|
echo "python frigate_counter.py"
|
|
|
|
echo ""
|
|
echo "To test the installation:"
|
|
echo "./install.sh"
|
|
echo "python test_frigate_counter.py" |