-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
Testing a ZME_UZB1 controller. Abort-crash on network.stop()
. There are also some possibly unrelated errors at start-up; testing in a virtualenv with OZW config in /var/lib/openzwave/
(script modified accordingly):
$ python hello_world.py --device=/dev/ttyACM0 --log=Debug
...
INFO:openzwave:Start Openzwave network.
***** Waiting for network to become ready :
.ERROR:libopenzwave:notif_callback exception
Traceback (most recent call last):
File "src-lib/libopenzwave/libopenzwave.pyx", line 512, in libopenzwave.notif_callback
IndexError: list index out of range
UnboundLocalError: local variable 'n' referenced before assignment
Exception ignored in: 'libopenzwave.notif_callback'
UnboundLocalError: local variable 'n' referenced before assignment
ERROR:libopenzwave:notif_callback exception
Traceback (most recent call last):
File "src-lib/libopenzwave/libopenzwave.pyx", line 512, in libopenzwave.notif_callback
IndexError: list index out of range
UnboundLocalError: local variable 'n' referenced before assignment
Exception ignored in: 'libopenzwave.notif_callback'
UnboundLocalError: local variable 'n' referenced before assignment
ERROR:libopenzwave:notif_callback exception
Traceback (most recent call last):
File "src-lib/libopenzwave/libopenzwave.pyx", line 512, in libopenzwave.notif_callback
IndexError: list index out of range
UnboundLocalError: local variable 'n' referenced before assignment
Exception ignored in: 'libopenzwave.notif_callback'
UnboundLocalError: local variable 'n' referenced before assignment
INFO:openzwave:Driver ready using library Static Controller version Z-Wave 4.61
INFO:openzwave:home_id 0xff5b930c, controller node id is 1
Hello from network : I'm started : homeid ff5b930c - 1 nodes were found.
Hello from network : I'm ready : 1 nodes were found.
Hello from network : my controller is : home_id: [0xff5b930c] id: [1] name: [Hello name] product: [ZME_UZB1 USB Stick] capabilities: {'staticUpdateController', 'primaryController'} library: [Static Controller version Z-Wave 4.61]
***** Network is ready
Update controller name
Hello from node : home_id: [0xff5b930c] id: [1] name: [Hello name] model: [ZME_UZB1 USB Stick].
Update controller location
Hello from node : home_id: [0xff5b930c] id: [1] name: [Hello name] model: [ZME_UZB1 USB Stick].
INFO:openzwave:Stop Openzwave network.
INFO:openzwave:ZWave configuration written to user directory.
terminate called after throwing an instance of 'OpenZWave::OZWException'
what(): Manager.cpp:405 - InvalidHomeIDError (100) Msg: Invalid HomeId passed to GetDriver
Aborted
pyozw_check -i ...
runs OK:
$ pyozw_check --config_path /var/lib/openzwave/ -i -d /dev/ttyACM0 --user_path=${HOME}/tmp/OZW
...
2020-06-25 12:37:20.294 Info, Saving Cache
2020-06-25 12:37:20.294 Info, Node001, Cache Save for Node 1 as its QueryStage_CacheLoad
2020-06-25 12:37:20.295 Info, Stopping DNSThread
2020-06-25 12:37:22.296 Info, mgr, Driver for controller /dev/ttyACM0 removed
Try to remove watcher
Try to destroy manager
Try to destroy options
Retrieve HomeID
ff5b930c
Metadata
Metadata
Assignees
Labels
No labels