Hi,
I’m in the process of trying to create a vera plugin, and while I’m an experienced programmer I’m finding the structure of plugins and the various files comprising them is quite difficult to follow.
While I’m actively searching for the relevant info & documents, I thought I would list useful links here to hopefully make it easier for others to follow.
Lua language references:
[url=http://www.lua.org/manual/5.1/]http://www.lua.org/manual/5.1/[/url]
[url=http://lua-users.org/wiki/LuaTutorial]http://lua-users.org/wiki/LuaTutorial[/url]
Plugin overview: [url=http://wiki.micasaverde.com/index.php/Luup_Plugins]http://wiki.micasaverde.com/index.php/Luup_Plugins[/url]
Plugin xml files: [url=http://wiki.micasaverde.com/index.php/Luup_Plugins_ByHand]http://wiki.micasaverde.com/index.php/Luup_Plugins_ByHand[/url]
Plugin Debugging: [url=http://wiki.micasaverde.com/index.php/Luup_Debugging]http://wiki.micasaverde.com/index.php/Luup_Debugging[/url]
Vera / luup extensions to Lua: [url=http://wiki.micasaverde.com/index.php/Luup_Lua_extensions]http://wiki.micasaverde.com/index.php/Luup_Lua_extensions[/url]
Variables passed by luup to the plugin code: [url=http://wiki.micasaverde.com/index.php/Luup_Declarations]http://wiki.micasaverde.com/index.php/Luup_Declarations[/url]
MCV example plugin for Somfy RS232 blind controller: [url=http://wiki.micasaverde.com/index.php/Luup_Somfy_Walkthrough]http://wiki.micasaverde.com/index.php/Luup_Somfy_Walkthrough[/url]
Tools:
The putty telnet client - ideal for ssh access to a vera: [url=http://www.chiark.greenend.org.uk/~sgtatham/putty/]http://www.chiark.greenend.org.uk/~sgtatham/putty/[/url]
(On a Vera 3 at least, the root ssh password is the WiFi password printed on the vera label).
Lua for Windows - Programming & Editing toolkit that allows Lua files to be debugged and stepped through, with variable watch & view-by-mouseover facilities etc: [url=https://code.google.com/p/luaforwindows/]Google Code Archive - Long-term storage for Google Code Project Hosting.
Alarm / Security system specific:
[url=http://wiki.micasaverde.com/index.php/Alarm_Panel_Standardization]http://wiki.micasaverde.com/index.php/Alarm_Panel_Standardization[/url]
[url=http://forum.micasaverde.com/index.php/topic,3713.45.html]http://forum.micasaverde.com/index.php/topic,3713.45.html[/url]