DennisOSRM / hms-mqtt-publisher

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

naming for multiple inverter #111

Open Hobo2k opened 5 months ago

Hobo2k commented 5 months ago

Hi,

I have two of the HMS-800W-2T and want's to request both inverters. I tried it with configuring the normal and the nightly version. Is there another possibility?

The other thing is, it overwrites the other in HA, because of the serial is not complete in the naming: image

Where I can edit it, that I have only the last 6 for example of the serial?

Thanks

KFU141 commented 5 months ago

Hi @Hobo2k,

I found a way doing that. You have to build docker image or simple run the publisher with rust after you adjusted the hard coded MQTT topics in the simple_mqtt.rs.

On my end I now have two docker containers running with different MQTT topics which do not overwrite each other anymore.

I would also appreciate a build in solution which can handle multiple inverters in parallel.

Cheers

mpxxl commented 5 months ago

I also have two docker and mqtt instances with different ports running.

dc7kr commented 5 months ago

you can use my PR for that - I had the same issue and fixed the naming by using suffixes. Unfortunately still not merged due to concerns regarding breaking changes....

[https://github.com/DennisOSRM/hms-mqtt-publisher/pull/94]