| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- # Configuration file for Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon
- # Source: https://github.com/ThomDietrich/miflora-mqtt-daemon
- #
- # Uncomment and adapt all settings as needed.
- [General]
- # The operation mode of the program. Determines wether retrieved sensor data is published via MQTT or stdout/file.
- # Currently supported:
- # mqtt-json - Publish to an mqtt broker, json encoded (Default)
- # mqtt-homie - Publish to an mqtt broker following the Homie MQTT convention (https://github.com/marvinroger/homie)
- # json - Print to stdout as json encoded string
- #reporting_method = mqtt-json
- [Daemon]
- # Enable or Disable an endless execution loop (Default: true)
- #enabled = true
- # The period between two measurements in seconds (Default: 300)
- #period = 300
- [MQTT]
- # The hostname or IP address of the MQTT broker to connect to (Default: localhost)
- #hostname = localhost
- # The TCP port the MQTT broker is listening on. SSL/TLS currently not implemented (Default: 1883)
- #port = 1883
- # Maximum period in seconds between ping messages to the broker. (Default: 60)
- #keepalive = 60
- # The MQTT base topic to publish all Mi Flora sensor data topics under.
- # Default depends on the configured reporting_mode (mqtt-json: miflora, mqtt-homie: homie)
- #base_topic = miflora
- #base_topic = homie
- # Homie specific: The device ID for this daemon instance (Default: miflora-mqtt-daemon)
- #homie_device_id = miflora-mqtt-daemon
- # The MQTT broker authentification credentials (Default: no authentication)
- #username = user
- #password = pwd123
- [Sensors]
- # Add your Mi Flora sensors here. Each sensor consists of a name and a Ethernet MAC address.
- # Additional location information can be added to the name, delimited by an '@'.
- # Scan for sensors from the command line with:
- # $ sudo hcitool lescan
- #
- # Examples:
- #
- #Schefflera@Living = C4:7C:8D:11:22:33
- #JapaneseBonsai = C4:7C:8D:44:55:66
- #Petunia@Balcony = C4:7C:8D:77:88:99
|