Search found 3 matches

by d3nn1s
Saturday 10 February 2018 20:40
Forum: LUA
Topic: [solved] Substract Minutes from Alarm Time
Replies: 1
Views: 679

Re: Substract Minutes from Alarm Time

Okay I solved it this way: -- uservariables["Wecker_Uhrzeit"] is the alarm time which I set from my smart phone. It's a user time variable holding a string in the format HH:MM. -- Dimmer_Dauer is the number of minutes I want the wake up process to start before my alarm rings. commandArray = {} local ...
by d3nn1s
Saturday 10 February 2018 20:35
Forum: LUA
Topic: calculations in time?
Replies: 3
Views: 1465

Re: calculations in time?

Hi I've had a similar problem and I find it frustrading that there seems to be no built in routines to easily calculate with time. I thought e.g. 07:35-20minutes is a simple thing to but I had to do a workaround which makes this simple task seem complicated. I have to say that I'm a LUA beginner and ...
by d3nn1s
Monday 05 February 2018 0:01
Forum: LUA
Topic: [solved] Substract Minutes from Alarm Time
Replies: 1
Views: 679

[solved] Substract Minutes from Alarm Time

Hi everyone, I'm quite new to domoticz and so far I was able to figure out most things by reading in this forum and the domoticz wiki. So far I have a Spirit-z thermostat and a domitech zBulb in my system and I try to take my WakeUp Scenario to the next level with the help of Lua. With blockly I'm ...