Page 1 of 1
Sleep time
Posted: 23 Apr 2013 13:50
by BjornWater
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?
You need to specify Set
Posted: 23 Apr 2013 13:50
by PoltoS
You need to specify Set(notifiedNodeId, sleepInterval). Fist argument should usually by controller (or bradcast 255)
Are you sure? When reading
Posted: 23 Apr 2013 13:50
by krambriw
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
Poltos which one is the
Posted: 23 Apr 2013 13:50
by BjornWater
Poltos which one is the correct one?
We just got it working.
Posted: 23 Apr 2013 13:50
by BjornWater
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
You are right, it is interval
Posted: 23 Apr 2013 13:50
by PoltoS
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
