Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensors not working #40

Open
lpw opened this issue Nov 13, 2014 · 2 comments
Open

Sensors not working #40

lpw opened this issue Nov 13, 2014 · 2 comments

Comments

@lpw
Copy link

lpw commented Nov 13, 2014

Doesn't seem to work with or support binary (motion) sensors - perhaps related to #33. Works in current C++ API/lib. I'll look into it if I have time, but since node.js isn't a requirement for this project, might just stick with C++.

@abalam666
Copy link

Same problem here too...
latest openzwave recompiled with gyp, but I don't know why OZW_Log.txt is showing good detections :

2015-03-22 22:31:18.650 Detail, Node027, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x1b, 0x03, 0x30, 0x03, 0xff, 0x26
2015-03-22 22:31:18.654 Info, Node027, Received SensorBinary report: Sensor:38 State=On
2015-03-22 22:31:18.656 Detail, Node027, Refreshed Value: old value=true, new value=true, type=bool
2015-03-22 22:31:18.659 Detail, Node027, Changes to this value are verified
2015-03-22 22:31:18.661 Info, Node027, Spurious value change was noted.
2015-03-22 22:31:18.664 Detail, Node027, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x1b, 0x03, 0x20, 0x01, 0xff, 0x34
2015-03-22 22:31:18.669 Info, Node027, Received Basic set from node 27: level=255. Treating it as a Basic report.
2015-03-22 22:31:49.348 Detail, Node027, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x1b, 0x03, 0x30, 0x03, 0x00, 0xd9
2015-03-22 22:31:49.353 Info, Node027, Received SensorBinary report: Sensor:217 State=Off
2015-03-22 22:31:49.355 Detail, Node027, Refreshed Value: old value=true, new value=false, type=bool
2015-03-22 22:31:49.358 Detail, Node027, Changes to this value are verified
2015-03-22 22:31:49.359 Info, Node027, Changed value (possible)--rechecking
2015-03-22 22:31:49.366 Detail, Node027, Queuing (WakeUp) SensorBinaryCmd_Get (Node=27): 0x01, 0x09, 0x00, 0x13, 0x1b, 0x02, 0x30, 0x02, 0x25, 0x4d, 0xa6
2015-03-22 22:31:49.369 Detail, Node027, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x1b, 0x03, 0x20, 0x01, 0x00, 0xcb
2015-03-22 22:31:49.373 Info, Node027, Received Basic set from node 27: level=0. Treating it as a Basic report.

But openzwave.cc does not emit "value changed" to nodejs...
Maybe i'm not as good as i thought in C++ ^^
Any help would be appreciated !
Thank you for reading

@abalam666
Copy link

I wonder if the message "rechecking" might be a clue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants