I wrote a little plugin that tweets current time when you click on On button.
This is just an example of interaction with Twitter, so with some copy and paste you can use it in your devices and scenes. Twitter is excellent channel for notifications, and you can access it on the go in so many ways.
This is exactly what I want to do. I’m saving to get my Vera box now.
I was wondering if you’ve made any progress on this?[/quote]
I was just wondering if you have made any progress on/towards this? I’m hoping to get my Vera soon so I can start play with trying to do this. Any starting point that might already be there would be great. Thanks.
@325xi: LuaExpat is already installed in Vera. Do you think something else is necessary?
Long ago i hacked a E4X-like tool on top of LuaExpat and LOM ([url=http://lua-users.org/lists/lua-l/2008-01/msg00144.html]http://lua-users.org/lists/lua-l/2008-01/msg00144.html[/url]). it was read-only, but if you’re interested i’ll try to update it and make it installable on Vera
[ul][li] LuaExpat (already installed in Vera) gives you a SAX-style framework so you can write your own XML parser. [/li]
[li]LOM (already installed in Vera) is a LuaExpat parser that turns an XML string into a table structure (described here [url=http://www.keplerproject.org/luaexpat/lom.html]http://www.keplerproject.org/luaexpat/lom.html[/url]). You can operate on this structure yourself, if you want.[/li]
[li]LuaXPath (attached here) operates on a LOM structure and an XPath query, returning an array of LOM substructures[/li][/ul]
Please tell me if you need any help, or some sample code.