Search found 2 matches
- Friday 15 November 2013 8:02
- Forum: Other questions and discussions
- Topic: Blocky code events or LUA script?
- Replies: 5
- Views: 2534
Re: Blocky code events or LUA script?
I agree that lua is the way to go. It has its quirks, but is fairly simple to learn. There are loads of lua examples and tips online, and the Domoticz-specific commands aren't that many so you'll learn them fast. If you take a simple Blockly example and "convert" it to lua, you'll learn as you go ...
- Wednesday 06 November 2013 14:29
- Forum: LUA
- Topic: Weather Underground Upload script
- Replies: 112
- Views: 45813
Re: Weather Underground Upload script
Thanks for the script. Good work! I use this to run every 5 minutes: -- Current date as date.year, date.month, date.day, date.hour, date.min, date.sec date = os.date("*t") if (date.min % 5 == 0) then --script end Unfortunately the lua execution time seems to drag about a second per hour, which means ...