dreadnought / python-daly-bms

Python module for Daly BMS devices
MIT License
82 stars 37 forks source link

Mqtt support #8

Closed brendanjerwin closed 2 years ago

brendanjerwin commented 2 years ago

I'm no python dev but this is working for me.

birdie1 commented 2 years ago

Looking forward to use mqtt for integration for my homeassistant.

Tested this and found a little bug: --all does not work together with --mqtt. If mqtt is active, it will iterate only over the first depth of dict and tries to send a dict via mqtt which ends as error. It either must iterate the second depth as well or do a json.dumps()

dreadnought commented 2 years ago

The development continues in #13.