The Vera Community forums have moved!

Advanced => Programming => General => Topic started by: 325xi on October 15, 2009, 09:12:46 pm

Title: Twitter Notifications
Post by: 325xi on October 15, 2009, 09:12:46 pm
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.

Download it here (http://www.box.net/shared/ga5bar58xe).
Title: Re: Twitter Notifications
Post by: 325xi on October 16, 2009, 11:29:10 pm
Next I'm planning to turn it into a simple TwitterBot, so I can send DM to Vera, Vera would do something, and send confirmation DM back to me...
Title: Re: Twitter Notifications
Post by: Jacobly on October 17, 2009, 01:02:42 am
This sounds very cool.....keep up the good work!
Title: Re: Twitter Notifications
Post by: arich57 on November 05, 2009, 05:31:34 pm
Next I'm planning to turn it into a simple TwitterBot, so I can send DM to Vera, Vera would do something, and send confirmation DM back to me...

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?
Title: Re: Twitter Notifications
Post by: arich57 on February 08, 2010, 07:54:53 pm
Next I'm planning to turn it into a simple TwitterBot, so I can send DM to Vera, Vera would do something, and send confirmation DM back to me...

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?

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.
Title: Re: Twitter Notifications
Post by: 325xi on February 08, 2010, 07:58:21 pm
Nope. I'm waiting for some XML or JSON parser to be added by MCV.
The response is a bit too complicated to parse it manually
Title: Re: Twitter Notifications
Post by: guest4690 on February 09, 2010, 07:51:50 am
@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 (http://lua-users.org/lists/lua-l/2008-01/msg00144.html (http://lua-users.org/lists/lua-l/2008-01/msg00144.html)).  it was read-only, but if you're interested i'll try to update it and make it installable on Vera
Title: Re: Twitter Notifications
Post by: guest4690 on February 10, 2010, 10:32:54 pm
I've just (slightly) modified LuaXPath (http://luaxpath.luaforge.net/ (http://luaxpath.luaforge.net/)).

In short:


Please tell me if you need any help, or some sample code.
Title: Re: Twitter Notifications
Post by: denix on February 11, 2010, 12:15:33 am
Wow, that seems pretty powerful! I just need to find time to try it... :) Thanks, javier!
Title: Re: Twitter Notifications
Post by: denix on February 11, 2010, 01:28:45 am
I hope people don't mind if I move this thread to the Luup Dev section. The main section is quite active and jewels like this are easily lost... :)
Title: Re: Twitter Notifications
Post by: guest4690 on February 11, 2010, 01:52:41 pm
Quote
jewels like this are easily lost...  :)

don't worry; it (or something very similar to this) will soon be included by default, and I'll be documenting all in the wiki.

I just want some feedback before commiting it to the build system.
Title: Re: Twitter Notifications
Post by: 325xi on May 20, 2010, 11:02:43 pm
Hmm... How could I miss it altogether...