gluap / pyess

Python library for communication with LG ESS power converters
MIT License
31 stars 10 forks source link

Two MQTT servers #20

Closed pguich closed 1 year ago

pguich commented 1 year ago

Is it possible to publish the ess results to two MQTT servers?

I’m migrating my home assistant to another Raspberry, but I want to run both in parallel for a few hours to see if everything works before I turn off the old one. Pyess is running on an entirely different Raspberry.

btw, I’m extremely happy with pyess. Now if only the Wi-Fi connection on the ESS weren’t so unstable :(

gluap commented 1 year ago

The easiest way is to run essmqtt twice, each targeting a different mqtt server. To do so the mqtt server has to be specified via command line. For the ess two clients are no problem.

pguich commented 1 year ago

thanks a lot, I'll try that. I have another issue, I'll open one right now.