Search found 3 matches

by kgm
14 Nov 2014 19:21
Forum: Discussions in English
Topic: set termostat value in module
Replies: 8
Views: 12051

Re: set termostat value in module

It seems that metrics doesn't work with object thermostat neither on v1.7.2 nor 2.0.0rc17. There is also some problem with widget, witch doesn't display at all. This worked for me. Maybe someone find it usefull var setTemp = parseInt ( self.config.temperature,10); zway.devices[9].instancds[0].Thermo...
by kgm
13 Nov 2014 03:18
Forum: Discussions in English
Topic: set termostat value in module
Replies: 8
Views: 12051

Re: set termostat value in module

Thank for reply. Now I have in script var aDev = self.controller.devices.get(self.config.thermostat); aDev.performCommand("exact", { level : 16 }); but it still doesn't work in log file: ZWayVDev_8:0:Thermostat:T performCommand processing: {"0":"exact","1":{&q...
by kgm
12 Nov 2014 19:40
Forum: Discussions in English
Topic: set termostat value in module
Replies: 8
Views: 12051

set termostat value in module

I'm trying to write module that scheldue thermostat, but it doesnt work In index.js I have var aDev = this.controller.devices.get(this.config.thermostat); aDev.instances[0].ThermostatSetPoint.Set(1,6); I also tried this.controller.devices[9].instances[0].ThermostatSetPoint.Set(1,6); What am I doing ...