-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[modbus] Improve error message if data thing is configured for reading but not connected to a polling bridge. #16054
[modbus] Improve error message if data thing is configured for reading but not connected to a polling bridge. #16054
Conversation
c72229d
to
ef5c549
Compare
...modbus/src/main/java/org/openhab/binding/modbus/internal/handler/ModbusDataThingHandler.java
Show resolved
Hide resolved
...modbus/src/main/java/org/openhab/binding/modbus/internal/handler/ModbusDataThingHandler.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
...modbus/src/main/java/org/openhab/binding/modbus/internal/handler/ModbusDataThingHandler.java
Outdated
Show resolved
Hide resolved
…g but not connected to a polling bridge. Signed-off-by: Markus Minichmayr <markus@minichmayr.net>
ef5c549
to
1d75029
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/openhab-4-1-milestone-discussion/149502/158 |
…g but not connected to a polling bridge. (openhab#16054) Signed-off-by: Markus Minichmayr <markus@minichmayr.net> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
…g but not connected to a polling bridge. (openhab#16054) Signed-off-by: Markus Minichmayr <markus@minichmayr.net>
The fact that a modbus
data
thing can only be used for reading if it is connected to apolling
bridge thing (rather than to a TCP or serial bridge thing), might not be obvious to every user. This PR improves the error message in case of a misconfiguration, i.e. if a thing is configured for reading but not connected to a polling bridge.