Open zatmonkey opened 10 years ago
You missed completly the async programming paradigm. Please read carefully the example and some NodeJS docs.
Hey, what sja is saying is that you have to wait for the library to finish its initialisation. Just copy up the example code (with all the event handlers) up to the "zwave.connect();" line, then paste it in a nodejs terminal. When you get the "initialisation complete" message you can start issuing zwave commands.
Hi guys, I'm totally new to openzwave so I may be asking a silly question
here's my fibaro switch node:
I'm trying to turn it on ... so I did
any idea what's wrong ?
thanks !