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


 
AccueilAccueil  GalerieGalerie  FAQFAQ  RechercherRechercher  S'enregistrerS'enregistrer  Connexion  

Partagez | 
 

 Nabaztag emulator for Karotz (OJN)

Aller en bas 
Aller à la page : Précédent  1, 2, 3, 4, 5, 6, 7
AuteurMessage
carlo64
Bronze Nabz
Bronze Nabz


Nbr de messages : 158

MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Lun 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
Ifrit
Lapin nain
Lapin nain
avatar

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

MessageSujet: Nabaztag emulator for Karotz   Mer 28 Fév 2018 - 0:07

carlo64 a écrit:
You can try the simulation of the buttons like this:
[...]go to the /usr/openkarotz/Extra folder and run
touch 1
to simulate a click and
touch 2
to simulate two clicks
Great ! Perfect commands to diagnostic a faulty hardware nabzjump
I've gave it a try and here the results:
- The script is sometimes messing with the physically pressed button, but not with the soft generated (as far as I try).
- Soft, or physical, 3 clicks doesn't start or stop the script, and sometimes 3 physical clicks starts the connexion loop.
- I didn't see any special error message while in the error loop.
Maybe an issue with the events management config ?

After a while I decide to reset the karotz to factory, re-install openkarotz (with his frequent issues at firmware update), and nabemu.
The result (after 4 or 5 reset due to openkarotz and wifi issues) is a perfectly working script !
nabzhello2 Thanks for your work and your support !

I think i may have messed with the properties and/or ownership of some system files when I have launched the selfextract script from /usr/karotz (the default telnet directory) instead of /usr/openkarotz...
As said in a previous post: I put the file in the correct folder and I launched it with /usr/openkarotz/selfextract.it.bsx instead of ./selfextract.it.bsx; skipping the not-documented "cd" command (and believing it will works the same despite my telnet's active directory); looks like the script is active directory dependant...

I also noticed you have push a updated nabebu.py script to your github, so I gave it a try but I haven't seen a difference yet.
I think I will try to learn more about nabaztag plugins to try to understand a little more your script and eventually add others plugins compatibility with openjabnab.

New personal goal: the change of led pulse from openjabnab admin page (it's actually showing an empty selection list)
But it will be for another day.
nabzdream
Revenir en haut Aller en bas
carlo64
Bronze Nabz
Bronze Nabz


Localisation : italia
Nbr de messages : 158
Carottes : 1656

MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   Mer 28 Fév 2018 - 9:05

Hi,
I'm happy that it works!  yellownabzsmile
I have not provided software simulation for the three clicks, I'm sorry! is based on the event run by openkarotz probably is a matter of timing between one click and another.

I also noticed that often the openjabnab server has empty lists, I think it is a problem caused by the language selected in the account, try to set everything in French.

Carlo
Revenir en haut Aller en bas
Contenu sponsorisé




MessageSujet: Re: Nabaztag emulator for Karotz (OJN)   

Revenir en haut Aller en bas
 
Nabaztag emulator for Karotz (OJN)
Revenir en haut 
Page 7 sur 7Aller à la page : Précédent  1, 2, 3, 4, 5, 6, 7
 Sujets similaires
-
» Nabaztag emulator for Karotz (OJN)
» API nabaztag -> karotz !
» parler de nabaztag à nabaztag
» Re-initialiser un Nabaztag ?
» appli Karotz tierces => 40% pour Mindscape

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: