Mike's Nabaztag Projects
I welcome suggestions, additions, or improvements.
|
Some of the programs below include earlier versions of Nabaztag.py in the download. This new version is 100% backwards compatible. |
![]() |
|
It's available with all required files here. The zip file includes the latest version of Nabaztag.py, which is required (same as the version above). See the included ReadMe file for more information. |
|
|
Yet Another
Weather Nabaztag, Version 1.0. My third project (and ironically, the first to be finished) is a weather
report application that uses Yahoo's RSS weather feeds. It retrieves
weather for a specified zip code from Yahoo, parses it, and send the information
on to your Nabaztag as a text to speech message. Because there are already a
number of weather applications out for the Nabaztag, it's called Yet Another Weather Nabaztag (YAWN). I built
it as a starter project for processing RSS feeds into a Nabaztag text to speech
message, and also because I wanted more information than the simple next day
forecast that's provided by Violet. Features: YAWN will retrieve weather for a specified zip code from Yahoo, parse it, and send the information on to your Nabaztag. It provides current conditions as of the latest Yahoo report, including temperature, humidity, wind chill, and sky conditions (e.g., cloudy). It also provides the times for sunrise and sunset, the forecast for the current day, and for the next day. You can specify which Nabaztag voice you want it to use. To download the Python code, click here. Included in this zip file are the source code for YAWN.py, a modified version of Nabaztag.py, a Python API for Nabaztags that YAWN uses, and the required wxBunnyFile.txt file (with placeholders for your Nabaztag's serial number and token). You can use the Windows task scheduler or a Linux chron program to schedule the weather to be sent to your Nabaztag whenever you want. If you don't have Python, you can download a Windows executable instead. Also included are the executable files to run on Windows machines without Python. The zip file can be downloaded here. |
|
|
It is best used by setting up the program to run periodically, using Window's task scheduler or a cron file. It will poll Violet's server to check on the ear positions and compare them with the last position. If you don't have Python, you can download a Windows executable instead. Also included are the executable files to run on Windows machines without Python. The zip file can be downloaded here. |
|
|
Traffic Reporting Rabbit This
is a sample program that uses a trip-specific, customized
RSS feeds from
traffic.com. Unless you travel from Tysons
Corner, VA to downtown Washington, it won't be particularly useful to you as
written, but it's an example of using the ElementTree module in Python to parse
an RSS feed, and then sending the key elements to a Nabaztag, and may provide
some useful ideas. If you live in a city served by
traffic.com, you can go to their site to
set up your own custom RSS feed and then easily modify this code to access your
own feed. You'll need to download Nabaztag.py, which is in both the YAWN or Ear Sensor zip files, above, in order to use the program. Nabaztag.py is a file used to interface to the Nabaztag API. To download the Python code, click here |
![]() |
Return to Mike & Gena's
Home Page
Email me at
mike.mcgurrin@psualum.com
This page last updated December 12, 2007