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

Add Grid Power Available binary sensor #620

Merged
merged 10 commits into from
Jul 9, 2024

Conversation

WillCodeForCats
Copy link
Owner

Add Grid Power Available binary sensor

@WillCodeForCats WillCodeForCats added the enhancement New feature or request label Jul 7, 2024
@WillCodeForCats WillCodeForCats self-assigned this Jul 7, 2024
@WillCodeForCats WillCodeForCats linked an issue Jul 7, 2024 that may be closed by this pull request
@WillCodeForCats
Copy link
Owner Author

Info for this entity contributed by @dgilmour77

@WillCodeForCats
Copy link
Owner Author

Two confirmed OK tests.

@WillCodeForCats WillCodeForCats merged commit fc6de7c into main Jul 9, 2024
8 checks passed
@deqw
Copy link

deqw commented Jul 14, 2024

@WillCodeForCats Is this enhancement now in the 2.4.16 release? Is 2.4.17-pre.3 now the same as 2.4.16?

@WillCodeForCats
Copy link
Owner Author

I haven't made a 2.4.17 release yet becasue I was waiting to see if there was more test feedback.

@deqw
Copy link

deqw commented Jul 14, 2024

No problem, still running 2.4.17-pre.3 here. I looked at the Code page and saw the GridStatusOnOff class there. Thought that was the latest release 2.4.16 from a few days ago (but it isn't).

@WillCodeForCats
Copy link
Owner Author

I can probably just make the release, I was just hoping for more than 2 confirmations.

@deqw
Copy link

deqw commented Jul 14, 2024

Just wait a little bit longer then. I had some additional questions from SE last week in the case of my questions about the M_Events and the 40113 register. Waiting now again for their response.

Since the 40113 returns 0 (zero) when grid is On and 1 (one) when grid is Off, I'm thinking this undocumented register is related more to the Backup Interface status, like Backup On (1) and Off (0) and not meant for Grid On or Off because for that we have the M-Events already. Just a thought. Hope SE can shed some light into this.

Edit: see 2.4.17 now.

@WillCodeForCats
Copy link
Owner Author

I just made the release, but if there's more to add I'll just do another one. I'm pretty active about getting things added.

@WillCodeForCats WillCodeForCats deleted the 619-detect-power-loss-grid-is-out branch July 15, 2024 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detect power loss / grid is out
2 participants