13.05.2017, 20:56
Hi Erwin,
Thanks for your help.
However I can not get this to work:
What am I doing wrong here...?
BR.
Mr.D
Thanks for your help.
However I can not get this to work:
Code:
value1 = grp.getvalue('Timer - Settverdi - Alarm')
now = os.date('*t')
min = 20
max = 23
if now.hour >= min and now.hour < max then
grp.write('Timer - Alarm', value1)
script.enable('Alarm - Timer')
end
What am I doing wrong here...?
BR.
Mr.D