Hi,
We are trying to set the sleeptime of a zwave device with the folowing command.
/ZWaveAPI/Run/devices[2].instances[0].commandClasses[0x84].Set(255
But it always fails even when we try it on the software that runs with the zwave-me server setting sleeptime fails.
Is there any fix for this?
Sleep time
You need to specify Set
You need to specify Set(notifiedNodeId, sleepInterval). Fist argument should usually by controller (or bradcast 255)
Are you sure? When reading
Are you sure? When reading the api doc it says:Command Wakeup SetSyntax: Set(interval, noticationNodeId, successCallback = NULL, failureCallback= NULL)Description: Send Wakeup SetParameter interval: Wakeup interval in secondsParameter noticationNodeId: Node Id to be notied about wakeupReturn: data holder "interval" and "nodeId" is updated
-
- Posts: 3
- Joined: 27 Feb 2013 13:37
Poltos which one is the
Poltos which one is the correct one?
-
- Posts: 3
- Joined: 27 Feb 2013 13:37
We just got it working.
We just got it working.
its indeed what you say krambriw we changed the value of one but because his sleeptime was really high we had to manually wake up the device to get it to load the new config
its indeed what you say krambriw we changed the value of one but because his sleeptime was really high we had to manually wake up the device to get it to load the new config
You are right, it is interval
You are right, it is interval and then notificationId.
Note, that documentation is made automatically from the code, so here only the human (me in this case) can be wrong
Note, that documentation is made automatically from the code, so here only the human (me in this case) can be wrong
