It is this part of the script
- Code: Select all
if currentBurnerInfo == 0 then currentBurnerInfo = '0' -- uit
elseif currentBurnerInfo == 1 then currentBurnerInfo = '10' -- cv aan
elseif currentBurnerInfo == 2 then currentBurnerInfo = '20' -- warmwater aan
end
Can somebody help me to activate an ON/OFF switch called SW1 and turn it on as soon as the BurnerInfo switch '10' and if state is '0' turn OFF the switch again.
Pls help me, Struggling with it already 2.5 weeks to get it working.