jperkin / node-openzwave

node.js interface to libopenzwave
Other
110 stars 54 forks source link

v0.0.23 is much better! #10

Open mrose17 opened 10 years ago

mrose17 commented 10 years ago

here's my question in the current README.md file immediately after test.js runs, we see all of the attached nodes being enumerated.

when i run test.js with my z-stick s2 on /dev/cu.SLAB_USBtoUART this is what i see during the first five minutes. shouldn't it be immediately reporting what it knows. OZW_Log.txt is here: https://gist.github.com/mrose17/7094096

some of these devices are "smart plugs" that are plugged in and shouldn't be sleeping. node 16 is a repeater, that is too far away.

scanning homeid=0x16a29fc... node2: nop node3: nop node4: nop node5: nop node6: nop node7: nop node8: nop node8: node sleep node9: nop node9: node sleep node10: nop node11: nop node11: node sleep node12: nop node12: node sleep node13: nop node14: nop node14: node sleep node15: nop node15: node sleep node16: nop node3: nop node4: nop node6: nop node7: nop node13: nop unsupported value type: 0x2 node3: nop node3: node dead node4: nop node4: node dead node6: nop node6: node dead node7: nop node7: node dead unsupported value type: 0x2 node13: nop node13: node dead node1: Aeon Labs, Z-Stick S2 node1: name="", type="Static PC Controller", location="" node1: class 32 node1: Basic=0 Unhandled notification: 4 Unhandled notification: 4 node16: timeout node16: timeout node16: timeout node16: timeout

mrose17 commented 10 years ago

hi. after letting it run for a while , there's a better sense of things. here is the console output (after sort|uniq):

Unhandled notification: 4 Unhandled notification: 10 Unhandled notification: 23 unsupported value type: 0x2

it looks like devices that i've powered off are reported as dead (which is fine) and it seems to report information (eventually) about everything that isn't asleep, e.g.,

node5: Cooper, Unknown: type=4449, id=0003 node5: name="Plug-in Dimmer", type="Multilevel Power Switch", location="" node5: class 32 node5: class 38 node5: Level=63 node5: Bright=undefined node5: Dim=undefined node5: Ignore Start Level=true node5: Start Level=0 node5: class 39 node5: Switch All=0 node5: class 113 node5: Alarm Type=113 node5: Alarm Level=0 node5: class 115 node5: Powerlevel=0 node5: Timeout=0 node5: Set Powerlevel=undefined node5: Test Node=0 node5: Test Powerlevel=0 node5: Frame Count=0 node5: Test=undefined node5: Report=undefined node5: Test Status=0 node5: Acked Frames=0 node5: class 117 node5: Protection=0 node5: class 134 node5: Library Version=3 node5: Protocol Version=2.40 node5: Application Version=1.02

node8: node sleep

any idea how i can get the thing that is sleeping to wake up so i can get its info?

mrose17 commented 10 years ago

john - brief update: i'm going to add node-zwave to @TheThingsystem/steward, but in a "hidden" mode so that @zonak can start integrating devices. the good news is that i think this package is going to work out really well... the bad news is now you're going to have (at least) two developers asking nitty-gritty questions (-;

best,