[Need Help] Displaying web result
-
YouTube Search
"Youtube geeft dit resultaat" "Dit komt terug uit een zoekresultaat van Youtube" "Dit komt van Youtube" "Hier is een overeenkomend YouTube-resultaat" "Hier is een resultaat van Youtube" "Hier is een antwoord van Youtube" "Hier is een Youtube resultaat" "Dit is het beste YouTube resultaat" "Hier is iets van Youtube" "Dit heb ik gevonden op Youtube"
-
Warn Guys:
lang
is NOT the lang of MagicMirror config !lang
is the lang of GA AssisantConfig see there
-
@bugsounet Hello. I hope you are doing well. I am not sure what you mean about the language. In mm config there is the
lang
section which in my case is set to âgrâ and thelocale
section which is set to âel-GRâ. For the translation I used the samelang
setting as you. Is this wrong? Do you need another setting? -
Hi,
I just launch V4.2.2 and it display MMM-GoogleAssistant Language used:
in this case: itâs
fr_FR
No error can be emit now
Then, what is assisant lang ? @bitass, @raf, @Anthony
Note: new beta lag supported:
it-IT
,de-DE
Warn:- I donât want a translate part !
- I want ALL sentence on the screen (assisant response) that match for opening browser need
Tips:
- Enable debug mode in GA
-
TelegramBot can help you !
â> Try/query bugsounet
-
Gateway app can help you too !
in Tools -> query Assistant (request)
â> Sendbugsounet
- go to terminal and see logs
you will discover this:
[02.03.2023 00:49.57.198] [LOG] [GA] ASSISTANT_RESULT { error: { error: null, message: null, audio: false }, action: { requestId: '64000197-0000-2cf1-a667-582429d28bc0' }, text: "Voici ce que j'ai trouvé", screen: { ....
I am looking to have all the possibilities of the
text
field. Iâm my casetext: "Voici ce que j'ai trouvĂ©",
Usually there are about 10 different answer possibilitiesPast me all posibilites my lang used in GA (see my screenshot)
Thanks for your help ! -
âVoilĂ ce que nous donne une recherche rapideâ
Par contre, j ai eu des messages d erreur. et aucune page web ne s est ouverte ![02.03.2023 14:21.45.831] [LOG] [GA] ASSISTANT_RESULT {
error: { error: null, message: null, audio: false },
action: { requestId: â6401e671-0000-2ce0-9f01-582429cef278â },
text: âVoilĂ ce que nous donne une recherche rapideâ,
screen: {
text: â.show_text_container{width:100%;padding:41px 0px 41px 112px;box-sizing:border-box}.show_text_content{font-size:1em;line-height:1.4em;width:24.7em;white-space:pre-wrap;color:#ffffff}#scroll-up{background-image:url(âhttps://www.gstatic.com/actions/devices_platform/expand-less.pngâ);background-size:48px 48px;color:#FFFFFF;height:48px;width:48px;margin-bottom:24px;display:none}#scroll-up:focus{background-color:#8e4e76}#scroll-down{background-image:url(âhttps://www.gstatic.com/actions/devices_platform/expand-more.pngâ);background-size:48px 48px;color:#FFFFFF;height:48px;width:48px;display:none}#scroll-down:focus{background-color:#8e4e76}.scroll-bar{left:32px;position:absolute;display:flex;flex-direction:column;margin-top:48px}.scroll_active{background-color:#424242}.scroll_inactive{opacity:0.3}\nâ +
âVoilĂ ce que nous donne une recherche rapideâ,
links: [],
photos: [],
path: â/home/rpi/MagicMirror/modules/MMM-GoogleAssistant/tmp/responseOutput.htmlâ,
uri: âtmp/responseOutput.htmlâ
},
audio: {
path: â/home/rpi/MagicMirror/modules/MMM-GoogleAssistant/tmp/lastResponse.mp3â,
uri: âtmp/lastResponse.mp3â
},
transcription: { transcription: âbugsonnetâ, done: true },
continue: false,
volume: null,
lastQuery: {
type: âTEXTâ,
key: âbugsonnetâ,
lang: âfr-FRâ,
status: âstandbyâ,
chime: true
}
}
[02.03.2023 14:21.47.359] [LOG] [GA] [GoogleSearch] Link: https://www.lepoint.fr/justice/le-bourgeois-le-vicomte-et-le-laveur-de-vitres-rebondissement-dans-l-affaire-bissonnet-22-05-2019-2314465_2386.php
[02.03.2023 14:21.47.361] [LOG] [GA] [GoogleSearch] Link: https://www.lefigaro.fr/tag/jean-michel-bissonnet
[02.03.2023 14:21.47.363] [LOG] [GA] [GoogleSearch] Link: https://www.francebleu.fr/infos/faits-divers-justice/les-annees-2010-dans-l-herault-le-proces-de-l-affaire-bissonnet-1577117297
[02.03.2023 14:21.47.364] [LOG] [GA] [GoogleSearch] Link: https://www.rtl.fr/actu/justice-faits-divers/l-affaire-bissonnet-le-mari-le-jardinier-et-le-vicomte-7900214813
[02.03.2023 14:21.47.367] [LOG] [GA] [GoogleSearch] Results: [
âhttps://www.lepoint.fr/justice/le-bourgeois-le-vicomte-et-le-laveur-de-vitres-rebondissement-dans-l-affaire-bissonnet-22-05-2019-2314465_2386.phpâ,
âhttps://www.lefigaro.fr/tag/jean-michel-bissonnetâ,
âhttps://www.francebleu.fr/infos/faits-divers-justice/les-annees-2010-dans-l-herault-le-proces-de-l-affaire-bissonnet-1577117297â,
âhttps://www.rtl.fr/actu/justice-faits-divers/l-affaire-bissonnet-le-mari-le-jardinier-et-le-vicomte-7900214813â
]
[02.03.2023 14:21.50.716] [LOG] [DETECTOR] Starts listening. 1 Models
[02.03.2023 14:21.58.700] [ERROR] Error occurred in handler for âGUEST_VIEW_MANAGER_CALLâ: Error: ERR_ABORTED (-3) loading âabout:blankâ
at rejectAndCleanup (node:electron/js2c/browser_init:2:76993)
at EventEmitter.navigationListener (node:electron/js2c/browser_init:2:77299)
at EventEmitter.emit (node:events:525:35) {
errno: -3,
code: âERR_ABORTEDâ,
url: âabout:blankâ
} -
âCeci vient du Webâ tu ne l avais pas dans ta liste il me semble
-
Salut,
- Erreur Electron => essai dâouvrir la page mais la connexion a Ă©tĂ© reinitialisĂ©e
Ceci vient du Web
est present dans la liste depuis v4.2.0
-
@bugsounet
Donc Ă mon avis, tu as la liste complĂšte en fr -
@bugsounet j attends avec impatience le wiki pour Smart Home !
-
I did an update to GA 4.2.2
I recieve[GA:AS] CONVERSATION_ERROR: Error: 3 INVALID_ARGUMENT: Invalid 'dialog_state_in': unsupported language_code. when my config is set to
nl-BEThis is the reason why I changed it to
en-US
-
@bitass : perfect !
Can you confirm me (to be sure that itâs not a translated part EN to NL)
- Youtube Search:
"YouTube geeft je dit resultaat" "Dit antwoord komt van YouTube" "Ik heb dit gevonden op YouTube" "Hier een passend voorstel van YouTube" "Hier een resultaat van YouTube" "Hier het antwoord van YouTube" "Hier is het beste resultaat van YouTube" "Hier is het eerste resultaat van YouTube" "Dit heb ik gevonden op YouTube" "YouTube stelt dit voor"
- GoogleSearch:
"Dit heb ik gevonden" "Dit is het beste resultaat dat ik gevonden heb" "Dit heb ik op internet gevonden" "Hier is het zoekresultaat" "Hier is het internet zoekresultaat" "Hier het beste zoekresultaat" "Dit is het resultaat van uw zoekopdracht" "Hier het antwoord van Google" "Hier heb je meer informatie"
Itâs the real Text response of GA displayed or itâs you own translate ?
-
@Raf :
I think that you use the default lang too (en-US)Itâs the real Text response of GA displayed or itâs you own translate ?
-
UPDATE:
Actual result, not translated:Youtube Search:
"Dit is het beste resultaat" "Hier is het beste zoekresultaat" "Dit heb ik gevonden" "Dit zijn de beste resultaten" "Hier zijn een paar zoekresultaten" "Hier is een resultaat" "Hier is een zoekresultaat"
GoogleSearch:
"Dit heb ik op internet gevonden" "Dit is het beste resultaat" "Dit heb ik gevonden" "Hier het beste zoekresultaat" "Hier is het beste zoekresultaat" "Hier is een resultaat" "Hier is een zoekresultaat" "Ik heb dit gevonden over je zoekopdracht"
-
thx, just added in v4.2.4
-
Thank you bugsounet! I did the update and the result is incredible, The GA opens every search I do (in dutch) and the most important thing is: it gives you much more interraction.
-
@bugsounet Hello again. In this case I cannot help you much bacause my piâs SD crashed and I must set all up again in a new one. I will do it during the weekend probably and then I will check what you need. I will keep in touch. Thank you again for your effort.
-
pt-BR (PortuguĂȘs Brasil) search on Google
âAqui estĂĄ o que eu encontreiâ
âAqui estĂĄ o resultado de pesquisa mais relevanteâ
âAqui estĂĄ o que encontrei na webâ
âAqui estĂĄ um resultado da pesquisaâ
âAqui estĂĄ um resultado da webâ
âEste Ă© o resultado principalâ
âIsto foi que encontrei atravĂ©s de uma pesquisaâ
âIsto foi obtido atravĂ©s do Googleâ
âAqui estĂŁo algumas informaçÔesâ
âNa web, encontramos este resultadoâsearch on YouTube
"Aqui estĂĄ o que encontreie noYouTube "
âAqui estĂĄ um resultado do YouTubeâ
âEu encontrei isso no YouTubeâ
âAqui estĂĄ um resultado do YouTubeâ
âAqui estĂŁo os melhores resultados do YouTubeâ
âAqui estĂŁo os primeiros resultados do YouTubeâ
âAqui estĂŁo alguns resultados encontrados no YouTubeâ
âAqui estĂŁo alguns resultados tirados do YouTubeâ -
itâs looks that itâs your own translate
Itâs not works like that
enter your request from GA like
Abrir uol.com.br
and you will be an reponse on console:[05.01.2024 11:58.50.707] [LOG] [GA] [ACTIVATE_ASSISTANT] RESULT { error: { error: null, message: null, audio: false }, action: { requestId: '6598303d-0000-25a3-83a3-2405886d5038' }, text: 'Abrindo a pĂĄgina da Web.', /// <---- there screen: { text: '.show_text_container{width:100%;padding:41px 0px 41px 112px;box-sizing:border-box}.show_text_content{font-size:1em;line-height:1.4em;width:24.7em;white-space:pre-wrap;color:#ffffff}#scroll-up{background-image:url("https://www.gstatic.com/actions/devices_platform/expand-less.png");background-size:48px 48px;color:#FFFFFF;height:48px;width:48px;margin-bottom:24px;display:none}#scroll-up:focus{background-color:#8e4e76}#scroll-down{background-image:url("https://www.gstatic.com/actions/devices_platform/expand-more.png");background-size:48px 48px;color:#FFFFFF;height:48px;width:48px;display:none}#scroll-down:focus{background-color:#8e4e76}.scroll-bar{left:32px;position:absolute;display:flex;flex-direction:column;margin-top:48px}.scroll_active{background-color:#424242}.scroll_inactive{opacity:0.3}\n' + ' Abrindo a pĂĄgina da Web.', links: [], photos: [], path: '/home/etec/MagicMirror/modules/MMM-GoogleAssistant/tmp/responseOutput.html', uri: 'tmp/responseOutput.html' }, audio: { path: '/home/etec/MagicMirror/modules/MMM-GoogleAssistant/tmp/lastResponse.mp3', uri: 'tmp/lastResponse.mp3' }, transcription: { transcription: 'Abrir uol.com.br', done: true }, continue: false, volume: null, lastQuery: { type: 'MIC', key: null, lang: 'pt-BR', status: 'standby', chime: true } }
the interesting thing on this reponse is :
text: 'Abrindo a pĂĄgina da Web.',
so: the database keyword isAbrindo a pĂĄgina da Web
Generaly you can have ~10 diferrent response, so retry again ⊠and again to have complete database
-
pl-PL
âOto, co znalazĆemâ
âOto najwyĆŒszy wynik wyszukiwaniaâ
âOto, co znalazĆem w Internecieâ
âOto wynik wyszukiwaniaâ
âOto wynik z sieciâ
âTo najlepszy wynikâ
âTo wrĂłciĆo z wyszukiwaniaâ
âto wrĂłciĆo z Googleâ
âtutaj trochÄ informacjiâyt:
âYouTube ma taki wynikâ
âTo wrĂłciĆo z YouTubeâ
âTo pochodzi z YouTubeâ
âOto pasujÄ cy wynik w YouTubeâ
âOto wynik z YouTubeâ
âOto odpowiedĆș z YouTubeâ
âOto wynik z YouTubeâ
âOto najlepszy wynik w YouTubeâ
âOto coĆ z YouTubeâ
âZnalazĆem to na YouTubeâ