-
-
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
[tapocontrol] Fix configuration error #13677
Conversation
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/tapocontrol-control-tapo-smart-wifi-devices-with-openhab/118389/218 |
...apocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceHttpApi.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/openhab/binding/tapocontrol/internal/structures/TapoBridgeConfiguration.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/openhab/binding/tapocontrol/internal/structures/TapoDeviceConfiguration.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.
Additionally to my following comments, I am not sure why you are removing unit tests ?
...control/src/main/java/org/openhab/binding/tapocontrol/internal/device/TapoBridgeHandler.java
Outdated
Show resolved
Hide resolved
...control/src/main/java/org/openhab/binding/tapocontrol/internal/device/TapoBridgeHandler.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/openhab/binding/tapocontrol/internal/structures/TapoBridgeConfiguration.java
Outdated
Show resolved
Hide resolved
...control/src/main/java/org/openhab/binding/tapocontrol/internal/device/TapoBridgeHandler.java
Outdated
Show resolved
Hide resolved
...control/src/main/java/org/openhab/binding/tapocontrol/internal/device/TapoBridgeHandler.java
Outdated
Show resolved
Hide resolved
...ng.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/device/TapoDevice.java
Outdated
Show resolved
Hide resolved
...ng.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/device/TapoDevice.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.
Let's go for a last round.
PS: I will not investigate too much in your test units but I have a strange feeling that your new discovery class for tests is the same as the real class.
...c/test/java/org/openhab/binding/tapocontrol/internal/structures/TapoBridgeConfiguration.java
Show resolved
Hide resolved
bundles/org.openhab.binding.tapocontrol/src/test/TapoDiscoveryService.java
Outdated
Show resolved
Hide resolved
* improved response logging and error handling Signed-off-by: Christian Wild <christian@wildclan.de>
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
* improved response logging and error handling Signed-off-by: Christian Wild <christian@wildclan.de> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
* improved response logging and error handling Signed-off-by: Christian Wild <christian@wildclan.de> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
* improved response logging and error handling Signed-off-by: Christian Wild <christian@wildclan.de>
* improved response logging and error handling Signed-off-by: Christian Wild <christian@wildclan.de>
* improved response logging and error handling Signed-off-by: Christian Wild <christian@wildclan.de>
* improved response logging and error handling Signed-off-by: Christian Wild <christian@wildclan.de> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
This PR fixes error reading configuration with integer values.
Configuration handling revised
Also tracing of sent and received http request was enhanced, because some unkown communication errors will occur sometimes.
It has been discussed at https://community.openhab.org/t/tapocontrol-control-tapo-smart-wifi-devices-with-openhab/118389/216.
A compiled jar is available at https://github.com/wildcs/oh3_compiled-addons/tree/tapocontrol