Forum des Objets Communicants et Solutions pour les Libérer...
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.

Forum des Objets Communicants et Solutions pour les Libérer...


 
AccueilAccueil  GalerieGalerie  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  Connexion  
Le Deal du moment :
Pack Smartphone Samsung Galaxy S22 6.1″ + Galaxy ...
Voir le deal
599 €
Le deal à ne pas rater :
Cdiscount : -20% sur 2 jouets, -30% sur 3 jouets, -40% sur 4 jouets
Voir le deal

 

 Another new PHP interface, move the ears of any Nabaztag :)

Aller en bas 
4 participants
AuteurMessage
Ebo Eppenga
Lapin nain
Lapin nain
Ebo Eppenga


Localisation : Groningen
Nabaztag : patriebo
Nbr de messages : 5
Carottes : 6121

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: Another new PHP interface, move the ears of any Nabaztag :)   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeLun 6 Mar 2006 - 23:01

Hi all,

What a great new device! I just received it and made something funny already. You can move the ears of your Nabaztag with this PHP interface.

Please see:
http://www.eppenga.com/nabaztag

Kind regards,

Ebo Eppenga
Revenir en haut Aller en bas
http://www.eppenga.com
Toucool
Nabazteur/trice
Toucool


Age : 46
Localisation : 64
Nabaztag : toucool (V1) Soucoupe (V2)
Nbr de messages : 2531
Carottes : 6217

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: Re: Another new PHP interface, move the ears of any Nabaztag :)   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeLun 6 Mar 2006 - 23:18

Nice one mate. We'll soon translate some informations about the API. Some people here made a great job and help will always be appreciated. Stay tuned and Welcome on this forum, one and only.

Safe cheers
Revenir en haut Aller en bas
http://gru.ptitlu.org
Ebo Eppenga
Lapin nain
Lapin nain
Ebo Eppenga


Localisation : Groningen
Nabaztag : patriebo
Nbr de messages : 5
Carottes : 6121

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: The PHP script   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeMar 7 Mar 2006 - 20:06

Since some people asked me about the script, this is it. It's so much fun and simple to program the Nabaztag. Super product! Laughing

P.S.: Excuse my sloppy coding, this was a late night invention Sleep

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">

<html>
<head>
  <title>Nabaztag Ear Mover by Ebo Eppenga</title>
</head>

<body>

<?php

//Set default values
if ($sn == "") {$sn = "000000000000";}
if ($tkn == "") {$tkn = "99999999999";}

//If no positions found set some value
if ($l_ear == "")
{
  $l_ear = "No value set";
  $r_ear = "No value set";
}

<b>Current Status Nabaztag</b>

<table cellspacing=0 cellpadding=0>
<tr><td>Serial number</td><td>: ".$sn."</td></tr>
<tr><td>Token</td><td>: ".$tkn."</td></tr>
<tr><td>Left ear</td><td>: ".$l_ear."</td></tr>
<tr><td>Right ear</td><td>: ".$r_ear."</td></tr>
</table>
<p>
";

//Change current status
echo "
<b>Change parameters</b>
<p>
<form action=index.php method=post>
<table cellspacing=0 cellpadding=0>
<tr><td>Serial number</td><td>: <input type=text name=sn size=12 maxlength=12 value=".$sn."></td></tr>
<tr><td>Token</td><td>: <input type=text name=tkn size=15 maxlength=15 value=".$tkn."></td></tr>
<tr>
  <td>Left ear:</td>
  <td>
    <select name=l_ear>
      <option>0</option>
      <option>5</option>
      <option>10</option>
      <option>15</option>
    </select>
  </td>
</tr>

<tr>
  <td>Right ear:</td>
  <td>
    <select name=r_ear>
      <option>0</option>
      <option>5</option>
      <option>10</option>
      <option>15</option>
    </select>
  </td>
</tr>
</table>
<p>
<font color=red><b>Please enter your own token and serial number to control your rabbit.</b></font>
<p>

<input type=submit value='Set paramaters for Nabaztag'>
</form>
";

//Retrieve information from form and process
$l_ear = $_POST['l_ear'];
$r_ear = $_POST['r_ear'];
$eurl = "http://www.nabaztag.com/vl/FR/api.jsp?sn=".$sn."&token=".$tkn."&posleft=".$l_ear."&posright=".$r_ear;

//Skip processing if this is the first time
if ($l_ear != "No value set")
{
$lines = file ($eurl);
}

