Closed DivineThreepwood closed 8 years ago
Hey Chris,
any Idea what's going wrong?
Cheers, Divine
Not really. This sort of error is a very low level comms error between the binding and the stick. I’ve normally only seen it when there’s some strange timing going on - maybe you’re using a slow computer, or a VM or something? (you don’t mention the hardware or environment). It normally happens if there are bytes being dropped occasionally between the stick and the binding...
Unfortunately I don’t have any good ideas on how to fix it though.
Hey that's a good hint!
I'am running OpenHAB in a vm with kvm. May there is an issue with the usb pass-through configuration. I will have a look at this end of the week.
Thanks!
Had the same error today, in my case it was caused by a mixup of USB devices at restart. /dev/ttyUSB0 used to be the AEON stick, but at restart it became /dev/ttyUSB1.
/dev/ttyUSB0 was connected to a USB to serial device (connected to my Smart Energy meter), so it did some non-Zwave serial communication causing these very strange errors.
It could be the case you encountered the same.
So it really seems to be a virtual machine issue. After moving my distribution to the host machine, the error does not occur again.
@jwveldhuis Thanks for your hint but on the one hand the zwave stick is the only usb device which is connected to server and on the other openhab is linked to /dev/zwave which is aliased to the stick to avoid your issue (just checkout https://github.com/openhab/openhab/wiki/symlinks).
Chris do you have some more experiences in running openhab in a virtual maschine with a zwave stick pass-through? Or do you know some related issues?
Cheers! Marian
@DivineThreepwood yes you are right, an incorrect USB device cant be the issue here as it happens over time. I did not properly read the problem description, sorry about that. Symlinking was the solution for me indeed, thanks for pointing that out.
Sorry - I didn't see the question there for me... No - I don't have any experience with running this in a VM - sorry.
I suggest to close this and continue the discussion if necessary on the forum.
Hey,
I have a strange issue with two Openhab + Zwave setups where the zwave networks crashes after around 1 - 42 hours. These setups are independent but showing the same behavior. The zwave log prints some protocol errors and afterwards the communication breaks down and the log continues printing:
Hardware and Versions
Z-Wave Controller: Z-Wave Plus USB Stick (ZME_UZB) Openhab Version: 1.6.2 Habmin Version: 1.7.0 Z-Wave Binding Version: 1.8.0
Log 1 (Setup 1)
Log (Setup 2)
Got the same behavior with zwave binding 1.7.0. Openhab and the other bindings performing normal without getting any errors. Openhab still logs the state changes if lamps are switch on or off via the android app. But the zwave binding log and the hardware shows no reaction. And even after the failure the zwave node seems to be able to reach the controller, at least my fibaro smoke detectors triggers no "can not reach main controller" alert.
Has some a idea whats happening?
Cheers, DivineThreepwood