Zigbee binding

Thanks, done :wink:

1 Like

Hey @chris the pr has been in for a few days and the pressure spikes appear to have stopped. I think it did the trick. Thanks.

1 Like

I have upgraded to M4 and the latest bindings, but I am seeing some errors in the main OH log file now. I will get those figured out and then I’ll see where my zigbee stick is at.

Ok, upgraded to OH M4 and the latest zigbee libs:

openhab> bundle:list -s | grep -i g.zig
285 x Active   x  80 x 2.4.0.201810032130     x org.openhab.binding.zigbee.telegesis
287 x Active   x  80 x 2.4.0.201810032130     x org.openhab.binding.zigbee.ember
288 x Active   x  80 x 2.4.0.201810032130     x org.openhab.binding.zigbee.xbee
293 x Active   x  80 x 2.4.0.201810032130     x org.openhab.binding.zigbee
294 x Active   x  80 x 2.4.0.201810032130     x org.openhab.binding.zigbee.cc2531
openhab> bundle:list -s | grep -i s.zig
286 x Active   x  80 x 1.1.2                  x com.zsmartsystems.zigbee.dongle.cc2531
289 x Active   x  80 x 1.1.2                  x com.zsmartsystems.zigbee
290 x Active   x  80 x 1.1.2                  x com.zsmartsystems.zigbee.dongle.xbee
291 x Active   x  80 x 1.1.2                  x com.zsmartsystems.zigbee.dongle.ember
292 x Active   x  80 x 1.1.2                  x com.zsmartsystems.zigbee.dongle.telegesis

but I am still seeing the same behavior:

  1. zigbee logs look good on startup
2018-10-06 17:29:32.162 [DEBUG] [org.openhab.binding.zigbee.telegesis] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.firmware.FirmwareUpdateHandler}={service.id=343, service.bundleid=285, service.scope=singleton} - org.openhab.binding.zigbee.telegesis
2018-10-06 17:29:32.165 [DEBUG] [e.telegesis.handler.TelegesisHandler] - Initializing ZigBee Telegesis serial bridge handler.
2018-10-06 17:29:32.166 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Initializing ZigBee network [zigbee:coordinator_telegesis:04003E38].
2018-10-06 17:29:32.166 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Channel -1
2018-10-06 17:29:32.167 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - PANID 49600
2018-10-06 17:29:32.167 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - EPANID 785E4F0CDFD4E66B
2018-10-06 17:29:32.167 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Network Key null
2018-10-06 17:29:32.167 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Link Key null
2018-10-06 17:29:32.168 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Network Key String 
2018-10-06 17:29:32.168 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Network key initialised 80C519ACEC72365F1AEF152485FCB27A
2018-10-06 17:29:32.169 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Network key final array 80C519ACEC72365F1AEF152485FCB27A
2018-10-06 17:29:32.169 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Link Key String 
2018-10-06 17:29:32.169 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Link Key String has invalid format. Revert to default key.
2018-10-06 17:29:32.169 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Link key final array 5A6967426565416C6C69616E63653039
2018-10-06 17:29:32.174 [DEBUG] [e.telegesis.handler.TelegesisHandler] - ZigBee Telegesis Coordinator opening Port:'/dev/ttyUSB1' PAN:c1c0, EPAN:785E4F0CDFD4E66B, Channel:-1
2018-10-06 17:29:32.176 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Scheduling ZigBee start
  1. Yet PaperUI shows it as offline:
    Status: OFFLINE Failed to startup ZigBee transport layer

  2. And when I start a scan it aborts right after it starts:

> 2018-10-06 17:30:37.118 [DEBUG] [bee.discovery.ZigBeeDiscoveryService] - Starting ZigBee scan for zigbee:coordinator_telegesis:04003E38
> 2018-10-06 17:30:37.118 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee coordinator is offline - aborted scan for zigbee:coordinator_telegesis:04003E38

Worth noting that I see several ServiceEvent REGISTER / ServiceEvent UNREGISTERING cycles in the logs. This may have been correlated to when I check the dongle status in PaperUI, but I can’t say for sure

Full logs: openhab.log zigbee.log

Hi Scott… Thnks for your example…
My org.ops4j.pax.logging.cfg is located in /srv/openhab2-userdata/etc/

I just added this to the config file.

# Zigbee
log4j2.logger.ZSmart.name = com.zsmartsystems.zigbee
log4j2.logger.ZSmart.level = DEBUG
log4j2.logger.ZSmart.additivity = false
log4j2.logger.ZSmart.appenderRefs = ZSmart
log4j2.logger.ZSmart.appenderRef.ZSmart.ref = ZIGBEE

