Issues setting up ZigBee USB Dongle CC2531 with OpenHAB3 on Freenas 12

  • Platform information:
    • Hardware: Intel x64
    • OS: FreeNAS 12 with a FreeBSD Jail 12.2
    • Java Runtime Environment: openjdk-11
    • openHAB version: 3.0
  • Issue of the topic: I have problems settings up my ZigBee USB Dongle CC2531.

I have some Xiaomi temperature sensors which I would like to connect to my fresh brand new openHAB 3 installation. I have just downloaded opneHAB3, created a FreeNAS Jail, applied devfs rules, connected my USB CC2531 ZigBee stick with my NAS and followed the openHAB tutorial. Currently I am stuck here: Adding Things - Intermediate | openHAB

For preparation I have flashed my CC2531 device following this tutorial: ZigBee - Bindings | openHAB

The CC2531 device is also visible in my jail as /dev/cuaU0.

How do I want to install the CC2531 thing in OpenHAB3?

  1. Click on THINGS
  2. Click ok +
  3. Chose CC2531EMK Coordinator
  4. Setup correct Port and save.

Afterwards I get the following error message:

Status:
UNINITIALIZED
HANDLER_INITIALIZING_ERROR
Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@5ffb0d6c[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@5503661c[Wrapped task = org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler$$Lambda$1428/0x000000107e578040@5bc492cc]] rejected from org.openhab.core.internal.common.WrappedScheduledExecutorService@348be867[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]

openhab.log

2021-01-23 12:47:45.188 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'zigbee:coordinator_cc2531:55d86e72ba': Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@5ffb0d6c[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@5503661c[Wrapped task = org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler$$Lambda$1428/0x000000107e578040@5bc492cc]] rejected from org.openhab.core.internal.common.WrappedScheduledExecutorService@348be867[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@5ffb0d6c[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@5503661c[Wrapped task = org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler$$Lambda$1428/0x000000107e578040@5bc492cc]] rejected from org.openhab.core.internal.common.WrappedScheduledExecutorService@348be867[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2055) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:825) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) ~[?:?]
	at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.startZigBeeNetwork(ZigBeeCoordinatorHandler.java:562) ~[?:?]
	at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.startZigBee(ZigBeeCoordinatorHandler.java:410) ~[?:?]
	at org.openhab.binding.zigbee.cc2531.handler.CC2531Handler.initializeDongle(CC2531Handler.java:63) ~[?:?]
	at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.initialize(ZigBeeCoordinatorHandler.java:321) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
	at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]
	at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]

What am I doing wrong? Who can help?

I have the same problem. Any help?