config.ini 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Configuration file for Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon
  2. # Source: https://github.com/janwh/miflora-mqtt-daemon
  3. #
  4. # Uncomment and adapt all settings as needed.
  5. [Daemon]
  6. # Enable or Disable an endless execution loop (Default: true)
  7. #enabled = false
  8. # The period between two measurements in seconds (Default: 300)
  9. #period = 300
  10. [MQTT]
  11. # The hostname or IP address of the MQTT broker to connect to (Default: localhost)
  12. #hostname = localhost
  13. # The TCP port the MQTT broker is listening on. SSL/TLS currently not implemented (Default: 1883)
  14. #port = 1883
  15. # Maximum period in seconds between ping messages to the broker. (Default: 60)
  16. #keepalive = 60
  17. # The MQTT base topic to publish all Mi Flora sensor data topics under (Default: miflora)
  18. #topic_prefix = miflora
  19. # The MQTT broker authentification credentials (Default: no authentication)
  20. #username = user
  21. #password = pwd123
  22. [MiFlora]
  23. # DEPRECATED
  24. #cache_timeout = 600
  25. [Sensors]
  26. # Add your Mi Flora sensors here. Each sensor consists of a name and a Ethernet MAC address.
  27. # One sensor per line. Scan for sensors from the command line with:
  28. # $ sudo hcitool lescan
  29. #
  30. # Examples:
  31. #
  32. #Schefflera = C4:7C:8D:11:22:33
  33. #JapaneseBonsai = C4:7C:8D:44:55:66