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  
-38%
Le deal à ne pas rater :
Ecran PC gaming 23,8″ – ACER KG241Y P3bip à 99,99€
99.99 € 159.99 €
Voir le deal

 

 Nabaztag emulator for Karotz (OJN)

Aller en bas 
+3
Pixel du Rezo
dark_line
carlo64
7 participants
Aller à la page : Précédent  1, 2, 3, 4, 5, 6, 7  Suivant
AuteurMessage
carlo64
Bronze Nabz
Bronze Nabz



Nbr de messages : 163

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMer 28 Oct 2015 - 20:15

did you do these steps?
telnet

cd /usr/openkarotz/Extra
cp /usr/www/cgi-bin/dbus_events /usr/www/cgi-bin/dbus_events_backup
cp dbus_events /usr/www/cgi-bin
chmod a+x /usr/www/cgi-bin/dbus_events

reboot karotz

after boot the bunny say 'ready' etc etc
you can press three times the head

Carlo




jcinfo a écrit:
carlo64 a écrit:
to run the emulator, just press quickly three times the head.

Y press 3 times and ... nothing.
Revenir en haut Aller en bas
jcinfo
Nabz Junior
Nabz Junior



Localisation : France or spain
Nbr de messages : 50
Carottes : 5333

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMer 28 Oct 2015 - 22:05

Ok nice now it's ok yellownabzsmile
Revenir en haut Aller en bas
emmanuel.goldstein
Lapin nain
Lapin nain



Localisation : ici
Nbr de messages : 32
Carottes : 4858

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeDim 8 Nov 2015 - 12:08

carlo64 a écrit:
Bonjour
essayez de changer la valeur de la variable 'loopTry' dans le fichier nabemu.py

---
loopTry=50 ### CHANGE if you want
---

sont le nombre de tentatives de reconnexion
essayez une valeur élevée 500/1000

Carlo

