Frequently Asked Questions
- Does LEAF replace the devices software? LEAF does not replace the manufacturer supplied software of their equipment.
Installing
Section titled “Installing”- What version of Python do I need installed? Python 3.12, 3.13 or 3.14. The desktop app brings its own Python.
Configuration
Section titled “Configuration”- 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 ownclientid, or leave the key out. Don’t set it toNone: 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,fieldsand atimestamp, 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_PASSWORDfor a login, andLEAF_DISABLE_ADAPTER_INSTALL=1to turn off installing and uninstalling adapters. See Environment variables.