I have been following your code with a lot of interest, as I started a similar exercise to make ElroConnects available to the openHAB world. My most up-to-date code is available on Github here. This is a question and not directly related to your code.
I have noticed there are multiple firmware version of the K1 connector. Many command use a different code for that (100 higher than the basic command). In the app, there is a check for firmware version > 14, but I can't figure out how to get that version. With the hub I am using, I have that higher firmware version, and need these different commands. The commands are then also using another coding. The list of command codes that work for me can be found here: https://github.com/mherwege/openhab-addons/blob/elroconnects_extension/bundles/org.openhab.binding.elroconnects/src/main/java/org/openhab/binding/elroconnects/internal/ElroConnectsBindingConstants.java
I would like to make my code more firmware version resilient (and do a firmware version check). Did anyone of you figure out a way to get hold of the firmware version?
I have been following your code with a lot of interest, as I started a similar exercise to make ElroConnects available to the openHAB world. My most up-to-date code is available on Github here. This is a question and not directly related to your code.
I have noticed there are multiple firmware version of the K1 connector. Many command use a different code for that (100 higher than the basic command). In the app, there is a check for firmware version > 14, but I can't figure out how to get that version. With the hub I am using, I have that higher firmware version, and need these different commands. The commands are then also using another coding. The list of command codes that work for me can be found here: https://github.com/mherwege/openhab-addons/blob/elroconnects_extension/bundles/org.openhab.binding.elroconnects/src/main/java/org/openhab/binding/elroconnects/internal/ElroConnectsBindingConstants.java
I would like to make my code more firmware version resilient (and do a firmware version check). Did anyone of you figure out a way to get hold of the firmware version?