[TriEmbed] Twitter Questions
jeff at jeffhighsmith.com
Thu Jan 30 10:12:03 CST 2014
You might consider adding a Raspberry Pi with an XBee radio. You could leave your existing sensor network in place, but use the XBee network to take advantage of the Pi's capabilities when needed. I use a Pi with XBee to fetch colors from the internet for my Cheerlights trees (https://github.com/BabyWrassler/CheerlightsXBee2012) after being dissatisfied running an Arduino with an Ethernet shield.
On the Python side, I've had good luck using the Tweepy library (https://github.com/tweepy/tweepy) to add Twitter capabilities to Python scripts (http://makezine.com/projects/cheerbot-color-hunting-room-roamer-changes-tree-colors/ and http://makezine.com/projects/pilarm-portable-raspberry-pi-room-alarm/).
On Jan 30, 2014, at 10:45 , Charles McClelland wrote:
> To all,
> I have been building an apartment monitor that can collect information around my apartment (temp, light, occupancy, and “knocks” via XBee from my wireless knock sensor). At first I used an internet of things service - Xively - to make the results available to my phone while traveling. However, after reading the excellent book "Hatching Twitter: A True Story of Money, Power, Friendship, and Betrayal” , I thought - why not Tweet the information.
> I have this working now with my Arduino having its own Twitter tag - @chipduino. But I have run into the limitations of the Arduino platform as the new Twitter 1.1 APIs, SSL connection, and OAuth authentication mean that the Arduino cannot Tweet on its own. In addition, the approach I have working today is only one directional allowing me to post Tweets but not read and act upon them. That leaves me three options:
> 1) Be content with simply being able to post Tweets using an intermediary service to manage the OAuth identification as I am today with - http://arduino-tweet.appspot.com
> 2) Build my own service in the cloud (perhaps using JazzHub and a PHP script that is already available) so I can do more than just Tweet. I would like to tell my Arduino to do something via Twitter like turn on the heat when I am coming home (security?)
> 3) Move to a more capable embedded system like the Beagle Board, Raspberry PI or even the new combo boards like Galileo or Yun where I could run the Twitter stuff locally.
> I am sure someone has dove into the Social Media pool, what is your advice on the best path forward?
> Triangle, NC Embedded Computing mailing list
> TriEmbed at triembed.org
> TriEmbed web site: http://TriEmbed.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TriEmbed