Search found 6 matches
- Saturday 14 October 2017 14:41
- Forum: LUA
- Topic: Beginner Troubles
- Replies: 8
- Views: 2152
Re: Beginner Troubles
Thanks for your suggestion! dzVents is better for beginners in domoticz, Wiki for it is really great Thanks!!!
- Wednesday 11 October 2017 21:39
- Forum: LUA
- Topic: Beginner Troubles
- Replies: 8
- Views: 2152
Re: Beginner Troubles
Thanks a lot now it works perfekt! I have changed the settings from "All" to "Device" which one caused Error: EventSystem: in 001: [string "commandArray = {}..."]:3: attempt to index global 'devicechanged' (a nil value) and i have added the tonumber function several times in my code wich caused the ...
- Tuesday 10 October 2017 21:06
- Forum: LUA
- Topic: Beginner Troubles
- Replies: 8
- Views: 2152
Re: Beginner Troubles
I have changed the code: commandArray = {} if (devicechanged['Tempsensor']) then local hysteresis = 0.2 local setpoint = 0 if (otherdevices['Modus'] == 'MANUAL') then setpoint = otherdevices['Setpoint MANUAL'] elseif (otherdevices['Modus'] == 'AUTOMATIC') then setpoint = otherdevices['Setpoint ...
- Tuesday 10 October 2017 20:20
- Forum: LUA
- Topic: Beginner Troubles
- Replies: 8
- Views: 2152
Beginner Troubles
Hi, I need Help by my project. I will program a 2 point controller for a heating system. Here my code: commandArray = {} if (devicechanged['Tempsensor']) then local hysteresis = 0.2 if (otherdevices['Modus'] == 'MANUAL') then local setpoint = otherdevices['Setpoint MANUAL'] elseif (otherdevices ...
- Sunday 08 October 2017 16:17
- Forum: LUA
- Topic: update selector switch
- Replies: 2
- Views: 2175
Re: update selector switch
Thanks a lot!!!
- Sunday 08 October 2017 16:09
- Forum: LUA
- Topic: update selector switch
- Replies: 2
- Views: 2175
update selector switch
Hi,
i will change the selector switch state by changing the thermostat value...
Whats wrong in my Code?
H1 Soll is my thermostat and H1 Modus is my selector switch
Thanks!
i will change the selector switch state by changing the thermostat value...
Code: Select all
commandArray = {}
if (devicechanged['H1 Soll']) then
commandArray['H1 Modus']='HAND'
end
return commandArray
H1 Soll is my thermostat and H1 Modus is my selector switch
Thanks!