Search found 4 matches

by waver
09 Dec 2015 01:05
Forum: Discussions in English
Topic: JavaScript doesn't seem to work
Replies: 8
Views: 9665

Re: JavaScript doesn't seem to work

Hi, I also want this movement detected association to work, but it does not. I add the code you provided to my main.js. When I request: http://MYDOMAINNAME:8083/ZWaveAPI/Run/devices[3].instances[0].commandClasses[48].data[1].level I get: {"name":"level","type":"boo...
by waver
28 Oct 2013 15:00
Forum: RaZberry
Topic: bind motion sensor
Replies: 0
Views: 4632

bind motion sensor

<r>Hi,<br/> <br/> I like to bind the motion detection of our motion sensor to some actions. Therefore I tried various code lines, for instance this one but it doesn't work.<br/> zway.devices[3].instances[0].SensorBinary.data[1].bind(function()<br/> <br/> It works for other switch devices, but how ca...
by waver
07 Oct 2013 23:44
Forum: RaZberry
Topic: actions needed after editing config.json
Replies: 1
Views: 3108

actions needed after editing config.json

Hello,
I would like to know what actions are necessary when I edited the config.json file and/or the main.js

Furthermore, what are the 'channel' variables that can be found in the config-sample.json?

by waver
05 Oct 2013 15:13
Forum: RaZberry
Topic: custom Javascript
Replies: 1
Views: 3310

custom Javascript

Hi,
I have tried to find out how and where to put Javascript code (or better my own Java program) that should run when a motion sensor detects motion.
Can someone point me out how to do that or show a neat document with a clear example of how to do that?

Thanks