I have been trying the new Easy Scripting app and it's very nice. I have done a few things without problems until I tried to control my thermostat.
Just to simplify things, I wrote this code (when I change the state of a plug, the temperature changes to 20 degrees):
Code: Select all
### ZWayVDev_zway_3-0-37 // Plug
vdev("ZWayVDev_zway_8-0-67-1").set(20)
Code: Select all
[zway] Node 8:0 CC ThermostatMode: Thermostat Mode 1 is not supported by device (modemask 0x0)
[core] Notification: error (module): Error while executing command: Error: Invalid argument
[core] Error: Invalid argument
at Error (native)
at t_vDev.(anonymous function).self.controller.devices.create.handler (automation/modules/ZWave/index.js:5638:62)
at _.extend.performCommand (automation/classes/VirtualDevice.js:316:25)
at vDevWrapper.set (automation/modules/EasyScripting/index.js:142:12)
at script (eval at <anonymous> (automation/modules/EasyScripting/index.js:1:0), <anonymous>:2:32)
at automation/modules/EasyScripting/index.js:56:4
at onEvent (automation/modules/EasyScripting/index.js:57:5)
at EventEmitter.emit (automation/lib/eventemitter2.js:311:33)
at _.extend.emit (automation/classes/VirtualDevice.js:342:26)
at automation/classes/VirtualDevice.js:268:10
Thanks in advance