emmanuel.goldstein a écrit:
le karotz ne reconnecte pas quand pixel est offline trop longtemps ;(

ne marche pas - pixel a redemarre son serveur aujourd hui.
mon karotz a le valeur 1000 et ne se relier pas.
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeLun 9 Nov 2015 - 9:23

I must study a function of log to find out what happens!
as I have time I make attempts. Also some logs on the side of Pixel could be useful ...  nabzsmile
Revenir en haut Aller en bas
emmanuel.goldstein
Lapin nain
Lapin nain



Localisation : ici
Nbr de messages : 32
Carottes : 4858

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeDim 22 Nov 2015 - 13:14

Autoconnect loopTry=1000 failed.

pixel rebooted today, it just got my attention after 7 hours.
Karotz was not reconnected.

Do you need some of my karotz logfiles?

Ask pixel for his, as I'm still the only karotz on his server.
Revenir en haut Aller en bas
dark_line
Bronze Nabz
Bronze Nabz
dark_line


Age : 54
Localisation : In ze Black Rabbit Hole
Nabaztag : Karotz (blanc, donc Blackie)
Nbr de messages : 148
Carottes : 3665

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeVen 27 Nov 2015 - 9:23

emmanuel.goldstein a écrit:
Autoconnect loopTry=1000 failed.

pixel rebooted today, it just got my attention after 7 hours.
Karotz was not reconnected.

Do you need some of my karotz logfiles?

Ask pixel for his, as I'm still the only karotz on his server.

Not the only Karotz around anymore, Blackie is back!

It's been a while (life has been busy), still running with a rather old version of the emulator, I'll do my best to update (next week probably).

Meanwhile... Blackie will be connected as is.
Revenir en haut Aller en bas
emmanuel.goldstein
Lapin nain
Lapin nain



Localisation : ici
Nbr de messages : 32
Carottes : 4858

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeVen 27 Nov 2015 - 9:29

Nabaztag emulator for Karotz (OJN) - Page 6 Bildsc11


Juhuuu!!
Revenir en haut Aller en bas
dark_line
Bronze Nabz
Bronze Nabz
dark_line


Age : 54
Localisation : In ze Black Rabbit Hole
Nabaztag : Karotz (blanc, donc Blackie)
Nbr de messages : 148
Carottes : 3665

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeVen 27 Nov 2015 - 9:38

carlo64 a écrit:
Hi,
I add httpPort in the source, please update..

------
h = 'openjabnab.fr'   ################# CHANGE HERE
httpPort=':80'; ## :80 or empty for default
port = 5222;
--------
not change port 5222, it's xmpp port, hardly it is changed on the server.

I hope work!
yellownabzwink

Ciao
Carlo


Hello carlo,

Nice to see there has been some newsies here.
So what's the idea with adding the httpPort? What function (or future function) does it give to the Karotz?

In other words: how do you use it?
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeLun 30 Nov 2015 - 15:09

Welcome back dark_line!!
nabzciao

Httpport used when connecting to a server using a configuration other than port 80 (default for http)
not used to openjabnab.fr but for other servers homemade

Carlo
Revenir en haut Aller en bas
dark_line
Bronze Nabz
Bronze Nabz
dark_line


Age : 54
Localisation : In ze Black Rabbit Hole
Nabaztag : Karotz (blanc, donc Blackie)
Nbr de messages : 148
Carottes : 3665

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeVen 11 Déc 2015 - 9:39

Merci carlo !

I could not find the time to update with the latest version of nabemu.py... but I understand it's not necessary for just connecting the rabbit to openjabnab.

Since I reconnected Blackie two weeks ago, I noticed several unexplained disconnections from the server.
I can't explain them, my connection is very stable so the rabbit shouldn't disconnect.

Where should I look to explain that? Are there logs inside the rabbit maybe?
Revenir en haut Aller en bas
emmanuel.goldstein
Lapin nain
Lapin nain



Localisation : ici
Nbr de messages : 32
Carottes : 4858

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeJeu 17 Déc 2015 - 20:43

it's fast and easy to get your karotz back online.

Karotz and Nabaztag-Emulator


connects your Karotz with Openkarotz to a nabaztag-server.
git clone https://github.com/ccarlo64/nabaztag-emulator.git
Transfer by ftp the content of nabaztag-emulator/* to /usr/openkarotz/Extras.
Now telnet karotz - username: openkarotz password:

cd /usr/openkarotz/Extras
chmod a+x *.py
chmod a+x *.sh
cp /usr/www/cgi-bin/dbus_events /usr/www/cgi-bin/dbus_events_backup
cp dbus_events /usr/www/cgi-bin
chmod a+x /usr/www/cgi-bin/dbus_events

Have an account on http://openjabnab.fr/ojn_admin/index.php ready with the MAC of your rabbit.

Restart your Karotz.
Push the button at top of the head three times, wait for the funny sound, see your rabbit connected at http://openjabnab.fr/ojn_admin/index.php.

To debug - telnet to your Karotz - username: openkarotz password:
cd /usr/openkarotz/Extras
python nabemu.py
now watch the messages of this script and ask here for help to connect.
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeSam 9 Jan 2016 - 12:32

Hi,
updated nabemu.py

I rewrote some code, I hope now that the connection lasts longer.
if you want to try it!  nabzsteam

I added also a kind of log, based on the value that we give to the variable
if you want to see better what happens between rabbit and ojn set to 1 or 2:

logSW = 0 # value: nothing 0, 1 write file log.txt (warning no size control), 2 console

remember to check the address of your server ojn

Carlo
Revenir en haut Aller en bas
emmanuel.goldstein
Lapin nain
Lapin nain



Localisation : ici
Nbr de messages : 32
Carottes : 4858

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMer 20 Jan 2016 - 1:04

disconnects continuously.
at least each day.
please help.

Code:


t
pollButton..
t
pollButton..
t
o
( Tue Jan 19 16:59:38 2016 )  send: <presence from='000e8e2c9165@openjabnab.fr/idle' id='183'></presence>
( Tue Jan 19 16:59:38 2016 )  receive: <presence from='000e8e2c9165@openjabnab.fr/idle' to='000e8e2c9165@openjabnab.fr/idle' id='183'/>
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
o
( Tue Jan 19 17:00:05 2016 )  SENDANDRECEIVE: recv
( Tue Jan 19 17:00:05 2016 )  send: <presence from='000e8e2c9165@openjabnab.fr/idle' id='184'></presence>
( Tue Jan 19 17:00:05 2016 )  receive:
( Tue Jan 19 17:00:05 2016 )  ERROR: exit loop while, try reconnect..
Yeee! Socket Connected to openjabnab.fr on ip 87.98.154.94
( Tue Jan 19 17:00:07 2016 )  SENDANDRECEIVE: recv
( Tue Jan 19 17:00:07 2016 )  send: <?xml version='1.0' encoding='UTF-8'?><stream:stream to='openjabnab.fr' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
( Tue Jan 19 17:00:07 2016 )  receive:
( Tue Jan 19 17:00:10 2016 )  SENDANDRECEIVE: recv
( Tue Jan 19 17:00:10 2016 )  send: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
( Tue Jan 19 17:00:10 2016 )  receive:
( Tue Jan 19 17:00:10 2016 )  INIT: Error fase 2 nonce not found :(
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMer 20 Jan 2016 - 9:47

Hi!

curious, my Karotz holds several days!
try increasing the value in the file nabemu.py
-----
later = 0.4 #delay between send and receive

try 0.7 or 0.8

we will find the optimal value for the server!

let me know
Carlo


emmanuel.goldstein a écrit:
disconnects continuously.
at least each day.
please help.

Code:


t
pollButton..
t
pollButton..
t
o
( Tue Jan 19 16:59:38 2016 )  send: <presence from='000e8e2c9165@openjabnab.fr/idle' id='183'></presence>
( Tue Jan 19 16:59:38 2016 )  receive: <presence from='000e8e2c9165@openjabnab.fr/idle' to='000e8e2c9165@openjabnab.fr/idle' id='183'/>
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
pollButton..
t
o
( Tue Jan 19 17:00:05 2016 )  SENDANDRECEIVE: recv
( Tue Jan 19 17:00:05 2016 )  send: <presence from='000e8e2c9165@openjabnab.fr/idle' id='184'></presence>
( Tue Jan 19 17:00:05 2016 )  receive:
( Tue Jan 19 17:00:05 2016 )  ERROR: exit loop while, try reconnect..
Yeee! Socket Connected to openjabnab.fr on ip 87.98.154.94
( Tue Jan 19 17:00:07 2016 )  SENDANDRECEIVE: recv
( Tue Jan 19 17:00:07 2016 )  send: <?xml version='1.0' encoding='UTF-8'?><stream:stream to='openjabnab.fr' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
( Tue Jan 19 17:00:07 2016 )  receive:
( Tue Jan 19 17:00:10 2016 )  SENDANDRECEIVE: recv
( Tue Jan 19 17:00:10 2016 )  send: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
( Tue Jan 19 17:00:10 2016 )  receive:
( Tue Jan 19 17:00:10 2016 )  INIT: Error fase 2 nonce not found
Revenir en haut Aller en bas
emmanuel.goldstein
Lapin nain
Lapin nain



Localisation : ici
Nbr de messages : 32
Carottes : 4858

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMar 26 Jan 2016 - 7:46

Increased on 0.8 and still disconnecting after some hours.
I'm on pixel du rezo.
Which server are you on, as I'm the only karotz on pixel du rezo?
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMar 26 Jan 2016 - 8:59

I connect to the server openznab.it
I'll try to do some tests with the openjabnab.fr

Carlo

emmanuel.goldstein a écrit:
Increased on 0.8 and still disconnecting after some hours.
I'm on pixel du rezo.
Which server are you on, as I'm the only karotz on pixel du rezo?
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeLun 15 Fév 2016 - 21:01

ok after various tests maybe now works

please retry emmanuel!

Carlo
Revenir en haut Aller en bas
emmanuel.goldstein
Lapin nain
Lapin nain



Localisation : ici
Nbr de messages : 32
Carottes : 4858

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMar 16 Fév 2016 - 0:48

online now, lets see tomorrow
Revenir en haut Aller en bas
emmanuel.goldstein
Lapin nain
Lapin nain



Localisation : ici
Nbr de messages : 32
Carottes : 4858

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMar 23 Fév 2016 - 17:48

online since 8 days now, surviving sleep and anything - merci beaucoup!!
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMar 26 Juil 2016 - 12:26

Hi,
simplified installation added a self-extracting script

selfextract.it.bsx for openznab.it and
selfextract.fr.bsx for openjabnab.fr

copy into /usr/openkarotz

set execute permission
chmod +x selfextract.it.bsx or
chmod +x selfextract.fr.bsx

./selfextract.it.bsx or ./selfextract.fr.bsx

.....

reboot the karotz and after ready voice three clicks in the head

Carlo
Revenir en haut Aller en bas
Ifrit
Lapin nain
Lapin nain
Ifrit


Localisation : Corbeil-Essonne
Nabaztag : NabazIfrit (Tag/Tag); Blacky (Tag/Tag); Sunny (Karotz)
Nbr de messages : 37
Carottes : 3122

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeLun 12 Fév 2018 - 22:46

Hi Carlos,

I just tried your emulator, and I give a shot to the self-extracting script.

First: Thanks for your work !  NabzPlus

Now, my feedback:
I think that it's may be a good idea to add in your instructions a "cd /usr/openkarotz" after the copy.
Personally I've done chmod and ran the script from initial telnet connection directory (which is /usr/karotz) without error (as I was typing the full correct path in commands).
So, first step went good but the script partially failed, logging that pwd directory wasn't correct.
After going to /usr/openkarotz the selfextract script run flawlessly.
Just one thing: I watch inside the backup and I was surprised to see the three click section that launch the emuscript ... strange  scratch

And Finally, my issue:
After having reboot my karotz I tried to press the button three times and ... nothing.  yellownabzsad
I've done several attemps and the only reaction of my karotz were:
- After one button press (append only once): the midi_communion sound
- After two (or sometime three) button press (): the midi_communion sound, briefly, followed by a silent endless taichii with from time to time a small pause, some audio chirps and it start again...

Wait ... I just realised that openjabnab sees it as a nabaztag during this endless taichii !  nabzinlove
So my only remaining question is : How to stop his taichii ? I tried one, two or three button press without success...

Again: Thanks for your works.
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMar 13 Fév 2018 - 20:40

Hi Ifrit,
unfortunately my Karotz is broken   nabzcry   and I can not do more tests!
I will try to install it on a linux to refresh my memory, in the meantime try to set the variable logSW in the nabemu.py file to 1
...
logSW=1 # value: 0 nothing, 1 write file log.txt (warning no size control), 2 console
..
and then put here the log.txt file so we understand what happens

Thank for you feedback!
Carlo
Revenir en haut Aller en bas
Ifrit
Lapin nain
Lapin nain
Ifrit


Localisation : Corbeil-Essonne
Nabaztag : NabazIfrit (Tag/Tag); Blacky (Tag/Tag); Sunny (Karotz)
Nbr de messages : 37
Carottes : 3122

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeMar 13 Fév 2018 - 21:03

Thanks,

Sorry to learn about your Karotz status. yellownabzsad

I'll try to generate some log another day, too tired tonight...
I already tried to launch the script from shell and I planned to redirect the output to a file, but your solution is cleaner.
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeJeu 15 Fév 2018 - 20:11

Hi, I did some tests on linux and the emulator seems to go
clearly I can not try ears and leds :-)

Carlo

Nabaztag emulator for Karotz (OJN) - Page 6 Karotz11
Revenir en haut Aller en bas
Ifrit
Lapin nain
Lapin nain
Ifrit


Localisation : Corbeil-Essonne
Nabaztag : NabazIfrit (Tag/Tag); Blacky (Tag/Tag); Sunny (Karotz)
Nbr de messages : 37
Carottes : 3122

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeDim 25 Fév 2018 - 0:42

Hum ... This is strange.
I've done some test tonight:

First I've notice that nabemu.py doesn't start automatically; neither at boot or after 3 click.
I must launch it manually from telnet. (And to stop it I need to press ctrl+c and use the kill command)

At nabemu.py start: the connexion to openjabnab works nicely.
I can see Sunny from the admin page, and configure and use some plugins (like the TTS one).

But as soon as I try to use the button it' messing everything.
Sometimes 1 button press launch the 2 button action, sometime it doesn't do anything (it keeps pooling button).
Almost every-time a double button press results in a chime and the script failed to a loop of error-reconnect to openjabnab.
I suspected a mechanical issue (I had an issue on a Tag:Tag where the shell was causing button struck), but even without it shell the button doesn't react better.

Here is a copy of the error loop:
ERROR: exit loop while, try reconnect.. try n.ro 48
Code:
( Sat Feb 24 23:16:18 2018 ) receive: <iq type='set' to='000e8e2c91a6@openjabnab.fr/idle' from='openjabnab.fr@openjabnab.fr/server' id='exec1'><command xmlns='http://jabber.org/protocol/commands' node='getshortconfig' action='execute'/></iq><message from='net.openjabnab.platform@openjabnab.fr/services' to='000e8e2c91a6@openjabnab.fr/idle' id='OJaNa-23783'><packet xmlns='violet:packet' format='1.0' ttl='604800'>fwQAAAZ////+I3j/</packet></message><iq id='7' type='result'/>
( Sat Feb 24 23:16:18 2018 ) boot packet: fwQAAA5////+BAAFAAgAIQUjeAsAAAEA/w==
( Sat Feb 24 23:16:19 2018 ) boot packet: 7f0400000e7ffffffe040005000800210523780b00000100ff
( Sat Feb 24 23:16:19 2018 ) boot ears: 0000 nose: 00 color breath: ff00ff taichi: 78 wakeup!
( Sat Feb 24 23:16:23 2018 ) Authentication complete....
( Sat Feb 24 23:16:23 2018 ) found 1 message extra..
( Sat Feb 24 23:16:23 2018 ) rcv data=> <message from='net.openjabnab.platform@openjabnab.fr/services' to='000e8e2c91a6@openjabnab.fr/idle' id='OJaNa-23781'><packet xmlns='violet:packet' format='1.0' ttl='604800'>fwQAAAZ////+I3j/</packet></message>
( Sat Feb 24 23:16:23 2018 ) received packet: 7f040000067ffffffe2378ff
( Sat Feb 24 23:16:23 2018 ) OPENJABNAB.FR packet taichi 23  78
( Sat Feb 24 23:16:25 2018 ) send: <presence from='000e8e2c91a6@openjabnab.fr/idle' id='1'></presence>
( Sat Feb 24 23:16:25 2018 ) receive:
( Sat Feb 24 23:16:26 2018 ) SENDANDRECEIVE: sendall
( Sat Feb 24 23:16:26 2018 ) send: <presence from='000e8e2c91a6@openjabnab.fr/idle' id='2'></presence>
( Sat Feb 24 23:16:27 2018 ) receive:
( Sat Feb 24 23:16:27 2018 ) ERROR: exit loop while, try reconnect.. try n.ro 48
( Sat Feb 24 23:16:28 2018 ) send: <?xml version='1.0' encoding='UTF-8'?><stream:stream to='openjabnab.fr' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
( Sat Feb 24 23:16:28 2018 ) receive: <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28719' from='openjabnab.fr' version='1.0' xml:lang='en'><stream:features><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register xmlns='http://violet.net/features/violet-register'/></stream:features>
( Sat Feb 24 23:16:29 2018 ) send: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
( Sat Feb 24 23:16:29 2018 ) receive: <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>bm9uY2U9IjkwNDk0MTc1MiIscW9wPSJhdXRoIixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==</challenge>
( Sat Feb 24 23:16:29 2018 ) AUTH base64decode: nonce=904941752,qop=auth,charset=utf-8,algorithm=md5-sess
( Sat Feb 24 23:16:29 2018 ) AUTH pre-base64encode: usename=000e8e2c91a6
( Sat Feb 24 23:16:29 2018 ) AUTH pre-base64encode: nonce=904941752
( Sat Feb 24 23:16:29 2018 ) AUTH pre-base64encode: cnonce=8724012243844
( Sat Feb 24 23:16:29 2018 ) AUTH pre-base64encode: nc=00000001
( Sat Feb 24 23:16:29 2018 ) AUTH pre-base64encode: digest_uri=xmpp/openjabnab.fr
( Sat Feb 24 23:16:29 2018 ) AUTH pre-base64encode: response=0c0d05946979aed44e410691fde0edfb
( Sat Feb 24 23:16:29 2018 ) AUTH pre-base64encode: charset=utf-8
( Sat Feb 24 23:16:32 2018 ) Authentication complete....
( Sat Feb 24 23:16:32 2018 ) found 1 message extra..
( Sat Feb 24 23:16:32 2018 ) rcv data=> <message from='net.openjabnab.platform@openjabnab.fr/services' to='000e8e2c91a6@openjabnab.fr/idle' id='OJaNa-23783'><packet xmlns='violet:packet' format='1.0' ttl='604800'>fwQAAAZ////+I3j/</packet></message>
( Sat Feb 24 23:16:32 2018 ) received packet: 7f040000067ffffffe2378ff
( Sat Feb 24 23:16:32 2018 ) OPENJABNAB.FR packet taichi 23  78
( Sat Feb 24 23:16:33 2018 ) send: <presence from='000e8e2c91a6@openjabnab.fr/idle' id='1'></presence>
( Sat Feb 24 23:16:34 2018 ) receive:
( Sat Feb 24 23:16:34 2018 ) SENDANDRECEIVE: sendall
( Sat Feb 24 23:16:35 2018 ) send: <presence from='000e8e2c91a6@openjabnab.fr/idle' id='2'></presence>
( Sat Feb 24 23:16:35 2018 ) receive:
( Sat Feb 24 23:16:35 2018 ) ERROR: exit loop while, try reconnect.. try n.ro 48

While in this loop error the only solution to recover is to exit the python script and kill it.


Also: I'm very surprise that during all theses test and reboot the karotz haven't gone in it's crazy taichii mode (as it was looping in last time)

Sunny will not be heal this weekend again... nabzsteam
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz



Localisation : italia
Nbr de messages : 163
Carottes : 3828

Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitimeLun 26 Fév 2018 - 14:48

Hi,
strange log, it seems that for some reason the connection falls, no other message in the console?

You can try the simulation of the buttons like this:
open two telnet sessions; in one run the emulator
python nabemu.py

and in the other go to the /usr/openkarotz/Extra folder
and run
touch 1

to simulate a click and
touch 2
to simulate two clicks

obviously you should see the reactions in the other session and in the karotz itself based on what you have set up on the server.

let me know!
Carlo
Revenir en haut Aller en bas
Contenu sponsorisé





Nabaztag emulator for Karotz (OJN) - Page 6 Empty
MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Nabaztag emulator for Karotz (OJN) - Page 6 Icon_minitime

Revenir en haut Aller en bas
 
Nabaztag emulator for Karotz (OJN)
Revenir en haut 
Page 6 sur 7Aller à la page : Précédent  1, 2, 3, 4, 5, 6, 7  Suivant
 Sujets similaires
-
» Karotz = Nabaztag 2 ???
» API nabaztag -> karotz !
» du son nabaztag tag pour le karotz !!!!
» Karotz et Nabaztag (les reelles differences)
» Nabaztag => Karotz ... et vice versa

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... :: II. Nabaztag, Karotz, mir:ror, Dal:Dal (Violet Object Operating System) :: Le monde de Karotz-
Sauter vers: