Skip to content

Frequently Asked Questions

  • Does LEAF replace the devices software? LEAF does not replace the manufacturer supplied software of their equipment.
  • What version of Python do I need installed? Python 3.12, 3.13 or 3.14. The desktop app brings its own Python.
  • Why does my LEAF instance keep disconnecting from the MQTT broker? Most likely another client is connected with the same clientid, and the broker drops the older connection whenever a new one arrives. Give each LEAF instance its own clientid, or leave the key out. Don’t set it to None: YAML reads that as the string "None", so every instance configured that way shares the same id. See MQTT configuration.
  • What format does LEAF transmit data in? LEAF sends JSON messages. Each measurement has a measurement, tags, fields and a timestamp, following the InfluxDB data model, so it converts directly to Line Protocol. See Data.

  • How do I protect the web interface, or stop people installing adapters? Set LEAF_UI_PASSWORD for a login, and LEAF_DISABLE_ADAPTER_INSTALL=1 to turn off installing and uninstalling adapters. See Environment variables.