[lgthinq] Initial contribution#12149
Conversation
|
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/contribution-lg-thinq-air-conditioner-addon/132444/3 |
hmerk
left a comment
There was a problem hiding this comment.
Thanks for your contribution.
Please check for a constant naming scheme.
Some first comments made with required changes.
...inding.lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/LGThinqHandlerFactory.java
Outdated
Show resolved
Hide resolved
...inding.lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/LGThinqHandlerFactory.java
Outdated
Show resolved
Hide resolved
...inding.lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/LGThinqHandlerFactory.java
Outdated
Show resolved
Hide resolved
....openhab.binding.lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/api/Gateway.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/openhab/binding/lgthinq/internal/LGDeviceDynStateDescriptionProvider.java
Outdated
Show resolved
Hide resolved
...inding.lgthinq/src/main/java/org/openhab/binding/lgthinq/lgapi/LGApiV1ClientServiceImpl.java
Outdated
Show resolved
Hide resolved
...inding.lgthinq/src/main/java/org/openhab/binding/lgthinq/lgapi/LGApiV2ClientServiceImpl.java
Outdated
Show resolved
Hide resolved
....openhab.binding.lgthinq/src/main/java/org/openhab/binding/lgthinq/lgapi/model/LGDevice.java
Show resolved
Hide resolved
bundles/org.openhab.binding.lgthinq/src/main/resources/OH-INF/i18n/lgthinq.properties
Outdated
Show resolved
Hide resolved
...openhab.binding.lgthinq/src/test/java/org/openhab/binding/lgthinq/handler/LGBridgeTests.java
Outdated
Show resolved
Hide resolved
...nq/src/main/java/org/openhab/binding/lgthinq/internal/discovery/LGThinqDiscoveryService.java
Outdated
Show resolved
Hide resolved
...inding.lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/LGThinqHandlerFactory.java
Outdated
Show resolved
Hide resolved
...lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/LGThinqAirConditionerHandler.java
Outdated
Show resolved
Hide resolved
...ding.lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/LGThinqBindingConstants.java
Outdated
Show resolved
Hide resolved
...nq/src/main/java/org/openhab/binding/lgthinq/internal/discovery/LGThinqDiscoveryService.java
Outdated
Show resolved
Hide resolved
...binding.lgthinq/src/main/java/org/openhab/binding/lgthinq/lgapi/LGThinqApiClientService.java
Outdated
Show resolved
Hide resolved
...penhab.binding.lgthinq/src/main/java/org/openhab/binding/lgthinq/lgapi/model/ACSnapShot.java
Outdated
Show resolved
Hide resolved
...nhab.binding.lgthinq/src/main/java/org/openhab/binding/lgthinq/lgapi/model/ACSnapShotV1.java
Outdated
Show resolved
Hide resolved
....openhab.binding.lgthinq/src/main/java/org/openhab/binding/lgthinq/lgapi/model/LGDevice.java
Show resolved
Hide resolved
...org.openhab.binding.lgthinq/src/test/java/org/openhab/binding/lgthinq/handler/JsonUtils.java
Show resolved
Hide resolved
...ab.binding.lgthinq/src/test/java/org/openhab/binding/lgthinq/handler/LGThinqBridgeTests.java
Show resolved
Hide resolved
...ding.lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/LGThinqBindingConstants.java
Outdated
Show resolved
Hide resolved
|
@nemerdaud Gave your binding a first shot and it just worked. Amazing! 😄 |
|
Changing the op_mode does not seem to work, it results in an error after a few seconds. |
|
@tobof , please provide me $OPENHAB_USERDATA/thinq/thinq-569c7573-8e85-12aa-86e5-44cb8b809993-cap.json file.
|
aea5f82 to
ef8745b
Compare
356b6b6 to
5a1eb61
Compare
Signed-off-by: Nemer Daud <nemer@smartsw.com.br>
…ature/lgthinq-binding
Signed-off-by: Nemer Daud <nemer@smartsw.com.br>
Signed-off-by: Nemer Daud <nemer@smartsw.com.br>
|
Not sure f you missed them, but all issues except the ones behind the ‘load more’ button are fixed. |
|
Wait a little bit, @lsiepel . I will review all of them. Maybe i lost myself in the reviews.. |
Sorry don’t want to push. Just noticed this for the last review round. All others are done. |
Signed-off-by: Nemer Daud <nemer@smartsw.com.br>
…binding/lgthinq/internal/handler/LGThinQBridgeHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Nemer Daud <37001239+nemerdaud@users.noreply.github.com>
Signed-off-by: Nemer Daud <nemer@smartsw.com.br>
…ature/lgthinq-binding
|
I think all is fixed for now, @lsiepel . I'm focus right now reviewing the Handler initialization as you asked me. |
lsiepel
left a comment
There was a problem hiding this comment.
These are my final comments. We expect a 5.0 milestone next weekend. We could possibly merge this and make it part of that milestone. Do you need additional testing time?
...lgthinq/src/main/java/org/openhab/binding/lgthinq/internal/handler/LGThinQBridgeHandler.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/lgthinq/internal/handler/LGThinQAbstractDeviceHandler.java
Outdated
Show resolved
Hide resolved
...nq/src/main/java/org/openhab/binding/lgthinq/lgservices/LGThinQAbstractApiClientService.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/lgthinq/internal/handler/LGThinQAirConditionerHandler.java
Outdated
Show resolved
Hide resolved
|
Hi, @lsiepel . I think until next sunday I can close your last reviews and my final test as well. |
|
Do you also need additional testing time? |
…binding/lgthinq/internal/handler/LGThinQBridgeHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Nemer Daud <37001239+nemerdaud@users.noreply.github.com>
…binding/lgthinq/internal/handler/LGThinQAbstractDeviceHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Nemer Daud <37001239+nemerdaud@users.noreply.github.com>
…binding/lgthinq/lgservices/LGThinQAbstractApiClientService.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Nemer Daud <37001239+nemerdaud@users.noreply.github.com>
…binding/lgthinq/internal/handler/LGThinQAirConditionerHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Nemer Daud <37001239+nemerdaud@users.noreply.github.com>
|
I need one more day to confirm that all the features are OK after the reviews. For all devices I have mocks that simulate the behavior, but I need all day tomorrow to go through all of them and check if there is anything that is not working as expected. So, by Saturday I believe I will have finished my tests. Is that okay for you? |
Yes, no rush, we can also postpone this binding to next month’s milestone 3. We made great progress, so a merge will be close. |
… thread polling. Handle bridge removal (NPE) Signed-off-by: Nemer Daud <nemer@smartsw.com.br>
lsiepel
left a comment
There was a problem hiding this comment.
Thanks, LGTM.
Let me know when you have finished your tests and i'll merge this.
Now, you could add the binding's logo to the openHAB website. See https://www.openhab.org/docs/developer/addons/#add-your-add-on-s-logo-to-the-openhab-website
|
@lsiepel, I've finished my testing and fixed some issues related to the Thing lifecycle. Feel free to push to M2 or push to M3, whichever you consider more appropriate. |
|
@lsiepel, thank you very much for all your support and understanding of my time constraints. You have helped me a lot on the path to making this binding viable. I am also very grateful to @hmerk for believing in my binding from the beginning. This contribution of mine comes largely from my desire to return to the open source community everything it has given me so far. I don't know what comes next, but you can count on me to maintain this binding. |
* [lgthinq][feat] Initial contribution Signed-off-by: Nemer Daud <nemer.daud@gmail.com> Co-authored-by: Julio Vilmar Gesser <jgesser@gmail.com> Co-authored-by: Nemer_Daud <nemer@smartsw.com.br>

Binding to integrate OpenHab to LG Thinq API to control Thinq compatible devices through OpenHab.
See README.MD documentation for supported devices.
Signed-off-by: Nemer Daud nemer.daud@gmail.com