-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Velux] Add support for KLF200 firmware v2 #5690
Conversation
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/velux-new-openhab2-binding-feedback-welcome/32926/90 |
Binding updated:
|
A few brief comments while I continue to review... All classes should have |
thanks for the quick response. Some questions regarding your comment: (a) Refering to discussion Usage of @since tags in JavaDocs I was not aware about the (b)+(c) question: due to the new functionality of the Velux bridge, the code has got many changes due to restructuring for supporting two different protocols. Is your comment regarding compatibility to the latest version - or do I miss your point? (d) Yes, every code segment has gone through the Eclipse formatter. But there are special settings (i.e. 4 spaces instead of tabs) coming from the OH2 guideline. |
I wasn't aware of the change in recommendation surrounding Many changes: no problem. Destroying public code: problem. You need to preserve the existing public units and mark them deprecated. The formatting is improved with your latest push. But there are still a number of changes when the Eclipse formatter is run on the code base. |
Regarding "Destroying public code: problem": will have to check the refactoring against thr recent version. Regarding formatting: sorry for the inconvenience - could you please give me a clue (any pointer appreciated!) how to check it on my own? BTW there is a problem (dangling constraints) with the Eclipse openHAB installer with the lastest version - do you know where to mention? |
All this should take is a Source -> Format in Eclipse.
I'd start in the forum, probably. |
Looks like you committed some files outside of the Velux binding. You'll need to remove those changes. |
Hopefully fixed. In addition, the new year is set again within the copyrights. |
due to tabulator instead of spaces... fixed. |
sigh, now, an error occurs within the official part of the openHAB Weather Binding.... |
You don't need to worry about those. |
What about the new copyright statements (EPLv1 towards EPLv2)? Is this considerable as well? |
As far as I know, there's no need to do anything with EPL either. |
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.
Please don't forget to remove the extraneous changes to files outside the Velux binding.
...enhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridgeActuators.java
Outdated
Show resolved
Hide resolved
...nhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/slip/io/SSLconnection.java
Show resolved
Hide resolved
...nhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/slip/io/SSLconnection.java
Show resolved
Hide resolved
...enhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/slip/SlipVeluxBridge.java
Outdated
Show resolved
Hide resolved
...enhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/slip/SlipVeluxBridge.java
Show resolved
Hide resolved
Thank you, Chris, @9037568, for the intensive review and feedback. I do really appreciated your heavy work on it! All but six comments are resolved now: Next commit/push will still include the trailing three comment lines in most of the file like
which will be eliminated in all files in the additional push following. |
As last time, the openHAB Weather Binding prevented the full run of Jenkins:
Shall I eliminate this binding for the time being from |
…ub: gs4711). Integrated code harmonisation (thanks to @9037568 for the intensive review and feedback). Removal of any trailing three comment lines.
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.
A few final changes.
Also, please run the Eclipse formatter again after changes are completed. Thanks!
...enhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/slip/SlipVeluxBridge.java
Outdated
Show resolved
Hide resolved
...ng/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/bridge/VeluxBridge.java
Outdated
Show resolved
Hide resolved
...hab.binding.velux/src/main/java/org/openhab/binding/velux/handler/VeluxBridgeHandlerOH1.java
Outdated
Show resolved
Hide resolved
...org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxBinding.java
Outdated
Show resolved
Hide resolved
...org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxBinding.java
Outdated
Show resolved
Hide resolved
...org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/VeluxBinding.java
Outdated
Show resolved
Hide resolved
And completely run through Eclipse 2018-09 formatter. Thanks! |
Hello Chris, is there anything I still should address? |
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
I need to make one more pass through to review your latest changes. |
Thanks, @gs4711 ! |
The Velux 2.x firmware provide full access to any IO-Home compatible devices not limited to Velux and includes an important feature: It is now possible to manipulate the settings of any IO-Home controled device explicitely without the previous scene definition.