Search found 5 matches

by SiSu82
Thursday 19 April 2018 15:17
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Tado.cpp compiler error.....
Replies: 2
Views: 1118

Tado.cpp compiler error.....

Moving to a fresh install of Ubuntu 16.04 LTS on a vmware machine. Updated everything on Ubuntu and followed the stepps in the installation guide and it worked well until around 67% when it tried to compile the Tado.CPP Any suggestions? In file included from /usr/include/c++/5/regex:35:0, from /home ...
by SiSu82
Friday 22 January 2016 16:06
Forum: LUA
Topic: On FOR variable possible?
Replies: 7
Views: 1331

Re: On FOR variable possible?

havnegata wrote:Thanks for the reply, I'm beginning to understand, but can you please post the code, that way it's possible to get a greater understanding :-)
Will post it later this weekend, atm im doing some small changes to the code =)
by SiSu82
Thursday 21 January 2016 18:34
Forum: LUA
Topic: On FOR variable possible?
Replies: 7
Views: 1331

Re: On FOR variable possible?

Trying to understand the concept of variable. Why is it an advantage to use a variable in your script instead of just f.ex 'On FOR 5' ? Because im doing some math in the LUA script depending on how cold it is outside, whitch makes me wanna put a switch on for X min. On FOR xxx Minutes would ofc ...
by SiSu82
Thursday 21 January 2016 9:57
Forum: LUA
Topic: On FOR variable possible?
Replies: 7
Views: 1331

Re: On FOR variable possible?

jvdz wrote:Assuming testtime is a variable in LUA this should work fine:

Code: Select all

commandArray['Lamptest'] = 'On FOR ' .. tostring(testtime)
Jos
Thx alot Jos
by SiSu82
Thursday 21 January 2016 9:36
Forum: LUA
Topic: On FOR variable possible?
Replies: 7
Views: 1331

On FOR variable possible?

Im doing some simple math in a lua and trying to set a switch ON for the calculated time

commandArray['Lamptest'] = 'On FOR testtime'

testtime is in this case a local variable in the lua script, whitch aint working, is it even possible?