Anyone using Zigbee binding on Windows?

After testing around for nearly 2 weeks without success by now I would like to ask the community to share their experience and perhaps provide some hints that I might miss.

I am simply trying to use the Zigbee binding with OpenHab on a windows machine. Unfortunately I cannot get any Zigbee USB stick that I tested so far to work with the binding. So far I already tried 3 different sticks which should be compatible according to the docs: The Bitron Video ZigBee USB Funkstick, the Elelabs ELU013 stick and the Digi XBee 3 stick.
All 3 sticks won’t communicate with OH on Windows, their status is displayed as unknown and offline (changing all couple of seconds).
The Bitron Video is lacking a correct driver (the device is displayed as unknown in Windows Device Manager), so this seems to be the ovious cause.
However, the other 2 sticks are displayed as working and a driver in installed by Windows. For the XBee stick I could also test it with the XTCU software provided by the manufacturer that the stick is responsive on Windows (so the stick basically should work). However, no luck with OH.
So far I tried with OH 2.5.7 and 2.5.9 (stable releases), I also tried with both Oracale Java and Zulu. No combination was working. (And of course I tried all combinations of settings for the stick like baud rate etc. and also used the correct COM Port as displayed in Windows Device Manager).

The only forum post so far that indicates a possible success on Windows is this one mentioned in a previous thread for the Nortek HUSBZB-1 stick:

This stick has however been discontinued 2 years ago and was only sold in the US (I live in Europe). However I just ordered one used stick on Ebay and will test it also.

So my question: Has anybody here a running Zigbee binding on a Windows machine? If yes please let me know with which stick, which settings and which driver (and maybe which firmware?). Any hints are highly appreciated, thank you!

I am in North America and I had my combo Z-Wave Zigbee stick working on windows with the appropriate Windows drivers. I was able to map the serial devices to a Linux VM & have the controller recognized.

1 Like

In a previous thread where we discussed this issue, I provided a link for someone who is using the Ember stick (HUSBZB-1 I think) with the ZigBee binding. I’m sure others are also using Windows though :slight_smile:

I have also just tested it with my stick which uses the CP2101 driver from Silabs.

We can start to guess random possible issues here, but if you are having problems, then please provide logs - or at least look at the logs yourself as that will help explain what is happening. What errors are you seeing? Does the port open? Is there any communication with these sticks?

That is the stick I had working. The Z-Wave portion would not be legal in Germany though. I remember really needing to hunt for the drivers.

EDIT: Try this link from my Dropbox

I already linked that post and wrote it in my inital post that this stick seems to be the only(?) so far confirmed working stick on Windows. However, is is discontinued and not suitable for Europe.

That is what I hope and why I started this thread. I hope that some more people can share a working solution. As I already invested in 3 sticks so far I start having doubts if there are really many workable options on Windows.

Well, I already provided a log for the ELU013 and you told me that the binding could not communicate with the stick as it was not responding in this thread.
However the very same stick works perfectly on a Raspi with OH.

The other 2 sticks show exactly the same behaviour, but I agree I could also send logs for the other two. I will do that later when I have again physical access to my OH server.

There are likely other Ember based sticks that should work with that driver either as it is or by modifying the device ids it recognizes. I remember finding the driver link in a review on Amazon for the stick.

Yes, it seems to me at the moment that this is(was) the only confirmed option on Windows (so far).
Thank you

Thank you for providing the drivers via dropbox but I already had downloaded these CP210 drivers for my testing before. However, they do not help for any of the 3 sticks I own.

That is interesting, I might do the same the other way round :wink: As the ELU013 works on my Raspi I could try to make it available on my Windows machine via ser2net. Maybe this could be a workaround.

Sure - but you’ve now listed a load of other sticks that you say also don’t work, and I’m really struggling to understand why. It’s hard to provide you the “hints” on making it work that you ask for if we don’t understand the problem.

Ok, so that’s usfeul information - thanks.

Maybe there is something wrong with your windows PC that is preventing devices working? That seems to be the common issue here?

No - as I said above, I’ve also tested it with my own dongle. This uses the CP2101 (or 2102 - I forget but they are basically the same) and an EFR32 behind that.

