Google Talk Bot Running On Raspberry Pi

google-talk-raspberry-pi

[Michael Mitchell] put together a demonstration of how Google Talk can be used to communicate with scripts. Although the concept isn’t new we haven’t seen very many projects that use the chat interface for issuing commands and receiving data. The one that does come to mind is this home automation project which uses Google Talk because it’s quite a bit faster than SMS or email communications.

Luckily there’s already a Python library called pygtalkrobot which helps with the XMPPPY protocol used by Google Talk. In addition to that package, [Michael] also installs some extras which allow him to access the GPIO pins on the RPi via Python. In the video after the break he demonstrates switching and LED on and off, as well as reading from a slide switch connected to pin 8. Of course it’s a snap to code feedback from the OS itself. As you can see in the image above the RPi is reporting it’s uptime after being issued a command by [Michael]

13 thoughts on “Google Talk Bot Running On Raspberry Pi

    1. Ha-hah-haa – another Unity hater has revelad himself. I do not know about desktop usage but IMHO Unity is the best UI for laptop made ever.

      Perhaps the only thing that completes with it is an old XP UI.

  1. I’m sick and tired of all the “$SOFTWARE running on RasPi” ports. It has decent specs and Linux on it, so unless the software is written in a really crappy way or only exists as a non-ARM blob, OF COURSE it runs on the Pi!

    Just leave out the RasPi bits. This artice is simply about executing remote shell commands via XMPP, at least until someone uses it as a building block for something bigger, e.g. by controling a catapult via the Pi’s GPIOs.

    1. You would be surprised how much software out there doesn’t work with ARM.

      Just this week I was working on getting LinuxSampler running on the Pi. There’s some weird bit of initialization code that starts and stops the program counter. Of course this is written in asm for some reason.

      x86,x64, PPC, Sparc, Alpha, IA-64 are supported. ARM is not. Unless you’d like to patch it, you can’t run LinuxSampler on the Pi.

      We’ve got a long way to go until you can, “just install a package and run it on a Pi”

      /keywords for people trying to google this problem: libgig Linuxsampler linux sampler Cflags

  2. The Raspberry Pi is so awesome, I have been able to successfully HACK THE PLANET! with it (and the Gibson as well). I just wish there were more posts on Hackaday featuring the Raspberry Pi.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.