?>

</body>
</html>
Revenir en haut Aller en bas
http://www.eppenga.com
nabazland
Karotzeur taquin
nabazland


Age : 55
Localisation : Rouen - France
Nabaztag : Caulfield (v2.1)
Nbr de messages : 9783
Carottes : 12628

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: Re: Another new PHP interface, move the ears of any Nabaztag :)   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeMar 7 Mar 2006 - 20:41

First step moving the Hears...
Second step... The bunny can talk... In english now, according to ur profil...

(I have change ur sn and token)
U can download some sample here (if u need it): nabaztag.free.fr (in french)...

_____________________________


Revenir en haut Aller en bas
http://www.nabzone.com
Ebo Eppenga
Lapin nain
Lapin nain
Ebo Eppenga


Localisation : Groningen
Nabaztag : patriebo
Nbr de messages : 5
Carottes : 6121

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: It can talk now too indeed...   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeJeu 9 Mar 2006 - 0:01

Nice website! Very good! Seems I had the same ideas as everybody else Shocked And indeed...this evening I made the bunny talk only I don't understand the leds yet, but maybe tomorrow evening.

I read your php-scripts and I also read the French forums now, mon francais c'est n'est pas tres bien, mais suffisant pour comprender les texts. :!:

Please see www.eppenga.com/nabaztag for the talking version
Revenir en haut Aller en bas
http://www.eppenga.com
nabazland
Karotzeur taquin
nabazland


Age : 55
Localisation : Rouen - France
Nabaztag : Caulfield (v2.1)
Nbr de messages : 9783
Carottes : 12628

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: Re: Another new PHP interface, move the ears of any Nabaztag :)   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeJeu 9 Mar 2006 - 10:00

Hey Ebo Eppenga,

Thanks.

U should not display ur serail and token...
Everybody could use it to take control of ur rabbit.

Have a nice day

_____________________________


Revenir en haut Aller en bas
http://www.nabzone.com
fridgehead
Lapin nain
Lapin nain



Nbr de messages : 22
Carottes : 6114

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: Re: Another new PHP interface, move the ears of any Nabaztag :)   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeDim 12 Mar 2006 - 11:05

..but thats the cool thing about it, somewhere on this planet right now is alittle bunny shouting "woo woo woo"! Razz

Are there any real problems with making the SN public other than poeple shouting abuse at you?
Revenir en haut Aller en bas
http://getahaircut.johnnysausage.com
Ebo Eppenga
Lapin nain
Lapin nain
Ebo Eppenga


Localisation : Groningen
Nabaztag : patriebo
Nbr de messages : 5
Carottes : 6121

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: Nice :)   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeMar 14 Mar 2006 - 19:16

Indeed, I noticed that it said woo woo yellownabzwink Very nice gesture!

I think I will change the application somewhat but I think it's still good fun if other people can move their ears. I think I will probably integrate this script into my own page at www.eppenga.com at a later stage.

I am quite curious after the MSN integration, I already made some other private things using CURL (http://curl.haxx.se/), very easy to use.

Cheers!
Revenir en haut Aller en bas
http://www.eppenga.com
fridgehead
Lapin nain
Lapin nain



Nbr de messages : 22
Carottes : 6114

Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: Re: Another new PHP interface, move the ears of any Nabaztag :)   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitimeMar 14 Mar 2006 - 20:41

I've got some basic MSN stuff going, using gAIM and perl scripts as a plugin. All I need is for mr postman to deliver the bunny and I can test it Razz

just started on a lotter number notification service as well. PHP/MYSql based, so hopefully I can open it up to you guys yellownabzhappy
Revenir en haut Aller en bas
http://getahaircut.johnnysausage.com
Contenu sponsorisé





Another new PHP interface, move the ears of any Nabaztag :) Empty
MessageSujet: Re: Another new PHP interface, move the ears of any Nabaztag :)   Another new PHP interface, move the ears of any Nabaztag :) Icon_minitime

Revenir en haut Aller en bas
 
Another new PHP interface, move the ears of any Nabaztag :)
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» Interface Nabaztag.com
» Identification sur l'interface nabaztag.com
» radio et interface My Nabaztag en anglais
» Interface nabaztag inaccessible apres configuration
» Problème accès interface Nabaztag/Tag avec EEE PC en WiFi

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Forum des Objets Communicants et Solutions pour les Libérer... :: IV. I Don't Speak French! :: Archives :: API & Developments-
Sauter vers: