Page 1 of 1

Error: Invalid argument

Posted: 04 Nov 2014 16:59
by OlegEF
I have two Danfoss living connect thermostats.

There are two different behavior when i change temperature via web interface:
first thermostat works well:

Code: Select all

[2014-11-04 17:57:34.109] Executing script: zway.devices[14].instances[0].commandClasses[67].Set(1, 21)
[2014-11-04 17:57:34.111] SETDATA devices.14.instances.0.commandClasses.67.data.1.setVal = 25.000000
[2014-11-04 17:57:34.112] Adding job: ThermostatSetPoint Set
but for second razberry returns error:

Code: Select all

[2014-11-04 17:51:21.148] Executing script: zway.devices[13].instances[0].commandClasses[67].Set(0, 21)
[2014-11-04 17:51:21.152] result: Error: Error: Invalid argument
    at Error (native)
    at HTTP request:1:50
What can be the reason of Invalid argument error?

Re: Error: Invalid argument

Posted: 04 Nov 2014 17:09
by LAN-Opfer
try
zway.devices[13].instances[0].commandClasses[67].Set(1, 21)
instead of
zway.devices[13].instances[0].commandClasses[67].Set(0, 21)

Uwe

Re: Error: Invalid argument

Posted: 04 Nov 2014 17:36
by OlegEF
I tried to execute
http://192.168.88.2:8083/ZWaveAPI/Run/d ... .Set(1,20)
it returns null, but value remain the same.

If i execute same command on another device:
http://192.168.88.2:8083/ZWaveAPI/Run/d ... .Set(1,20)
it returns null as well but value changes.

Re: Error: Invalid argument

Posted: 05 Nov 2014 10:36
by LAN-Opfer
I had also a Danfoss LC - and the command did with
"ZWaveAPI/Run/devices[4].instances[0].ThermostatSetPoint.Set(1,20)"
Perhaps you should check the button "show interview results" under "device configuration".
I was not satisfied with the device. It was always 30-60 minutes, until the heating started.

Uwe