OpenHab2中离线的Zigbee协调器

时间:2019-03-30 05:48:21

标签: raspberry-pi raspberry-pi3 raspbian openhab

我在运行Raspbian的Raspberry Pi 3上运行OpenHab2版本2.4.0,我试图将ZigBee设置为能够连接到智能传感器,但我无法让ZigBee协调器上线,该协调器具有Zwave和Zigbee功能,我已经在网上说了Zwave Thing,但我不能在线上看到Zigbee Thing。 USB协调器是Nortek安全和控制USB。我正在使用PaperUI配置事物。

我检查了lsusb

  

pi @ raspberrypi:〜$ lsusb   总线001设备006:ID 04ca:004b Lite-On Technology Corp.   总线001设备005:ID 10c4:8a2a Cygnal Integrated Products,Inc.   总线001设备004:ID 046d:c52b Logitech,Inc.统一接收器   总线001设备003:ID 0424:ec00 Standard Microsystems Corp.SMSC9512 / 9514快速以太网适配器   总线001设备002:ID 0424:9514 Standard Microsystems Corp.SMC9514集线器   总线001设备001:ID 1d6b:0002 Linux Foundation 2.0根集线器   pi @ raspberrypi:〜$

当我运行dmesg -T | grep tty时,得到以下响应

  

pi @ raspberrypi:〜$ dmesg -T | grep tty   [2019年3月29日21:54:46]内核命令行:8250.nr_uarts = 0 bcm2708_fb.fbwidth = 1824 bcm2708_fb.fbheight = 984 bcm2708_fb.fbswap = 1 vc_mem.mem_base = 0x3ec00000 vc_memm.mem_size = 0x40 console = ttyS0,115200 console = tty1 root = / dev / mmcblk0p7 rootfstype = ext4 lift = deadline fsck.repair = yes rootwait splash plymouth.ignore-serial-soles   [2019年3月29日星期五21:54:46]启用控制台[tty1]   [2019年3月29日21:54:47] 3f201000.serial:MMIO 0x3f201000(ir​​q = 87,base_baud = 0)的ttyAMA0是PL011 rev2   [2019年3月29日星期五21:54:50] USB 1-1.3:cp210x转换器现在已连接到ttyUSB0   [2019年3月29日星期五21:54:50] USB 1-1.3:cp210x转换器现在已连接到ttyUSB1

openhab.log充满了大约20次以下消息

  

BaseThingHandler]-事物zigbee:coordinator_ember:6b3e0d22的处理程序EmberHandler尝试更新通道tx_dat,尽管该处理程序已经被处置。

它也有以下错误

  

2019-03-29 21:28:50.732 [错误] [nal.common.AbstractInvocationHandler]-在'org.openhab.binding.zigbee.ember.handler上调用方法'ThingHandler.dispose()'时发生错误.EmberHandler @ 1ea8355':空   java.lang.NullPointerException:空       在com.zsmartsystems.zigbee.app.discovery.ZigBeeDiscoveryExtension.extensionShutdown(ZigBeeDiscoveryExtension.java:96)〜[?:?]       在com.zsmartsystems.zigbee.ZigBeeNetworkManager.shutdown(ZigBeeNetworkManager.java:529)〜[?:?]       在org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.dispose(ZigBeeCoordinatorHandler.java:303)〜[?:?]       在org.openhab.binding.zigbee.ember.handler.EmberHandler.dispose(EmberHandler.java:128)〜[?:?]       在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)〜[?:?]       在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:?]       在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:?]       在java.lang.reflect.Method.invoke(Method.java:497)〜[?:?]       在org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153)[102:org.eclipse.smarthome.core:0.10.0.oh240]       在org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53)上[102:org.eclipse.smarthome.core:0.10.0.oh240]       在java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:?]       在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:?]       在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)[?:?]       在java.lang.Thread.run(Thread.java:745)[?:?]   2019-03-29 21:28:50.757 [错误] [core.thing.internal.ThingManagerImpl]-处置事物'zigbee:coordinator_ember:0d3bf8d6'的处理程序时发生异常:null   java.lang.NullPointerException:空       在com.zsmartsystems.zigbee.app.discovery.ZigBeeDiscoveryExtension.extensionShutdown(ZigBeeDiscoveryExtension.java:96)〜[?:?]       在com.zsmartsystems.zigbee.ZigBeeNetworkManager.shutdown(ZigBeeNetworkManager.java:529)〜[?:?]       在org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.dispose(ZigBeeCoordinatorHandler.java:303)〜[?:?]       在org.openhab.binding.zigbee.ember.handler.EmberHandler.dispose(EmberHandler.java:128)〜[?:?]       在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)〜[?:?]       在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:?]       在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:?]       在java.lang.reflect.Method.invoke(Method.java:497)〜[?:?]       在org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153)[102:org.eclipse.smarthome.core:0.10.0.oh240]       在org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53)上[102:org.eclipse.smarthome.core:0.10.0.oh240]       在java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:?]       在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:?]       在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)[?:?]       在java.lang.Thread.run(Thread.java:745)[?:?]

我的Ember的PaperUI设置为

  • 端口:/ dev / ttyUSB1
  • 流控制:软件(xon / xoff)
  • 波特率:57600

几天来,我一直在探索openhab2社区论坛,他们提出了不同的建议,但是没有任何作用,也没有给出明确的答案来解决此问题。

0 个答案:

没有答案