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

Sensor for modbus device state #2920

Open
Martidjen opened this issue Oct 13, 2024 · 2 comments
Open

Sensor for modbus device state #2920

Martidjen opened this issue Oct 13, 2024 · 2 comments

Comments

@Martidjen
Copy link

Describe the problem you have/What new integration you would like

I would like to be able to check the state of a modbus device. Just seeing if the device is online or offline, like ping for webservices.

Please describe your use case for this integration and alternatives you've tried:

I am currently monitoring my solar inverter through modbus. All working well, until the sun goes down and the inverter shuts off. The state of my modbus sensors will keep showing the latest known value received from the inverter, so it looks like the inverter is still delivering very little power all night long. Would be nice if I could either have a sensor for the modbus state of the device which I can use to overwrite the sensor states to 0, or have something like the availability payload options for mqtt sensors in home assistant for each modbus sensor.

Additional context

@nagyrobi
Copy link
Member

Related: #1568, #1694, esphome/issues#6075

@Martidjen
Copy link
Author

Thank you for linking this issue, I did not find this one when searching for related issues. I will try to use the timeout filter for now as mentioned in #6075, this does kind of seem to be what I am looking for, although it is still kind of masking the real issue for offline modbus offline devices.

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