Just create a new commit in the same branch and push it to Github - it will update the same PR. I can then merge them together when itās merged into master.
Sorry for the delay with this - I spent some time looking at some zwave issues so didnāt test this until this morning. All looks good - thanks - so itās now merged.
Today Iāll merge an update with the following changes -:
Adds channel configuration. This adds a configuration class that is cluster specific to allow re-use between converters which are channel specific. Note that this isnāt fully working at the moment as it likely requires some changes in ESHā¦
Adds polling. The binding detects if bind/reporting fails and sets the polling period to a higher rate (currently 10 seconds, and not user configurable right now).
Channel consolidation is now performed to remove channels that are not required (eg removing switch if level is supported, switch and dimmer if color is supportedā¦).
Thing definition is only changed if the channels have changed from the definition at startup. This might speed up initialisation, but also prevents any configuration in channels getting lost if the channels donāt change!
Battery percent converter is added (untested at the moment as my devices donāt seem to support this - it might need some updates if I find a better cluster).
Some improvements to logging.
ZigBee library is bumped to 1.0.3-SNAPSHOT. This fixes some issues with ZDO message addressing (eg bind/unbind).
Hi,
I plan to use bitron magnetic contacts and Salus TRV10RFM heating control devices with openhab in the future.
I know, that heating is currently not supported by the binding, but at least I hope to have some success with the bitron magnetic contacts.
I have a ConBee dongle and a RaspBee available.
Whatās the status regarding support of this dongle by the binding?
My current understanding is, that the dongle driver is coming from zsmartsystems repository and it seems a dongle driver is available there for the ConBee/RaspBee.
Whatās the reason it was not merged to the binding?
Sorry if it is a stupid question and if it was already informed.
Thanks, Markus.
Currently itās not implemented in the binding. The driver is mostly written, but there were some issues when I came to incorporate it into the binding and Iāve not had the chance to finalise itā¦
With 2.3.0.201801012213, my Centralite/ST outlet comes up, but the GE Link bulbs are not. I do see transition time though! The logs look like they are looping and I get these, for what looks like each of the bulbsā¦
2018-01-02 01:50:15.224 [ERROR] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 7C25240000161884: Exception creating channels
java.lang.ClassCastException: com.zsmartsystems.zigbee.zcl.clusters.ZclLevelControlCluster cannot be cast to com.zsmartsystems.zigbee.zcl.clusters.ZclOnOffCluster
at org.openhab.binding.zigbee.converter.ZigBeeConverterSwitchLevel.initializeConverter(ZigBeeConverterSwitchLevel.java:51) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler.doNodeInitialisation(ZigBeeThingHandler.java:229) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler.access$0(ZigBeeThingHandler.java:171) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler$1.call(ZigBeeThingHandler.java:165) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler$1.call(ZigBeeThingHandler.java:1) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-01-02 01:50:15.501 [ERROR] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 7CE52400001261EF: Exception creating channels
java.lang.ClassCastException: com.zsmartsystems.zigbee.zcl.clusters.ZclLevelControlCluster cannot be cast to com.zsmartsystems.zigbee.zcl.clusters.ZclOnOffCluster
at org.openhab.binding.zigbee.converter.ZigBeeConverterSwitchLevel.initializeConverter(ZigBeeConverterSwitchLevel.java:51) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler.doNodeInitialisation(ZigBeeThingHandler.java:229) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler.access$0(ZigBeeThingHandler.java:171) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler$1.call(ZigBeeThingHandler.java:165) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler$1.call(ZigBeeThingHandler.java:1) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-01-02 01:56:08.766 [ERROR] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 7CE524000013F1F0: Exception creating channels
java.lang.ClassCastException: com.zsmartsystems.zigbee.zcl.clusters.ZclLevelControlCluster cannot be cast to com.zsmartsystems.zigbee.zcl.clusters.ZclOnOffCluster
at org.openhab.binding.zigbee.converter.ZigBeeConverterSwitchLevel.initializeConverter(ZigBeeConverterSwitchLevel.java:51) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler.doNodeInitialisation(ZigBeeThingHandler.java:229) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler.access$0(ZigBeeThingHandler.java:171) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler$1.call(ZigBeeThingHandler.java:165) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at org.openhab.binding.zigbee.handler.ZigBeeThingHandler$1.call(ZigBeeThingHandler.java:1) [16:org.openhab.binding.zigbee:2.3.0.201801012213]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Cool, can you give me the conclusion of this long thread?
Which USB Zigbee controller works and am I correct in assuming I can also change the warmth colour of the lamps too?
I donāt know what country youāre in so suppliers will vary - element14 / farnell have them available in most countries that I looked at a while ago but try a web search.