Skip to content

qtoggle/qtoggleserver-pylontech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is an addon for qToggleServer.

It provides Pylontech batteries support for qToggleServer.

Install

Install using pip:

pip install qtoggleserver-pylontech

Usage

qtoggleserver.conf:
...
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
    }
    ...
]
...