Lua for Noob's :)

Moderator: leecollings

Post Reply
mcjackdus
Posts: 15
Joined: Monday 22 October 2018 10:34
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Lua for Noob's :)

Post by mcjackdus »

Can someone please help me out on how I create and store a lua script?

With the Toon wiki I managed to get the Toon plugin running but I need to use the Lua script for it to auto refresh the states.
I understand that I have to copy the script but where do I copy it in to, using what program?
And how do I get it in the right location? (running domoticz on a synology)
If someone can point me in the right direction or webpage where it is explained I would very much appreciate it.

Thanks,
Jack
niki_lauda
Posts: 115
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Lua for Noob's :)

Post by niki_lauda »

mcjackdus wrote: Thursday 25 October 2018 14:18 Can someone please help me out on how I create and store a lua script?

With the Toon wiki I managed to get the Toon plugin running but I need to use the Lua script for it to auto refresh the states.
I understand that I have to copy the script but where do I copy it in to, using what program?
And how do I get it in the right location? (running domoticz on a synology)
If someone can point me in the right direction or webpage where it is explained I would very much appreciate it.

Thanks,
Jack
You can paste the script in the events option under settings->options->events.
Select on your right an lua give it an name an select the tim option. Save the lua and your done
mcjackdus
Posts: 15
Joined: Monday 22 October 2018 10:34
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Lua for Noob's :)

Post by mcjackdus »

[/quote]
You can paste the script in the events option under settings->options->events.
Select on your right an lua give it an name an select the tim option. Save the lua and your done
[/quote]

Thanks,
Done and working.
That was easier than i expected...just need to know it :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest