PDA

View Full Version : schedule events via netremote



yonu
January 16th, 2011, 12:36 PM
is there a script or plugin to schedule events via netremote such as alarm timers or even changing when a DM item turns on

Thanks,
Reg

tmorten
January 16th, 2011, 03:17 PM
One way to do this is to use the scheduler API on the Girder side to create some LUA scripts for adding/modifying/deleting scheduled events, and then pass values from Netremote to your Girder script to provide parameters to those functions. It takes a bit of LUA coding on the Girder side, but it's then straight-forward to drive it all from Netremote.

yonu
January 16th, 2011, 06:00 PM
would it be possible to get an example of this or a how to

Thanks
Reg

tmorten
January 16th, 2011, 08:23 PM
There is pretty good API documentation for the scheduler starting on page 281 of the Girder PDF manual. I don't know of any good pre-existing examples, but if I can help answer any questions as you implement, just let me know.

Cheers,
Tim