-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Modbus sensors go unavailable after modbus.reload
#75100
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
Comments
modbus documentation |
Hey there @adamchengtkc, @janiversen, @vzahradnik, mind taking a look at this issue as it has been labeled with an integration ( |
I can confirm that with a current installation. Only a complete restart works. |
Bump. Same here. |
I will get around to looking at it soon. |
Same here on 2022.10.3 (Docker). |
Yes it is still on my list. I am working hard on the underlaying library to make the connections a lot stabler. |
The problem
Calling
modbus.reload
service (or hitting Modbus under YAML Reloading in dev tools) does not re-open the modbus connection.Further,
modbus.restart
does not work after having called reload (but does prior).I have tested this on a local dev container after discovering it on my own installation (running 2022.7.3), so this exists in
main
as of today.Likely related to #68161
What version of Home Assistant Core has the issue?
2022.8.0.dev0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
modbus
Link to integration documentation on our website
https://www.home-assistant.io/integrations/modbus/
Diagnostics information
There is no integration which shows up in UI when using Modbus as far as I can tell.
The logs show these two lines when running the service:
Subsequent calls just output:
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: