Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After latest update Inverter Grid sensor always On #353

Open
iwannatalk opened this issue Dec 30, 2024 · 13 comments
Open

After latest update Inverter Grid sensor always On #353

iwannatalk opened this issue Dec 30, 2024 · 13 comments

Comments

@iwannatalk
Copy link

iwannatalk commented Dec 30, 2024

Description

After latest update Inverter Grid sensor always On.
It was working before update for sure as i have HA automation based on this sensor.

Screenshot_20241230_070307_Home Assistant

Reproduction Steps

Turn off grid.
Check Inverter Grid sensor.

Log

error_log-2.txt

Version

24.12.22

Home Assistant Core Version

2024.12.5

Home Assistant Operating System Version

14.1

@iwannatalk iwannatalk added the bug Something isn't working label Dec 30, 2024
@iwannatalk iwannatalk changed the title After latest update Inverter Grid sendor always On After latest update Inverter Grid sensor always On Dec 30, 2024
@davidrapan
Copy link
Owner

What was the state of the relay?

@iwannatalk
Copy link
Author

What was the state of the relay?

At the moment there is an outage at all.
Screenshot_20241230_100600_Deye Cloud

Other sensors shows correctly, but Grid is on.
It also is reproducible when some phase is absent. It also shows on hut before update it was showing Off.
Screenshot_20241230_100702_Home Assistant

@davidrapan
Copy link
Owner

davidrapan commented Dec 30, 2024

Show me the Relay state in HA (w/ attributes in sensor detail).

@iwannatalk
Copy link
Author

Show me the Relay state in HA (w/ attributes in sensor detail).

Do you mean this one?
Screenshot_20241230_102555_Home Assistant

@davidrapan
Copy link
Owner

davidrapan commented Dec 30, 2024

Yes that's the one, it's used for Grid sensor. The relay has bit for Grid set... there is not much I can really do...

Can you show history of this Relay sensor? What value was there previously for example with grid off?

@iwannatalk
Copy link
Author

Yes that's the one, it's used for Grid sensor. The relay has bit for Grid set... there is not much I can really do...

Can you show history of this Relay sensor? What value was there previously for example with grid off?

Seems its not related to relay status.
Here is an example, there was no voltage at grid L2, the rest of phases were ok. So there was same power supply but with grid off:
Screenshot_20241230_211720_Home Assistant
Screenshot_20241230_211803_Home Assistant
Screenshot_20241230_211956_Home Assistant

@davidrapan
Copy link
Owner

davidrapan commented Dec 30, 2024

Mhmm, "Power Suppy" is a placeholder value for everything except known combination so the real value could be different.

But it's hard to read history of attributes so I won't bother you w/ that.

My suspicion is that your inverter simply does not show correct state of the Relay and thus also shows incorrect state of the Grid sensor.

Did you tried to restart it or smthing?

@iwannatalk
Copy link
Author

Mhmm, "Power Suppy" is a placeholder value for everything except known combination so the real value could be different.

But it's hard to read history of attributes so I won't bother you w/ that.

My suspicion is that your inverter simply does not show correct state of the Relay and thus also shows incorrect state of the Grid sensor.

Did you tried to restart it or smthing?

I have restarted it couple of times after update to latest version of this hacs. Solarman and deyecloud alway show grid off status properly.

This issue started to reproduce right after update so something definatelly changed in the hacs code.

@davidrapan
Copy link
Owner

davidrapan commented Dec 30, 2024

I was talking about restarting your inverter and stick logger cause they are giving out incorrect value.

This issue started to reproduce right after update so something definatelly changed in the hacs code.

It didn't, sorry,

I mean you can try to revert back to version you think works and we will see. 😉

@davidrapan davidrapan removed the bug Something isn't working label Dec 30, 2024
@iwannatalk
Copy link
Author

I was talking about restarting your inverter and stick logger cause they are giving out incorrect value.

This issue started to reproduce right after update so something definatelly changed in the hacs code.

It didn't, sorry,

I mean you can try to revert back to version you think works and we will see. 😉

Ye, i understood that you are taking about restarting of inverter. It was restarted couple of times.
Also deye support has updated logger and inverter with latest sf version so it was updated today and after that there was couple of outages :)

Ok, i will play with reverting to previous version to see whether the issue is fixed. But not sure when :)

@davidrapan
Copy link
Owner

davidrapan commented Dec 30, 2024

Also deye support has updated logger and inverter with latest sf version so it was updated today and after that there was couple of outages :)

You should have start w/ this! So proly they fuck*d it up. So what version you have now? Show me attributes of Device sensor.

Don't forget to hide serial number.

@iwannatalk
Copy link
Author

Also deye support has updated logger and inverter with latest sf version so it was updated today and after that there was couple of outages :)

You should have start w/ this! So proly they fuck*d it up. So what version you have now? Show me attributes of Device sensor.

Don't forget to hide serial number.

Issue started at 23rd of Dec, when i have updated the hacs, not today, so this is not related to inverter sw update (performed today).

@davidrapan
Copy link
Owner

And I'm telling you that nothing about this changed and sensor shows correct value according what ac relay register number 552 says.

Value: 7 which is 111 in binary, bit0 is inverter relay and is set, bit1 is undefined and is set, bit2 is grid relay and is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants