[Need Help] Displaying web result
-
@bugsounet
Google Search
lang: el-GR"Βρήκα αυτό" "Αυτό είναι το κορυφαίο αποτέλεσμα της αναζήτησης" "Βρήκα αυτό στο διαδίκτυο" "Αυτό είναι ένα αποτέλεσμα από την αναζήτηση" "Αυτό είναι ένα αποτέλεσμα από τον ιστό" "Αυτό είναι το κορυφαίο αποτέλεσμα" "Βρήκα αυτό μετά την αναζήτηση" "Βρήκα αυτό στο google" "Εδώ είναι μερικές πληροφορίες"
YouTube Search
"Αυτό είναι το αποτέλεσμα από το YouTube" "Βρήκα αυτό στο YouTube" "Αυτό είναι από το YouTube" "Αυτό είναι ένα ταιριαστό αποτέλεσμα από το YouTube" "Αυτό είναι ένα αποτέλεσμα από το YouTube" "Αυτή είναι μία απάντηση από το YouTube" "Αυτό είναι ένα αποτέλεσμα από το YouTube" "Αυτό είναι το κορυφαίο αποτέλεσμα στο YouTube" "Εδώ είναι κάτι από το YouTube" "Βρήκα αυτό στο YouTube"
-
nl-BE
"Hier is wat ik heb gevonden" "Hier is het beste zoekresultaat" "Hier is wat ik gevonden heb op internet" "Hier is een zoekresultaat" "Hier is het beste resultaat" "Dit komt terug uit een zoekresultaat" "Dit komt terug uit een zoekresultaat van google" "Hier is wat info"
-
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