log4j2.logger.Zigbee.name = org.openhab.binding.zigbee
log4j2.logger.Zigbee.level = DEBUG
log4j2.logger.Zigbee.additivity = false
log4j2.logger.Zigbee.appenderRefs = Zigbee
log4j2.logger.Zigbee.appenderRef.Zigbee.ref = ZIGBEE

# Zigbee
log4j2.appender.Zigbee.name = ZIGBEE
log4j2.appender.Zigbee.type = RollingRandomAccessFile
log4j2.appender.Zigbee.fileName = /var/log/openhab2/zigbee.log
log4j2.appender.Zigbee.filePattern = /var/log/openhab2/zigbee.log.%d{yyyyMMddHHmmss}
log4j2.appender.Zigbee.immediateFlush = true
log4j2.appender.Zigbee.append = true
log4j2.appender.Zigbee.layout.type = PatternLayout
log4j2.appender.Zigbee.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%c] - %m%n
log4j2.appender.Zigbee.policies.type = Policies
log4j2.appender.Zigbee.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.Zigbee.policies.size.size = 10MB
log4j2.appender.Zigbee.strategy.type = DefaultRolloverStrategy
log4j2.appender.Zigbee.strategy.max = 10

I believe that should do the trick… a zigbee.log file was created in /var/log/openhab2/ but its 0 bytes in size right now… But I think the zigbee binding has stopped working again. I dont get any respons from any of my devices. Could that be the reason for this beeing a 0 byte file?

@5iver
After an reboot, and activationg DEBUG level for zigbee and Zsmart systems, the zigbee-log file is still 0 byte in size…
I guess itΒ΄s not logging to this file after all… Hmprf! :frowning:

Will continue in this thread:

That’s great - thanks for the feedback :slight_smile:

These are the shortest β€œfull” logs I’ve seen :wink: . Please can you enable debug logging - there’s only INFO in here…

I suspect it will show the same issue as previously. There was a bug introduced a while back where the initialisation method returned an error and this stopped the binding starting. I’m pretty sure this was fixed in 1.1.2 though -:

This was merged on the 22nd Sept, and 1.1.2 was released on the 23rd Sept. :confused:

Oops, forgot to enable debug for the main OH classes. Here’s another one: openhab.log Hopefully that gives you what you need :slight_smile:

Hmm. I did a fresh M4 install which looks like it was built on Sept 25th. Here’s a full version list of what I’m running:

openhab> bundle:list
START LEVEL 100 , List Threshold: 50
 ID β”‚ State    β”‚ Lvl β”‚ Version                β”‚ Name
────┼──────────┼─────┼────────────────────────┼─────────────────────────────────────────────
 20 β”‚ Active   β”‚  80 β”‚ 5.3.1.201602281253     β”‚ OSGi JAX-RS Connector
 21 β”‚ Active   β”‚  80 β”‚ 2.7.0.v20170129-0911   β”‚ Gson: Google Json Library for Java
 23 β”‚ Active   β”‚  80 β”‚ 3.0.0.v201312141243    β”‚ Google Guice (No AOP)
 26 β”‚ Active   β”‚  80 β”‚ 3.5.4                  β”‚ JmDNS
 28 β”‚ Active   β”‚  80 β”‚ 1.0.0                  β”‚ Units of Measurement API
 30 β”‚ Active   β”‚  80 β”‚ 1.1.0.Final            β”‚ Bean Validation API
 31 β”‚ Active   β”‚  80 β”‚ 2.0.1                  β”‚ javax.ws.rs-api
 32 β”‚ Active   β”‚  80 β”‚ 3.2.0.v201101311130    β”‚ ANTLR Runtime
 35 β”‚ Active   β”‚  80 β”‚ 3.2.1                  β”‚ Commons Collections
 36 β”‚ Active   β”‚  80 β”‚ 1.1                    β”‚ Commons Exec
 37 β”‚ Active   β”‚  80 β”‚ 2.2.0                  β”‚ Commons IO
 38 β”‚ Active   β”‚  80 β”‚ 2.6                    β”‚ Commons Lang
 47 β”‚ Active   β”‚  80 β”‚ 4.2.1                  β”‚ Apache Karaf :: OSGi Services :: Event
 63 β”‚ Active   β”‚  80 β”‚ 4.6.0                  β”‚ Apache XBean OSGI Bundle Utilities
 64 β”‚ Active   β”‚  80 β”‚ 4.6.0                  β”‚ Apache XBean :: Classpath Resource Finder
 65 β”‚ Active   β”‚  80 β”‚ 2.12.0.v20160420-0247  β”‚ EMF Common
 66 β”‚ Active   β”‚  80 β”‚ 2.12.0.v20160420-0247  β”‚ EMF Ecore
 67 β”‚ Active   β”‚  80 β”‚ 2.11.0.v20160420-0247  β”‚ EMF Change Model
 68 β”‚ Active   β”‚  80 β”‚ 2.12.0.v20160420-0247  β”‚ EMF XML/XMI Persistence
 69 β”‚ Active   β”‚  80 β”‚ 3.8.0.v20160509-1230   β”‚ Common Eclipse Runtime
 70 β”‚ Active   β”‚  80 β”‚ 3.6.100.v20160223-2218 β”‚ Extension Registry Support
 80 β”‚ Active   β”‚  80 β”‚ 9.4.11.v20180605       β”‚ Jetty :: Proxy
 94 β”‚ Active   β”‚  80 β”‚ 0.4.1.v20180515-1321   β”‚ org.eclipse.lsp4j
 95 β”‚ Active   β”‚  80 β”‚ 0.4.1.v20180515-1321   β”‚ org.eclipse.lsp4j.jsonrpc
 96 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Config Core
 97 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Configuration Discovery
 98 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Configuration mDNS Discov
 99 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Config Dispatcher
