Skip to content
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] Added KL430 lightstrip support #12000

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

Hilbrand
Copy link
Member

@Hilbrand Hilbrand commented Jan 9, 2022

Closes #8709

Additional:
Added action to send and receive json commands to a tplink device.
This can be used for test purposes or to run commands not available through channels.

Changed retry getting values 5 times before setting the device offline..Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

@Hilbrand Hilbrand added enhancement An enhancement or new feature for an existing add-on work in progress A PR that is not yet ready to be merged labels Jan 9, 2022
@Hilbrand Hilbrand marked this pull request as ready for review February 2, 2022 09:36
@lolodomo
Copy link
Contributor

lolodomo commented Feb 5, 2022

@Hilbrand : is it still work in progress ?

@Hilbrand Hilbrand removed the work in progress A PR that is not yet ready to be merged label Feb 7, 2022
@Hilbrand
Copy link
Member Author

Hilbrand commented Feb 7, 2022

I've remove the label work-in-progress as it's ready for review/merge.

@Hilbrand Hilbrand requested a review from lolodomo February 9, 2022 09:27
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Closes openhab#8709

Additional:
- Added action to send and receive json commands to a tplink device. This can be used for test purposes or to run commands not available through channels.

Fixes:
- Power channel of a bulb is defined as QuantityType in xml, therefor it should create the state using QuantityType
- Retry getting values 5 times before setting the device offline. Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

Also-by: Dustin Masters <ceo@dustinsoftware.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
@lolodomo
Copy link
Contributor

lolodomo commented Feb 9, 2022

@Hilbrand : my intention was to merge. What did you change after my review ? Why a force push which I have no way to see what you changed since my last review ?

@Hilbrand
Copy link
Member Author

Hilbrand commented Feb 9, 2022

@lolodomo I've only squashed to make sure it gets the commit message I preferred. You can see here there are no differences: https://github.com/hilbrand/openhab-addons/compare/fd7c251..5859a02

@lolodomo lolodomo merged commit 888cf00 into openhab:main Feb 10, 2022
@lolodomo lolodomo added this to the 3.3 milestone Feb 10, 2022
@dustinsoftware
Copy link

Just FYI by squashing and force pushing, my name on the contribution was lost, would have been cool to keep that on the contributor page. :(

@lolodomo
Copy link
Contributor

Sorry for that but unfortunately the squashing was not done by myself.

@Hilbrand Hilbrand deleted the tplink-kl430 branch February 11, 2022 07:38
@Hilbrand
Copy link
Member Author

@dustinsoftware that would have been inevitable. Even if I wouldn't have squashed it, it would have happened when @lolodomo would merge this pr. Because all pr's in this repository are squashed before merging.

@lolodomo
Copy link
Contributor

@Hilbrand : when squashing, we can keep the mention of several contributors, signed-off- by for the main author and another (sorry I do not remember the exact tag) for additional contributors.

@Hilbrand
Copy link
Member Author

@lolodomo Yes adding the other contributors is required, with Also-by, as is described on the openHAB contribution page, and that is what I put in the squash commit. But what @dustinsoftware is referring to is the contributors page here on GitHub. If there are multiple contributors when the pr is merged and squashed it will register the commit to the original creator of the pr, and that will show up in git blame and therefor the contributors page.

@lolodomo
Copy link
Contributor

Ok, that is clearer now.

NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Apr 27, 2022
Closes openhab#8709

Additional:
- Added action to send and receive json commands to a tplink device. This can be used for test purposes or to run commands not available through channels.

Fixes:
- Power channel of a bulb is defined as QuantityType in xml, therefor it should create the state using QuantityType
- Retry getting values 5 times before setting the device offline. Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

Also-by: Dustin Masters <ceo@dustinsoftware.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jun 29, 2022
Closes openhab#8709

Additional:
- Added action to send and receive json commands to a tplink device. This can be used for test purposes or to run commands not available through channels.

Fixes:
- Power channel of a bulb is defined as QuantityType in xml, therefor it should create the state using QuantityType
- Retry getting values 5 times before setting the device offline. Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

Also-by: Dustin Masters <ceo@dustinsoftware.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
Closes openhab#8709

Additional:
- Added action to send and receive json commands to a tplink device. This can be used for test purposes or to run commands not available through channels.

Fixes:
- Power channel of a bulb is defined as QuantityType in xml, therefor it should create the state using QuantityType
- Retry getting values 5 times before setting the device offline. Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

Also-by: Dustin Masters <ceo@dustinsoftware.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
Closes openhab#8709

Additional:
- Added action to send and receive json commands to a tplink device. This can be used for test purposes or to run commands not available through channels.

Fixes:
- Power channel of a bulb is defined as QuantityType in xml, therefor it should create the state using QuantityType
- Retry getting values 5 times before setting the device offline. Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

Also-by: Dustin Masters <ceo@dustinsoftware.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
Closes openhab#8709

Additional:
- Added action to send and receive json commands to a tplink device. This can be used for test purposes or to run commands not available through channels.

Fixes:
- Power channel of a bulb is defined as QuantityType in xml, therefor it should create the state using QuantityType
- Retry getting values 5 times before setting the device offline. Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

Also-by: Dustin Masters <ceo@dustinsoftware.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tplinksmarthome] Add support for TP-Link KL430 Strip Light
3 participants