gadget78 / inverter-homeassistant

Programmatically read data from your Voltronic, Axpert, Mppsolar PIP, Voltacon, Effekta etc Inverter and send it to Home Assistant via MQTT - Works with RS232 & USB!
GNU General Public License v3.0
15 stars 4 forks source link

Two mqtt topics published - why? #11

Open babajun12 opened 2 years ago

babajun12 commented 2 years ago

Hi,

not sure what I am doing wrong, but HA subscribed to a topic like

homeassistant/sensor/Inverter_33A856E1/AC_grid_voltage but values are sent and updated to - SN is missing. homeassistant/sensor/Inverter_/AC_grid_voltage

grafik

How to correct this? My mytt.yaml looks like:

{ "server": "192.168.1.30", "port": "1883", "topic": "homeassistant", "devicename": "Inverter", "manufacturer": "MPPSolar", "model": "PIP2424MSE", "serial": "33A856E1", "ver": "6.23_1.09", "username": "user", "password": "xxxxx" }

AndyRap commented 2 years ago

Hi,

Had the same problem when setting up. My workaround was to remove the serial number and change the devicename, I chose iconica. Your config would then look like:

{ "server": "192.168.1.30", "port": "1883", "topic": "homeassistant", "devicename": "iconica", "manufacturer": "MPPSolar", "model": "PIP2424MSE", "serial": "", "ver": "6.23_1.09", "username": "user", "password": "xxxxx" }

Now getting data into HA, but will probably only work for a single inverter setup.

Hope this helped!

babajun12 commented 2 years ago

Thanks for your hint - looks fine now:

grafik