Closed kevinsimper closed 9 years ago
have you tried passing the values as integers? ie zwave.setValue(3, 67, 1, 24)
@ekarak Thanks, just the advice i needed, I tried changing the nodeid and this code works
zwave.setValue('3', '67', '1', '25')
This changes the temperature to 25 degrees.
For me this is not working. I have a Danfoss (Devolo) thermostat too. I tried (in node-red): newMsg.topic = "setValue"; newMsg.payload =['17', '67', '1', '25']; newMsg.topic = "setValue"; newMsg.payload =[17, 67, 1, 25]; newMsg.topic = "setValue"; newMsg.payload =[17, 67, 1, 0, 25]; newMsg.topic = "setValue" newMsg.payload = { "args": [17, 24]}; ... but always get error: TypeError: setValue: OpenZWave valueId not found However, if I do: newMsg.topic = "getNodeStatistics"; newMsg.payload = { "args": [17]}; I get the expected answer. Has anyone an idea...
wait a minute - wrong repo. This is the initial Node OpenZWave repo from which I forked and produced openzwave-shared. I think this one's still hasn't got support for valueID inidices.
Sorry if this is a beginner question, but I could not find any information about it sadly.
I am trying to change the value of a Thermostat that i have connected, but I don't know who to do it. I tried a lot of combinations, but i can't seems to get it right.
I get this from the test script and specified me into the class that is want to change:
This is the exact object of class 67
I have tried running this code:
in both the
node ready
event anddriver ready
.Rest of it https://gist.github.com/kevinsimper/eac358a6bbc8b3db8291
Thanks for any advice! Much appreciated!