Search found 3 matches

by Sapp1123
Tuesday 27 November 2018 19:07
Forum: Heating/cooling
Topic: [SOLVED] updateSetPoint function in DzVents
Replies: 4
Views: 1677

Re: updateSetPoint function in DzVents

Thanks a lot.
by Sapp1123
Tuesday 27 November 2018 13:23
Forum: Heating/cooling
Topic: [SOLVED] updateSetPoint function in DzVents
Replies: 4
Views: 1677

Re: updateSetPoint function in DzVents

At first, thanks for the help, i got the script running. The mistake was "if(TH == 'On') instead of if(TH. state == 'On')


return {
on = {
devices = {
'Test Heizung'
},
variables = {
TH = 'Test Heizung' -- To use TH instead of "Test Heizung" beause the compiler seems
}, --to have trouble ...
by Sapp1123
Tuesday 27 November 2018 9:42
Forum: Heating/cooling
Topic: [SOLVED] updateSetPoint function in DzVents
Replies: 4
Views: 1677

[SOLVED] updateSetPoint function in DzVents

Hey everyone,
im very new to LUA and DzVents.
I have a bit of trouble to undersand why the following Script is not working:


return {
on = {
devices = {
'Test Heizung' -- a dummy switch
},
variables = {
TH = 'Test Heizung'
},
},

execute = function(domoticz, TH)
local Setpoint ...