Programmatically read data from your Solar Inverter (Voltronic, Axpert, Mppsolar PIP, Voltacon, Effekta etc) and interface with Home Assistant via MQTT - Works with RS232 & USB!

Thank you. Patched, and it is now working perfectly. Great work, thank you!

Thanks…I get helped to get the diff file.
Did you get the data from inverter every 38 second?
or you maneged to lover it?..i try to modify Inveter.conf ,but still
have data every 38 seconds…too much…
Any help?

Thanks

I just spent hours debugging why my mqtt failed for my inverter. Seems mosquitto auto updated to 6.0.1 and after the recent changes this doesnt work. Restored a backup from yestersay with mosquitto 5.1.1 and all is fine again. Anyone else experience similar issues. Logs show that the mqtt user connects but data is never published.

1 Like

yup it killed half my solpiplog the inverter modes working but the victron bmv stopped working so i reverted back to 5.1.1

avoid 6.0.1 its broken

Have you filed a bug?

Also me yesterday I had problem with Mqtt and inverter.
It happen after I update HA core to core-2021.5.5!
I dont know(not sure) if also Mosquitto was updated to 6.0.1.
I revert back using a snapshot and all is ok now.
From weeks I have This error about Mosquitto,but dont know what is:
21-05-20 04:35:12 WARNING (MainThread) [supervisor.addons.options] Option ‘password’ does not exist in the schema for Mosquitto broker (core_mosquitto)

Does this mean there is no communication with the inverter?
The config is set to connect via the serial port.
If you connect through a watchpower program, not a docker, then the data from the inverter comes to it.
MQTT work fine and connect to homeassistant.

Not yet, will do so

Yes, same issue for me. Logs show repeating connection then disconnection.

Hello, yes, I had same issue.
I just restored Mosquitto broker to V5.1 from backup and all is working again.

I have the same issues.

I see there is a bug for the same issue

From the paradox alarm integrations.
It seems its relates to “/” charachter in clientname

I reinstalled everything on raspberry, before that it was on the docker toolbox, on Windows 10.
And now it has started to work.
I picked up the values, there are no errors, it shows the current and voltage from the panels, but the power from them, no.

Any suggestions to make it work again with latest mosquito? Unfortunately I don’t have snapshot with version 5.1 🤦

…is normal no shows PV_in_watts,in watthour and scc voltage and redischarge voltage…
You need to patch to get PV_input_watt—…instaructions are some post above…

or you can calculate from Volt and Ampere…add this to your configuration.yaml file

sensor:

  • platform: template
    sensors:
    inverter_pvpower_watts:
    friendly_name: “InverterPV_in_Watts”
    unit_of_measurement: ‘W’
    value_template: “{{ (states(‘sensor.voltronic_pv_in_voltage’) | float | round(4) ) * (states(‘sensor.voltronic_pv_in_current’) | float | round(4) ) }}”

I think my QPIGS does not fit the read values, I have 21 of them, but in this version 17. scc_voltage is 0 for me and is reset to zero by the formula.
pv_input_watts = (scc_voltage * pv_input_current) * wattfactor;
Now I want to correct it a little.

You can try and play around QPIGS…
for what i know SCC voltage is not working…will be fixed.
If you want Pv_input_watt from inverter…(in your case is 488 w) the last therd value in your QPIGS,go here https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/40
You can dowload a patched file …

Thx
I slightly adjusted the scan to my values, but now I have to wait for the sun.
I would also improve the Battery_redischarge_voltage.

Ok…very good…if you can do it. :+1:
Please share your results.