I’m also 99% sure that when I was working with Deutsch Telekom, they used the Telegesis stick on Windows (but that was a couple of years ago).

I don’t think that will work. Also, you say this is “the same, but the other way around”, but that is also not what @Bruce_Osborne was suggesting. Bruce I believe is running a Linux VM in Windows and mapping the USB port into the VM - this is totally different to using ser2net as that is an IP connection between computers.

I used VirtualBox on my Windows PC with a Linux VM. I set the Network on the VM to Bridges to it would get an ip address on my local network.

I plugged the stick into my Windows computer & used the drivers I posted. The combo stich showed up as 2 COM ports in Device Manager.

For the VM I mapped those COM ports to the VM so I could use them with the smart home software I was testing at that time.

1 Like

So it goes from unknown to offline every few seconds?
This makes me wonder…

these are ‘new’ installs right?
Could it be the thing where an addon is attempting to load and fails and does so over and over every minute or so? Was this an upgrade from a previous version? Are you using a configuration from an older version?

All were absolutely fresh installs, no upgrade, no old configuration. I just installed Zigbee binding and tried to add the sticks as first thing.

Unlikely, I tested with 3 different PCs even with different Windows 10 Releases (1909 and 2004). And the Z-Wave sticks are working on all of them, so basically the COM Ports are functional.

Ah ok, now I get the point. That is indeed different, thank you for clarification.

So my only workaround so far would be to use a second OH on Raspi and link this via MQTT to my main OH in order to get the Zigbee items integrated. But I would prefer to use the binding straightforward with Windows.

I will post logs from the other 2 sticks later.

Ok, it’s very strange then. Many bindings use the serial port, and it seems very strange that the ports can’t be opened only with ZigBee. I know that the ZigBee binding uses the serial port the same way as the ZWave binding - maybe you should see if that works as well?

I just tried the ZWave binding on the same installation with an Aeotec Gen5 Z-Stick and it works perfectly.

Meanwhile I also have a debug log for the Xbee stick:

2020-10-03 21:18:49.055 [DEBUG] [ding.zigbee.xbee.handler.XBeeHandler] - ZigBee XBee Coordinator opening Port:'COM3' PAN:acb6, EPAN:E47568F850468554, Channel:11
2020-10-03 21:18:49.056 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Scheduling ZigBee start
2020-10-03 21:18:50.059 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee network starting
2020-10-03 21:18:50.060 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Initialising ZigBee coordinator
2020-10-03 21:18:50.060 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Default: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=1, interTransactionDelay=50, maxRetries=2]
2020-10-03 21:18:50.061 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Broadcast: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=2, interTransactionDelay=4000, maxRetries=0]
2020-10-03 21:18:50.062 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Multicast: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=3, interTransactionDelay=1200, maxRetries=0]
2020-10-03 21:18:50.063 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - ZigBeeNetworkManager initialize: networkState=UNINITIALISED
2020-10-03 21:18:50.064 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to INITIALISING
2020-10-03 21:18:50.066 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle initialize.
2020-10-03 21:18:50.066 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=INITIALISING
2020-10-03 21:18:50.067 [DEBUG] [ding.zigbee.handler.ZigBeeSerialPort] - Connecting to serial port [COM3] at 9600 baud, flow control FLOWCONTROL_OUT_RTSCTS.
2020-10-03 21:18:50.330 [DEBUG] [ding.zigbee.handler.ZigBeeSerialPort] - Serial port [COM3] is initialized.
2020-10-03 21:18:50.331 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler clearing receive buffer.
2020-10-03 21:18:50.431 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler cleared receive buffer.
2020-10-03 21:18:50.432 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset 1.
2020-10-03 21:18:50.432 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler thread started
2020-10-03 21:18:50.433 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:18:50.434 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:18:50.439 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 04 08 01 46 52 5E
2020-10-03 21:18:50.935 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in sendRequest XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:19:00.442 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBEE Timer: Timeout
2020-10-03 21:19:00.935 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in eventWait class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:00.936 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset 2.
2020-10-03 21:19:00.936 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:00.936 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeSetSoftwareResetCommand [frameId=2]
2020-10-03 21:19:00.937 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeSetSoftwareResetCommand [frameId=2]
2020-10-03 21:19:00.942 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 04 08 02 46 52 5D
2020-10-03 21:19:01.438 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in sendRequest XBeeSetSoftwareResetCommand [frameId=2]
2020-10-03 21:19:10.944 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBEE Timer: Timeout
2020-10-03 21:19:11.440 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in eventWait class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:11.441 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset 3.
2020-10-03 21:19:11.441 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:11.441 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeSetSoftwareResetCommand [frameId=3]
2020-10-03 21:19:11.442 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeSetSoftwareResetCommand [frameId=3]
2020-10-03 21:19:11.447 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 04 08 03 46 52 5C
2020-10-03 21:19:11.942 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in sendRequest XBeeSetSoftwareResetCommand [frameId=3]
2020-10-03 21:19:21.448 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBEE Timer: Timeout
2020-10-03 21:19:21.944 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in eventWait class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:21.944 [INFO ] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset failed after 4 tries.
2020-10-03 21:19:21.944 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:21.944 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to OFFLINE
2020-10-03 21:19:21.945 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=OFFLINE
2020-10-03 21:19:21.945 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.NullPointerException: null
	at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.initialiseZigBee(ZigBeeCoordinatorHandler.java:425) ~[?:?]
	at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.lambda$2(ZigBeeCoordinatorHandler.java:543) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_251]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_251]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) ~[?:1.8.0_251]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:1.8.0_251]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_251]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_251]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
2020-10-03 21:19:26.948 [INFO ] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee dongle inactivity timer. Reinitializing ZigBee
2020-10-03 21:19:26.949 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - ZigBeeNetworkManager shutdown: networkState=OFFLINE
2020-10-03 21:19:26.949 [DEBUG] [atabase.ZigBeeNetworkDatabaseManager] - Data store: Deferred Write Time set to 0ms
2020-10-03 21:19:26.950 [DEBUG] [atabase.ZigBeeNetworkDatabaseManager] - Data store: Deferred Write Time set less than Max Deferred Write Time
2020-10-03 21:19:26.950 [DEBUG] [atabase.ZigBeeNetworkDatabaseManager] - Data store: Max Deferred Write Time set to 0ms
2020-10-03 21:19:26.951 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to SHUTDOWN
2020-10-03 21:19:26.952 [DEBUG] [atabase.ZigBeeNetworkDatabaseManager] - Data store: Shutdown
2020-10-03 21:19:26.952 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=SHUTDOWN
2020-10-03 21:19:27.068 [DEBUG] [ding.zigbee.handler.ZigBeeSerialPort] - Serial port 'COM3' closed.
2020-10-03 21:19:27.068 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler thread exited.
2020-10-03 21:19:27.070 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:27.070 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler closed.
2020-10-03 21:19:27.070 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:27.071 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:27.071 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle shutdown.
2020-10-03 21:19:27.072 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Shutdown
2020-10-03 21:19:27.072 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Broadcast: Queue shutdown
2020-10-03 21:19:27.073 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Multicast: Queue shutdown
2020-10-03 21:19:27.075 [DEBUG] [ding.zigbee.xbee.handler.XBeeHandler] - Initializing ZigBee XBee serial bridge handler.
2020-10-03 21:19:27.076 [DEBUG] [ding.zigbee.xbee.handler.XBeeHandler] - ZigBee XBee Coordinator opening Port:'COM3' PAN:acb6, EPAN:E47568F850468554, Channel:11
2020-10-03 21:19:27.077 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Scheduling ZigBee start
2020-10-03 21:19:28.079 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee network starting
2020-10-03 21:19:28.080 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Initialising ZigBee coordinator
2020-10-03 21:19:28.081 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Default: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=1, interTransactionDelay=50, maxRetries=2]
2020-10-03 21:19:28.081 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Broadcast: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=2, interTransactionDelay=4000, maxRetries=0]
2020-10-03 21:19:28.082 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Multicast: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=3, interTransactionDelay=1200, maxRetries=0]
2020-10-03 21:19:28.083 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - ZigBeeNetworkManager initialize: networkState=UNINITIALISED
2020-10-03 21:19:28.083 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to INITIALISING
2020-10-03 21:19:28.085 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle initialize.
2020-10-03 21:19:28.085 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=INITIALISING
2020-10-03 21:19:28.086 [DEBUG] [ding.zigbee.handler.ZigBeeSerialPort] - Connecting to serial port [COM3] at 9600 baud, flow control FLOWCONTROL_OUT_RTSCTS.
2020-10-03 21:19:28.350 [DEBUG] [ding.zigbee.handler.ZigBeeSerialPort] - Serial port [COM3] is initialized.
2020-10-03 21:19:28.351 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler clearing receive buffer.
2020-10-03 21:19:28.451 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler cleared receive buffer.
2020-10-03 21:19:28.452 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset 1.
2020-10-03 21:19:28.452 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler thread started
2020-10-03 21:19:28.453 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:19:28.454 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:19:28.458 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 04 08 01 46 52 5E
2020-10-03 21:19:28.955 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in sendRequest XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:19:38.460 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBEE Timer: Timeout
2020-10-03 21:19:38.956 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in eventWait class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:38.957 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset 2.
2020-10-03 21:19:38.957 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:38.958 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeSetSoftwareResetCommand [frameId=2]
2020-10-03 21:19:38.958 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeSetSoftwareResetCommand [frameId=2]
2020-10-03 21:19:38.963 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 04 08 02 46 52 5D
2020-10-03 21:19:39.458 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in sendRequest XBeeSetSoftwareResetCommand [frameId=2]
2020-10-03 21:19:48.965 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBEE Timer: Timeout
2020-10-03 21:19:49.462 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in eventWait class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:49.463 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset 3.
2020-10-03 21:19:49.463 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:49.464 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeSetSoftwareResetCommand [frameId=3]
2020-10-03 21:19:49.464 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeSetSoftwareResetCommand [frameId=3]
2020-10-03 21:19:49.468 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 04 08 03 46 52 5C
2020-10-03 21:19:49.966 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in sendRequest XBeeSetSoftwareResetCommand [frameId=3]
2020-10-03 21:19:59.472 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBEE Timer: Timeout
2020-10-03 21:19:59.967 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in eventWait class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:59.968 [INFO ] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset failed after 4 tries.
2020-10-03 21:19:59.968 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:19:59.968 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to OFFLINE
2020-10-03 21:19:59.969 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=OFFLINE
2020-10-03 21:19:59.969 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.NullPointerException: null
	at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.initialiseZigBee(ZigBeeCoordinatorHandler.java:425) ~[?:?]
	at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.lambda$2(ZigBeeCoordinatorHandler.java:543) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_251]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_251]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) ~[?:1.8.0_251]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:1.8.0_251]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_251]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_251]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
2020-10-03 21:20:04.974 [INFO ] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee dongle inactivity timer. Reinitializing ZigBee
2020-10-03 21:20:04.975 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - ZigBeeNetworkManager shutdown: networkState=OFFLINE
2020-10-03 21:20:04.975 [DEBUG] [atabase.ZigBeeNetworkDatabaseManager] - Data store: Deferred Write Time set to 0ms
2020-10-03 21:20:04.976 [DEBUG] [atabase.ZigBeeNetworkDatabaseManager] - Data store: Deferred Write Time set less than Max Deferred Write Time
2020-10-03 21:20:04.976 [DEBUG] [atabase.ZigBeeNetworkDatabaseManager] - Data store: Max Deferred Write Time set to 0ms
2020-10-03 21:20:04.978 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to SHUTDOWN
2020-10-03 21:20:04.978 [DEBUG] [atabase.ZigBeeNetworkDatabaseManager] - Data store: Shutdown
2020-10-03 21:20:04.979 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=SHUTDOWN
2020-10-03 21:20:05.104 [DEBUG] [ding.zigbee.handler.ZigBeeSerialPort] - Serial port 'COM3' closed.
2020-10-03 21:20:05.104 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler thread exited.
2020-10-03 21:20:05.106 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:20:05.106 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler closed.
2020-10-03 21:20:05.106 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:20:05.106 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:20:05.107 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle shutdown.
2020-10-03 21:20:05.107 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Shutdown
2020-10-03 21:20:05.108 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Broadcast: Queue shutdown
2020-10-03 21:20:05.108 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Multicast: Queue shutdown
2020-10-03 21:20:05.109 [DEBUG] [ding.zigbee.xbee.handler.XBeeHandler] - Initializing ZigBee XBee serial bridge handler.
2020-10-03 21:20:05.110 [DEBUG] [ding.zigbee.xbee.handler.XBeeHandler] - ZigBee XBee Coordinator opening Port:'COM3' PAN:acb6, EPAN:E47568F850468554, Channel:11
2020-10-03 21:20:05.111 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Scheduling ZigBee start
2020-10-03 21:20:06.115 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee network starting
2020-10-03 21:20:06.115 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Initialising ZigBee coordinator
2020-10-03 21:20:06.115 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Default: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=1, interTransactionDelay=50, maxRetries=2]
2020-10-03 21:20:06.116 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Broadcast: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=2, interTransactionDelay=4000, maxRetries=0]
2020-10-03 21:20:06.116 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - Multicast: Set profile to ZigBeeTransactionProfile [maxOutstandingTransactions=3, interTransactionDelay=1200, maxRetries=0]
2020-10-03 21:20:06.117 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - ZigBeeNetworkManager initialize: networkState=UNINITIALISED
2020-10-03 21:20:06.118 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to INITIALISING
2020-10-03 21:20:06.119 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle initialize.
2020-10-03 21:20:06.119 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=INITIALISING
2020-10-03 21:20:06.121 [DEBUG] [ding.zigbee.handler.ZigBeeSerialPort] - Connecting to serial port [COM3] at 9600 baud, flow control FLOWCONTROL_OUT_RTSCTS.
2020-10-03 21:20:06.400 [DEBUG] [ding.zigbee.handler.ZigBeeSerialPort] - Serial port [COM3] is initialized.
2020-10-03 21:20:06.400 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler clearing receive buffer.
2020-10-03 21:20:06.501 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler cleared receive buffer.
2020-10-03 21:20:06.502 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset 1.
2020-10-03 21:20:06.503 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBeeFrameHandler thread started
2020-10-03 21:20:06.504 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:20:06.504 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:20:06.509 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 04 08 01 46 52 5E
2020-10-03 21:20:07.005 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in sendRequest XBeeSetSoftwareResetCommand [frameId=1]
2020-10-03 21:20:16.511 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBEE Timer: Timeout
2020-10-03 21:20:17.007 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in eventWait class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:20:17.008 [DEBUG] [.zigbee.dongle.xbee.ZigBeeDongleXBee] - XBee dongle reset 2.
2020-10-03 21:20:17.008 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in waitEventAsync class com.zsmartsystems.zigbee.dongle.xbee.internal.protocol.XBeeModemStatusEvent
2020-10-03 21:20:17.009 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE queue: 1: XBeeSetSoftwareResetCommand [frameId=2]
2020-10-03 21:20:17.009 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE: XBeeSetSoftwareResetCommand [frameId=2]
2020-10-03 21:20:17.014 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - TX XBEE Data: 00 04 08 02 46 52 5D
2020-10-03 21:20:17.511 [DEBUG] [ongle.xbee.internal.XBeeFrameHandler] - XBee interrupted in sendRequest XBeeSetSoftwareResetCommand [frameId=2]

The device changes from unknown to offline and that’s it…

So, this is clearly a different issue than your previous problem which is why it’s good to see logs as earlier you said “the other 2 sticks show exactly the same behaviour” :wink:

With this, the port is opening, so the problem is not the same as the other stick. There is however no communication with the dongle. The XBee has a number of different firmware options - what one are you running? Maybe it’s the wrong one?

Thank you very much for the log analysis! According to the output from the manafacturer’s XCTU sofware it is version2003:

According to the Xbee Release notes this firmware version is from 2019, April 10th.

EDIT: There are a couple of newer firmware versions available according to XCTU software. Should I try to upgrade?

No - that’s not what I meant - what I meant. There is an 802.15.4 version, a command mode version and another one that I forget. What one are you running?

As far as I can see it in the XCTU display I would assume it is the 802.15.4 version:
grafik

Which version is supposed to work with the Zigbee binding?

Zigbee uses or is an enhancement of 802.15.4

So, the stick should be supported then?