Good resource for LUA programming?

airedale

New Member
Hello,
 
I am looking to setup a scene that only activates between a certain time and think that I need to learn LUA to be able to enable this.
 
I'd like to have the lights in my bathroom turn on at 30% in the middle of the night, but turn on at full intensity during the day.
 
I have the MiCasaVerde Vera Lite.
 
What resources should I utilize to help me get started on this?
 
Thanks!
 
 
 
Go to the forum that is specifically for vera users:
 
http://forum.micasaverde.com/index.php
 
Also, I don't think you need to write LUA to accomplish what you want.  Do this:
 
- Go under the Automation tab and create a new scene that turns the bathroom light to 30%
- Create another that turns it off
- Under the Automation->schedules tab, create a schedule that runs the 30% scene at whatever time, then create another schedule for the morning that runs the scene that turns it off
 
You could write LUA to do this.  And you probably should learn it, or at least steal a few snippets to keep in your arsenal, because it really does unleash a lot of power that isn't normally there.  Although, the Program Logic plugins by Richard Schaeffer are pretty sweet and make it so you don't have to write LUA to do a lot of things.
 
Back
Top