jperkin / node-openzwave

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

Changed values events not raised #33

Open abalam666 opened 9 years ago

abalam666 commented 9 years ago

Hello,

I'm using Aeon Stick S2 correctly with openzwave lib, i'm writing C++ programs to handle every logic i need. I try to move on to nodejs for obvious reasons. Your lib seems a good start, but i can't understand why it does not work like the original openzwave lib.

For example even if i wait for 2 hours for the scan to complete or copy the xml definitions i only have for a door lock/unlock:

Unhandled notification: 10 Unhandled notification: 10

And on the OZW_Log.txt there is a correct detection on the event :

2014-08-15 12:22:34.538 Node008, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x08, 0x03, 0x20, 0x01, 0xff, 0x27 2014-08-15 12:22:34.538 2014-08-15 12:22:34.538 Node008, Received Basic set from node 8: level=255. Sending event notification. 2014-08-15 12:22:36.131 Node008, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x08, 0x03, 0x20, 0x01, 0x00, 0xd8 2014-08-15 12:22:36.131 2014-08-15 12:22:36.131 Node008, Received Basic set from node 8: level=0. Sending event notification.

  1. How do you explain that ?
  2. Do i need to upgrade your openzwave version shipped on this github and how can i do this ?

Thanks for your help !

wgiroir commented 9 years ago

This same issue is discussed here.. https://github.com/jperkin/node-openzwave/issues/12

I have these changes working for me but they have not been committed as a pull request yet.

It also appears that the openzwave library is way behind when compared to https://code.google.com/p/open-zwave/source/checkout

gvdhoven commented 9 years ago

@wgiroir i've just made a pull request for this branch; but it seems like your ~./src/openzwave.cc is more advanced.. Do you have a twitter/email account i can contact you on?

wgiroir commented 9 years ago

Feel free to contact me directly at walt@giroir.com mailto:walt@giroir.com.

I’ve been working on a few other projects and haven’t had time to spend on this one but I’ll see what I can dig out for you.

—Walt

On Feb 4, 2015, at 1:24 AM, Gilles van den Hoven notifications@github.com wrote:

@wgiroir https://github.com/wgiroir i've just made a pull request for this branch; but it seems like your ~./src/openzwave.cc is more advanced.. Do you have a twitter/email account i can contact you on?

— Reply to this email directly or view it on GitHub https://github.com/jperkin/node-openzwave/issues/33#issuecomment-72802641.