-
-
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
[tplinksmarthome] Add new device: EP25 #17377
Conversation
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, Left two minor comments. Kind of funny that you managed to get this PR this far without even building the code.
Not sure wich IDE you use, but if you got this far, the rest should not be that difficult. Let me know what steps you are missing. Once the build is completed, it will generate a JAR file.
After you uninstall the current binding in you openHAB setup, you can drop this JAR into your addons folder and your custom build binding verison should be started and is ready to test.
I'll go in and try and get the table formatted. I'm struggling a little because my NeoVIM setup's Markdown linter wants to make some rather sweeping changes to the README file, but I can get that squared away. :-)
Duplicating a previous PR that does exactly the same thing can get you a long way.
So I should remove the all the addons and run a complete build of the entire addons repo? Seems like perhaps I just need to spin up a 2nd OpenHAB instance, as that would be much easier. (I was hoping I could bump a version number and just build the tplinksmarthome portion of the bundle and have that take precedence...) Other than running the standard integration tests, and confirming that my built bundle can recognize EP25's automatically and add/control them, are there any further tests I should be doing? |
No need to build everything, just the one binding would be enough (like in the example you got from the docs). That will generate one jar that only holds that specific binding. No need for another openHAB instance. Uninstalling the binding will have no effect on your things/channels/items etc. Edit: Oh and before we forget, the commit was not signed off, this is mandatory for openHAB. |
c17dc8a
to
72165c0
Compare
The EP25 appears to be a version of the KP125 that lacks the LED. Because of this, and per the comments in openhab#16027, this commit mimics openhab#11771 and simply copies the KP125, without the LED channel. Signed-off-by: Josh Proehl <josh@daedalusdreams.com>
Per feedback I have fixed the whitespace issue in the README.md table, and have added the required sign-off text to the commit message. I have also pushed an additional fix to include the correct power channels, and have the name match the translations file. (I think I copied the wrong XML somehow...)
I have built the modified tplinksmarthome binding using If there are further checks I can do please let me know! |
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 for this contribution.
LGTM
The EP25 appears to be a version of the KP125 that lacks the LED. Because of this, and per the comments in openhab#16027, this commit mimics openhab#11771 and simply copies the KP125, without the LED channel. Signed-off-by: Josh Proehl <josh@daedalusdreams.com>
The EP25 appears to be a version of the KP125 that lacks the LED. Because of this, and per the comments in openhab#16027, this commit mimics openhab#11771 and simply copies the KP125, without the LED channel. Signed-off-by: Josh Proehl <josh@daedalusdreams.com> Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
The EP25 appears to be a version of the KP125 that lacks the LED. Because of this, and per the comments in openhab#16027, this commit mimics openhab#11771 and simply copies the KP125, without the LED channel. Signed-off-by: Josh Proehl <josh@daedalusdreams.com>
The EP25 appears to be a version of the KP125 that lacks the LED. Because of this, and per the comments in openhab#16027, this commit mimics openhab#11771 and simply copies the KP125, without the LED channel. Signed-off-by: Josh Proehl <josh@daedalusdreams.com>
The Kasa EP25 appears to be a version of the KP125 that lacks the LED. Because of this, and per the comments in #16027, this simply copies the KP125, without the LED channel.
This is my attempt at contributing to this project, so I'm sure I've missed something. I haven't run any testing or build steps, all I've done is use the code that I saw in PR #1171 (Adding the KP125) as a template and add the EP25 device. I'm hoping this at least provides a base for someone more familiar with the project to do a quick review and test so we can get the device added! As mentioned in #16027, the EP25 appears to behave properly when added manually as a KP125 device, but that is the only testing that I've done, I have not figured out how to take this PR into my live OpenHAB environment to test it.
If accepted, this closes #16027