From Voidwarranties - Hackerspace Antwerp, Belgium
(Difference between revisions)
Jump to: navigation, search
Line 36: Line 36:
'''Bash script'''
'''Bash script'''
<syntaxhighlight lang=sh>
<syntaxhighlight lang="bash">
[[ $1 = "" ]] && echo "no argument" && exit 1
[[ $1 = "" ]] && echo "no argument" && exit 1

Revision as of 23:03, 11 July 2012

Getting the bunny in the space alive again and make it usefull.
Den Bunker

General info :

Nabaztag is registered on the official servers at the moment (

Mac adress (for registration on servers): 00:19:db:00:0d:11
Our bunny's API key on is: 7debd13e-8c04-4c4c-8c61-1ccf426f6cfc

how to make the nabaztag speak:

The API of offers a variety of TTS engines, you can use them by simply calling the url, and replace the text (more info about the API here:

/!\ texts are limited to 1024 characters, and are sometimes interpreted by the TTS engine (e.g: 12:45 becomes in text: twelve hours forty-five minutes) /!\

step 1: choose a voice:
list of voices can be found here: <- look under ws_acapela

step 2: call the url using parameters:<1>&token=<2>&server=<3>&tts=<4>&ws_acapela=<5>

example url:

step 3: listen to the nabaztag speak :).

Bash script

[[ $1 = "" ]] && echo "no argument" && exit 1
text="$(echo $1 | sed 's/ /+/g')"
[[ $voice = '' ]] && voice=jeroen
curl "${text}.&ws_acapela=${voice}" &>/dev/null

troubleshooting the led-codes:

bottom leds:
left: Wifi connection (red/green)
middle: Dhcp
right: dns lookup of the server

top led: connection to the nab server.

history of the nabaztag:

- nabaztag company went bankrupt, but has been taken over by ALDEBARAN ROBOTICS and the nabaztag is now known as Karotz (nabaztag generation 3 and up) - when violet went bankrupt they took their servers down with them, leaving the nabaztag to malfunction and basicly become useless. - ALDEBARAN ROBOTICS revived the karrotz project and sells them, and put an official nabaztag server up again. There are also some sources available for running a server (for example: [1]) or you can use a the original code used on the violet servers: [2].

Personal tools
Content Creation
Belgian Spaces