Improve MQTT documentation, example config

Also print an error message when the configuration isn't present but the `mqtt` subcommand is used. Without this, the program just exits without any messsages.
This commit is contained in:
Kevin David authored and Andrew King committed 2022-12-11 13:07:23 +07:00
1 parent b80144492e
commit c19bba9235
4 files changed
+32 -6

No files matched your search

+4
View File
@@ -35,6 +35,10 @@ name = "driveway"
username = "admin"
password = "12345678"
address = "192.168.1.187:9000"
# mqtt.broker_addr = "192.168.1.122"
# mqtt.port = 1883
# mqtt.credentials = ["mqtt_user", "mqtt_password"]
# If you use a battery camera: **Instead** of an `address` supply the uid
# as follows
# uid = "ABCD01234567890EFG"