ZwaveAPI with SET

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
yves273
Posts: 5
Joined: 30 Jun 2015 21:50

ZwaveAPI with SET

Post by yves273 » 23 Nov 2015 10:39

Hi,

Sorry for my English.
I'm trying to change temperature at 24°for Qubino thermostat
the command class is ThermostatSetPoint
http://192.168.0.102:8083//ZWaveAPI/Run ... .val.value is right and give 23
I'd like to use SET as
http://192.168.0.102:8083//ZWaveAPI/Run ... t.Set(0xFF, 24, successCallback = NULL, failureCallback = NULL).
But it's wrong and I don't understand.
Notice developper say:
Command ThermostatSetPoint Set
Syntax: Set(mode, value, successCallback = NULL, failureCallback = NULL)
Description: Send ThermostatSetPoint Set
Parameter mode: Thermostat Mode
Parameter value: temperature
Parameter successCallback: Custom function to be called on function success. NULL
if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL
if callback is not needed

Thank you

pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: ZwaveAPI with SET

Post by pofs » 23 Nov 2015 22:34

What do you think mode 0xFF is? There are only modes from 0x01 to 0x0D defined.

yves273
Posts: 5
Joined: 30 Jun 2015 21:50

Re: ZwaveAPI with SET

Post by yves273 » 24 Nov 2015 10:20

Thank you.
It's a good answer.
http://192.168.0.102:8083//ZWaveAPI/Run ... t.Set(0x01, 23) is ok.

Have a good day.

Post Reply