100 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Config XML
101 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core
102 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core Audio
103 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core Binding XML
104 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core ID
105 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core Persistence
106 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Scheduler Service
107 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core Thing
108 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core Thing XML
109 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Transformation Service
110 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core Voice
111 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Console
112 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Console for OSGi runtime
113 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome JavaSound I/O, Fragments:
114 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Monitor
115 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Net I/O Bundle
116 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome REST Interface Bundle
117 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Core REST API
118 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome REST mDNS Announcer
119 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome REST Interface JAX-RS opt
120 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Sitemap REST API
121 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome SSE REST API
122 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Voice REST API
123 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Bonjour/MDS Service Disco
124 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Web Audio Support
125 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Model Core
126 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Item Model
127 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Item Model IDE
128 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Item Model Runtime
129 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Language Server
130 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Persistence Model
131 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Persistence Model IDE
132 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Persistence Runtime
133 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Rule Model
134 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Rule Model IDE
135 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Rule Runtime
136 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Script
137 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Script Model IDE
138 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Script Runtime
139 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Sitemap Model
140 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Sitemap Model IDE
141 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Sitemap Runtime
142 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Thing Model
143 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Thing Model IDE
144 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Thing Model Runtime
145 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Json Storage Service
146 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome UI
147 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome UI Icons
148 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Classic IconSet
149 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1629  β”‚ Xtend Runtime Library
150 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1629  β”‚ Xtend Macro Interfaces
151 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1821  β”‚ Xtext
152 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1833  β”‚ Xtext Common Types
153 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1821  β”‚ Xtext IDE Core
154 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1821  β”‚ Xtext Utility
155 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1833  β”‚ Xbase Model
156 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1833  β”‚ Xbase Generic IDE Services
157 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1629  β”‚ Xbase Runtime Library
172 β”‚ Active   β”‚  80 β”‚ 1.9.6                  β”‚ MIME streaming extension
174 β”‚ Active   β”‚  80 β”‚ 6.2.0                  β”‚ org.objectweb.asm
175 β”‚ Active   β”‚  80 β”‚ 6.2.0                  β”‚ org.objectweb.asm.commons
176 β”‚ Active   β”‚  80 β”‚ 6.2.0                  β”‚ org.objectweb.asm.tree
177 β”‚ Active   β”‚  90 β”‚ 2.4.0.M4               β”‚ openHAB Core
178 β”‚ Active   β”‚  80 β”‚ 2.4.0.M4               β”‚ openHAB Karaf Integration
180 β”‚ Resolved β”‚  80 β”‚ 2.4.0.M4               β”‚ openHAB Sound Support, Hosts: 113
181 β”‚ Active   β”‚  80 β”‚ 2.4.0.M4               β”‚ openHAB Dashboard UI
186 β”‚ Active   β”‚  80 β”‚ 1.0.2                  β”‚ Units of Measurement Common Library
187 β”‚ Active   β”‚  80 β”‚ 1.0.8                  β”‚ Units of Measurement Implementation for Jav
199 β”‚ Active   β”‚  80 β”‚ 1.6.0                  β”‚ Commons Codec
200 β”‚ Active   β”‚  80 β”‚ 3.3.0                  β”‚ Commons Net
201 β”‚ Active   β”‚  80 β”‚ 4.2.3                  β”‚ Apache HttpClient OSGi bundle
202 β”‚ Active   β”‚  80 β”‚ 4.2.3                  β”‚ Apache HttpCore OSGi bundle
203 β”‚ Active   β”‚  80 β”‚ 3.1.0.7                β”‚ Apache ServiceMix :: Bundles :: commons-htt
204 β”‚ Active   β”‚  80 β”‚ 2.4.0.M4               β”‚ openHAB 1.x Compatibility Layer
205 β”‚ Active   β”‚  80 β”‚ 1.1.1.201605111122     β”‚ Swagger Provider
206 β”‚ Active   β”‚  80 β”‚ 2.4.5                  β”‚ Jackson-annotations
207 β”‚ Active   β”‚  80 β”‚ 2.4.5                  β”‚ Jackson-core
208 β”‚ Active   β”‚  80 β”‚ 2.4.5                  β”‚ jackson-databind
209 β”‚ Active   β”‚  80 β”‚ 2.4.5                  β”‚ Jackson-dataformat-XML
210 β”‚ Active   β”‚  80 β”‚ 2.4.5                  β”‚ Jackson-dataformat-YAML
211 β”‚ Active   β”‚  80 β”‚ 2.4.5                  β”‚ Jackson-module-JAXB-annotations
212 β”‚ Active   β”‚  80 β”‚ 18.0.0                 β”‚ Guava: Google Core Libraries for Java
213 β”‚ Active   β”‚  80 β”‚ 2.1.0                  β”‚ json-path
214 β”‚ Active   β”‚  80 β”‚ 3.14.0                 β”‚ nrjavaserial
220 β”‚ Active   β”‚  80 β”‚ 1.5.8                  β”‚ swagger-annotations
221 β”‚ Active   β”‚  80 β”‚ 1.5.8                  β”‚ swagger-core
222 β”‚ Active   β”‚  80 β”‚ 1.5.8                  β”‚ swagger-jaxrs
223 β”‚ Active   β”‚  80 β”‚ 1.5.8                  β”‚ swagger-models
224 β”‚ Active   β”‚  80 β”‚ 3.19.0.GA              β”‚ Javassist
225 β”‚ Active   β”‚  80 β”‚ 2.2                    β”‚ json-smart
226 β”‚ Active   β”‚  80 β”‚ 3.2.1                  β”‚ Apache Commons Lang
227 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Astro Binding
228 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Configuration USB-Serial
229 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Configuration USB-Serial
230 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Config Serial
231 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Serial Transport
232 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Serial Transport for RXTX
233 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Serial Transport extensio
234 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Exec Transformation Servi
235 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome JavaScript Transformation
236 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome JSonPath Transformation S
237 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Map Transformation Service
238 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome RegEx Transformation Serv
239 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Scale Transformation Serv
240 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome XPath Transformation Serv
241 β”‚ Active   β”‚  75 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Xslt Transformation Servi
242 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Basic UI, Fragments: 253
243 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome WebApp UI, Fragments: 254
244 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh240M4         β”‚ Eclipse SmartHome Paper UI, Fragments: 257
245 β”‚ Active   β”‚  80 β”‚ 2.4.0.M4               β”‚ DSCAlarm Binding
252 β”‚ Active   β”‚  80 β”‚ 2.4.0.M4               β”‚ openHAB REST Documentation
253 β”‚ Resolved β”‚  75 β”‚ 2.4.0.M4               β”‚ openHAB Basic UI Fragment, Hosts: 242
254 β”‚ Resolved β”‚  75 β”‚ 2.4.0.M4               β”‚ openHAB Classic UI Fragment, Hosts: 243
255 β”‚ Active   β”‚  80 β”‚ 2.4.0.M4               β”‚ HABmin User Interface
256 β”‚ Active   β”‚  80 β”‚ 2.4.0.M4               β”‚ HABPanel User Interface
257 β”‚ Resolved β”‚  75 β”‚ 2.4.0.M4               β”‚ openHAB Paper UI Theme Fragment, Hosts: 244
258 β”‚ Active   β”‚  80 β”‚ 0.9.10.v20160429-1435  β”‚ reflections (wrap)
259 β”‚ Active   β”‚  80 β”‚ 3.1.4                  β”‚ Stax2 API
260 β”‚ Active   β”‚  80 β”‚ 1.5.8.v20160511-1038   β”‚ swagger-jersey2-jaxrs (wrap)
274 β”‚ Active   β”‚  80 β”‚ 2.4.0.201810032130     β”‚ ZWave Binding
285 β”‚ Active   β”‚  80 β”‚ 2.4.0.201810032130     β”‚ ZigBee Telegesis Binding
286 β”‚ Active   β”‚  80 β”‚ 1.1.2                  β”‚ com.zsmartsystems.zigbee.dongle.cc2531
287 β”‚ Active   β”‚  80 β”‚ 2.4.0.201810032130     β”‚ ZigBee Ember Binding
288 β”‚ Active   β”‚  80 β”‚ 2.4.0.201810032130     β”‚ ZigBee XBee Binding
289 β”‚ Active   β”‚  80 β”‚ 1.1.2                  β”‚ com.zsmartsystems.zigbee
290 β”‚ Active   β”‚  80 β”‚ 1.1.2                  β”‚ com.zsmartsystems.zigbee.dongle.xbee
291 β”‚ Active   β”‚  80 β”‚ 1.1.2                  β”‚ com.zsmartsystems.zigbee.dongle.ember
292 β”‚ Active   β”‚  80 β”‚ 1.1.2                  β”‚ com.zsmartsystems.zigbee.dongle.telegesis
293 β”‚ Active   β”‚  80 β”‚ 2.4.0.201810032130     β”‚ ZigBee Binding
294 β”‚ Active   β”‚  80 β”‚ 2.4.0.201810032130     β”‚ ZigBee CC2531 Binding

