This is an addon for qToggleServer.
It provides Pylontech batteries support for qToggleServer.
Install using pip:
pip install qtoggleserver-pylontech
...
peripherals = [
...
{
driver = "qtoggleserver.pylontech.Battery"
name = "mybattery" # an optional name of your choice
serial_port = "/dev/ttyUSB0" # this is the default
serial_baud = 115200 # this is the default
dev_ids = [2, 3] # list of battery ids installed
}
...
]
...