-
Notifications
You must be signed in to change notification settings - Fork 6
1. Welcome to the PylonToMQTT wiki!
PylonToMQTT will read data from your Jakiper battery packs via the console port of the main pack and publishes this data to an MQTT broker. Other applications like HomeAssistant and Grafana can be configured to subscribe to the broker to get the data. The data can be recorded in InfluxDB to allow the creation of charts in Grafana.
PylonToMQTT is available for the Raspberry Pi and the ESP32.
NEW! PylonToMQTT now supports SOK batteries, use '--sok true' or set the SOK environment variable in DockerCompose.
The Raspberry Pi implementation of PylonToMQTT allows you to run all the required containers on the Pi including mosquitto, telegraf, InfluxDB and Grafana. The Raspberry Pi 4 is recommended.
You use the console to USB cable to connect the Pi to the battery's console port.
If you already have a Raspberry Pi running your HomeAssistant application that incorporates an MQTT broker and you want to include your battery's data in HomeAssistant, you can use the ESP32 implementation to publish your battery's data over wifi to your HomeAssistant MQTT broker.
Both implementation include HomeAssistant discovery to automatically add the devices and entities to HomeAssistant.
The ESP32 requires a RS232 adapter (DCE) to connect to the battery console port.
The easiest way to get started is to install the pre configured Raspberry Pi image which includes a sample Grafana dashboard that can be customized for you're battery configuration.