DennisOSRM / hms-mqtt-publisher

HMS-XXXXW-2T MQTT publisher and Home Assistant addon
BSD 2-Clause "Simplified" License
119 stars 16 forks source link

Support of multiple inverters #115

Open KFU141 opened 7 months ago

KFU141 commented 7 months ago

It would be great to have an option that the publisher can handle multiple inverters at the same time.

flohoff commented 5 months ago

Topic is not the only issue here - One of the real problems is the fixed client id when connecting the MQTT broker which causes the first instance of hms-mqtt-published to be disconnected.

And just suffixing the client id is also a problem as some brokers limit for client id uniqueness is 23 byte - when simply appending the process.id it will be outside of the 23 bytes with the current scheme.