danielfett / bluebattery.py

6 stars 5 forks source link

Add username and password support for MQTT command #10

Closed JanBe closed 1 year ago

JanBe commented 2 years ago

Thank you for this awesome tool, it's one of the most important components of my smartcamper setup!

My MQTT server setup uses a username and password for authentication. This is supported by the Paho MQTT library, but the CLI MQTT command didn't allow passing through the corresponding arguments. This pull request changes that.

The code is tested in my BlueBattery and MQTT server setup.

danielfett commented 1 year ago

Thanks for your PR and sorry for not merging this earlier! I published a new version that happens to include username and password authentication.