martinville / solarsynkv2

Addon to integrate your Sunsynk account with home assistant.
MIT License
18 stars 10 forks source link

Inverter Data not showing correctly. #22

Closed GrayC88 closed 2 weeks ago

GrayC88 commented 2 weeks ago

Good day,

I have notice that the Inverter Power, Inverter Current and Inverter Voltage are not showing the correct data.

image image image

martinville commented 2 weeks ago

Hi Please check the SolarsynkV2 log. In my case there was an API error caused due to an HA Core update. After updating to the latest update a few seconds ago it started to work again.

Perhaps your values are not updating due to the initial update which broke some addons.?

GrayC88 commented 2 weeks ago

Hi,

I have looked at the logs and I don't see any errors. I did notice that I have the following in the logs:

inverter_frequency 50.2 inverter_power 1371 inverter_current 5.9 inverter_voltage 238.9 inverter_power1 0 inverter_voltage1 0 inverter_current1 0 inverter_power2 0 inverter_voltage2 0 inverter_current2 0

But if I look in the entities I only have Inverter Power2

It looks like they are all coming through with the same entity ID

sensor.solarsynk_X_inverter_current 3.5 sensor.solarsynk_X_inverter_power 808 sensor.solarsynk_X_inverter_voltage 239.1 sensor.solarsynk_X_inverter_current 0 sensor.solarsynk_X_inverter_power 0 sensor.solarsynk_X_inverter_voltage 0 sensor.solarsynk_X_inverter_current 0 sensor.solarsynk_X_inverter_power 0 sensor.solarsynk_X_inverter_voltage 0

Im on HA Core 2024.11.1, Supervisor 2024.11.2, OS 13.2 and Frontend 20241106.2

martinville commented 2 weeks ago

Hi Graham,

Yes you are quite right. There is indeed a mistake in the script it sends all of them to the same entity ending with power voltage and current 2 which explains why you see the 3rd phase only.

Its an easy fix, will correct ot tomprrow afternoon. Will let you know when its done.

On Mon, Nov 11, 2024, 20:05 Graham @.***> wrote:

Hi,

I have looked at the logs and I don't see any errors. I did notice that I have the following in the logs:

inverter_frequency 50.2 inverter_power 1371 inverter_current 5.9 inverter_voltage 238.9 inverter_power1 0 inverter_voltage1 0 inverter_current1 0 inverter_power2 0 inverter_voltage2 0 inverter_current2 0

But if I look in the entities I only have Inverter Power2

It looks like they are all coming through with the same entity ID

sensor.solarsynk_X_inverter_current 3.5 sensor.solarsynk_X_inverter_power 808 sensor.solarsynk_X_inverter_voltage 239.1 sensor.solarsynk_X_inverter_current 0 sensor.solarsynk_X_inverter_power 0 sensor.solarsynk_X_inverter_voltage 0 sensor.solarsynk_X_inverter_current 0 sensor.solarsynk_X_inverter_power 0 sensor.solarsynk_X_inverter_voltage 0

Im on HA Core 2024.11.1, Supervisor 2024.11.2, OS 13.2 and Frontend 20241106.2

— Reply to this email directly, view it on GitHub https://github.com/martinville/solarsynkv2/issues/22#issuecomment-2468753941, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWXORPGH7AAXMRJ4XZEY7L2ADWWNAVCNFSM6AAAAABRRETRUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRYG42TGOJUGE . You are receiving this because you commented.Message ID: @.***>

martinville commented 2 weeks ago

The issue should now be corrected. thanks for letting me know about the issue.

GrayC88 commented 2 weeks ago

It is indeed corrected, I'm glad it was a quick fix..