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] Add support for P115 smart-socket #13225
Conversation
Signed-off-by: Christian Wild <christian@wild-bw.de>
The configuration parameter is defined as an integer, there is no real sense to consider in the binding it could be a decimal. If not, this would mean we have to fix all bindings to handle something that should not happen. @J-N-K : WDYT ? |
Could you please exclude the new parameter handling and put it in a separate PR so that I can at least merge the PR which is about adding P115 smart socket ? |
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! I have added a few minor comments.
...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
@lolodomo - sorry, I missed your comments when checking the PR. At least our comments are consistent. :) |
Signed-off-by: Christian Wild <christian@wild-bw.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
removed the parameter handling workaround. |
@wildcs - I assume you are running the binding in openHAB 3.3? The mentioned bugfix is included in 3.4. You could try to run a snapshot version to verify this. Probably the first 3.4 milestone release is not far away. |
@jlaur - no i'm using OH3.4 Build 3034 on my coding pc and there i can reproduce and debug the error. |
Sorry, I missed that openhab/openhab-core#3024 is not merged yet. So we expect to have a generic fix for 3.4 so that we don't have to fix all bindings, but the PR needs review with the possibility of more work to be done. |
@wildcs - openhab/openhab-core#3024 was recently merged, so this should be fixed now. Perhaps you could verify with latest snapshot - otherwise it will be included in next milestone. |
Hi, |
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/185 |
Did you test with latest snapshot of core, or only binding? |
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/197 |
* [tapocontrol] added P115 smart socket * [tapocontrol] enabled energy-data for P115 socket Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] added P115 smart socket * [tapocontrol] enabled energy-data for P115 socket Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] added P115 smart socket * [tapocontrol] enabled energy-data for P115 socket Signed-off-by: Christian Wild <christian@wild-bw.de> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
* [tapocontrol] added P115 smart socket * [tapocontrol] enabled energy-data for P115 socket Signed-off-by: Christian Wild <christian@wild-bw.de>
* [tapocontrol] added P115 smart socket * [tapocontrol] enabled energy-data for P115 socket Signed-off-by: Christian Wild <christian@wild-bw.de>
This PR now added the Tapo P115 smart-socket to tapocontrol.
Also fixed thing configuration warning occured since OH3.3