Open NathanCrombez opened 7 years ago
Hi, you are the first with this issue... congratulations ! :) Is it repeated twice on the phone or speakers attached to the server ?
What is the result of http://JARVIS_SERVER_IP:PORT/?order=test&key=YOUR_KEY
inside a browser ?
Could you please start jarvis with jarvis -nv
, issue a command from the phone and copy/paste the result here ?
Actually I think that the problem occurs only with my plugin (e.g. : jv_pg_emulstation_game() ):p I certainly do something wrong but for the moment I don't know what.
192.168.1.46 - - [28/Jul/2017 14:19:12] "GET /?action=get_config&key= HTTP/1.1" 200 - 192.168.1.46 - - [28/Jul/2017 14:19:17] "GET /?action=get_config&key= HTTP/1.1" 200 - 192.168.1.46 - - [28/Jul/2017 14:19:48] "POST / HTTP/1.1" 200 - 192.168.1.46 - - [28/Jul/2017 14:19:59] "POST / HTTP/1.1" 200 -
Ok, I am closing the issue for now but we can still try to understand what you plugin does wrong. Is the code published somewhere ?
Ok I solved the problem by redirecting the output with " ... > /dev/null 2>&1 &". Thanks you for the help :)
Edit : btw, the code is here : https://github.com/NathanCrombez/jarvis-emulstation
hello, je rencontre aussi ce symptome depuis mon install de jarvis. Si je teste depuis mon phone avec jarvis-UI et le mode micro, ca marche et j'ai le retour dans l'écran. si je teste avec jarvis app, il relance 2 fois la commande, en bas de la fenetre, j'ai un message du genre "verifier IP et port". pourtant j'ai la réponse sur le haut parleur physique du RPI.
j'ai ce retour dans un navigateur, pour ta commande de test [{"warning": "No mic configured, forcing keyboard mode"}, {"answer": "Ca fonctionne!"}]
j'ai testé sur 2 android 6.0 (Honor 7 et Moto E 4G)
Merci
@YoyoAitw : que donne jarvis -nv
lorsque tu lances http://JARVIS_SERVER_IP:PORT/?order=test&key=YOUR_KEY
?
Est-ce que tu entends le message une ou deux fois ?
j'entends 1 seule fois le message avec l'url
`------------ Config ------------
jv_branch master
jv_version
jv_arch armv6l
jv_os_name raspbian
jv_os_version 8
language fr_FR
play_hw hw:0,0
rec_hw
speaker ALSA
microphone Default
recorder sox
trigger_stt snowboy
command_stt bing
tts_engine svox_pico
--------------------------------
No mic configured, forcing keyboard mode
DEBUG: program_startup hook
Starting RestAPI server on http://192.168.115.110:8080
Starting User Interface on http://192.168.115.110:8081
DEBUG: start_speaking hook
Irina: bonjour
DEBUG: stop_speaking hook
Commands from plugin jarvis-ui:
*OUVR*INTERFACE*
Commands from plugin jarvis-api:
Lionel: 192.168.115.8 - - [04/Oct/2017 20:53:50] "GET /?order=test&key=65480 HTTP/1.1" 200 -`
désolé, j'arrive pas à mettre en forme mieux sur le forum :)
@YoyoAitw : Est-ce que tu pourrais faire la même chose avec une commande via l'application Android ?
Pour la mise en forme il faut faire 3 fois le ` pour un bloc de texte. J'ai édité ton message, tu peux aller voir pour un exemple.
tu souhaites voir le jarvis -nv quans je dis test dans l'appli ? sur l'appli j'ai eu pas de retour écrit, et un message qui s'est affiché : Json parse error : no value answer j'ai entendu 2 fois le message et voilà la sortie du nv
pi@raspberrypi:~ $ jarvis -nv
------------ Config ------------
jv_branch master
jv_version
jv_arch armv6l
jv_os_name raspbian
jv_os_version 8
language fr_FR
play_hw hw:0,0
rec_hw
speaker ALSA
microphone Default
recorder sox
trigger_stt snowboy
command_stt bing
tts_engine svox_pico
--------------------------------
No mic configured, forcing keyboard mode
DEBUG: program_startup hook
Starting RestAPI server on http://192.168.115.110:8080
Starting User Interface on http://192.168.115.110:8081
DEBUG: start_speaking hook
Irina: bonjour
DEBUG: stop_speaking hook
User defined commands:
...
Lionel: 192.168.115.3 - - [06/Oct/2017 20:26:59] "GET /?action=get_config&key=65480 HTTP/1.1" 200 -
192.168.115.3 - - [06/Oct/2017 20:27:19] "POST / HTTP/1.1" 200 -
192.168.115.3 - - [06/Oct/2017 20:27:19] "GET /?action=get_config&key=65480 HTTP/1.1" 200 -
192.168.115.3 - - [06/Oct/2017 20:27:22] "POST / HTTP/1.1" 200 -
192.168.115.3 - - [06/Oct/2017 20:27:22] "GET /?action=get_config&key=65480 HTTP/1.1" 200 -
192.168.115.3 - - [06/Oct/2017 20:28:42] "GET /?action=get_config&key=65480 HTTP/1.1" 200 -
Bonjour super application!
Petit hic tout de même. Mais je vois que je suis pas le seul. Sur certain plugins la commande de retour est répété une deuxième fois.
Je n'ai le problème qu'avec l'application. Il n'y a pas de problème sur le navigateur avec Jarvis UI ou bien en direct via les micros
Merci
Hi, The app works almost perfectly. Indeed, I have just a small (but annoying) issue. Some of my vocal commands are repeated two times. For example, using the wikipedia plugin, Jarvis says the definition of the asked word then when he has finished he executes again the same thing. It looks like the app sends the command two time in a row. Any idea ? Am I the only one facing this problem ?
Device: Nexus 5 Android 6.0 Jarvis up to date (07 24 17)
Nathan C.