Unfortunately not (sorry). I don’t see the dongle initialising at all - in fact there’s nothing in the log that I can see from the ZigBeeCoordinatorHandler class. On top of this it’s missing the zsmartsystems library debug, but I’m not sure this is β€œmissing” as there’s nothing from the coordinator handler, so maybe it’s not being called. I’m not really sure what is happening, but it doesn’t look like the binding is even running :confused:.

This looks ok I think - at least there’s nothing obviously wrong.

I’m not sure what to suggest at the moment, but there’s something fundamentally wrong somewhere I think.

@chris
Finally with help from @5iver I have managed to log zigbee into a seperate logfile at debug level.
Zigbee is still running fine since a few hours ago, so the logfile will not show the typical problem IΒ΄ve got.
I just scanned through the logfile untill now, and there seem to be a few errors anyway. Some not supported attributes, and some managment error… I have no idea if thats important or not.
If you want to have a look, this is the logfile. logfile

Meanwhile, IΒ΄m just waiting for the communication to stop, hopefully soone, (IΒ΄ll bet within a day).

Thanks - I’ll take a look.

I suspect that the communications issue may not show anything useful in the log, but let’s see. It depends where the problem lies - if it’s a coordinator configuration issue, then the log won’t help (probably) - although it won’t hurt. For this, we will need a sniffer log (I’m still waiting to receive the dongles, but I hope they should be here in the coming days).

If the problem is an exception in the binding, then the log will help - either way, I’m very happy to take a look, and thanks for spending the time to get this set up.

I know. I just thought that maybe this log could provide someting, cause I saw these errors. It may have nothing to do with the failing communication, though.
Look forward to start sniffing so we hopefully can get this zigbee up running for good…

Do you mind emailing me your XML file for Zigbee - it’s in the {userdata}/zigbee folder.

Thanks.

Yep - it’s interesting and useful. I don’t think there’s anything major in the log, but I think I see one thing that is wrong, so I can fix that at least.

Done…

Sound great. Look forward to whatever changes that may be :slight_smile:

1 Like

Hi,
When I connect my Silicon lab’s WSTK board to openhabian, it shows this,

[zigbee.dongle.ember.ZigBeeDongleEzsp] - NCP requires unsupported version of EZSP (required = V7, supported = V4)

what is it and how to resolve it.

.

I am trying to install gateway on openhabian, using silicon lab’s zigbee wireless stater kit - EFR32MG12P332F1024Gl125

Please provide a debug log so we can see what is happening and also what binaries you have programmed.

From where, I can get Debug log

Please check the ZigBee binding documentation.

It is showing β€œunable to open serial port”. What is this, Is any driver missing?