Solved Browser don't open
-
good evening, I have a problem, when I ask Jarvis to open a web page he replies “here’s what I found” but it doesn’t open anything. when I ask how the weather is, he opens a screen with the weather display. what am I doing wrong? Thanks good work
-
Hi,
electronOptions
are set ? -
do you mean at the beginning of the config file?
var config = { address: 'localhost', electronOptions: { webPreferences: { webviewTag: true } }, port: 8080, basePath: '/', ipWhitelist: [ '127.0.0.1', '::ffff:127.0.0.1', '::1' ], useHttps: false, httpsPrivateKey: '', httpsCertificate: '',
I have this
-
can I have
MMM-GoogleAssistant
andEXT-Browser
config ? -
{ module: 'MMM-GoogleAssistant', configDeepMerge: true, config: { recipes: [ '../../EXT-RadioPlayer/recipe/EXT-RadioPlayer.it.js' ], assistantConfig: { deviceRegistred: false, latitude: 44.352, longitude: 11.716 } } }, { module: 'EXT-Browser', disabled: false, config: { debug: false, displayDelay: 60000, scrollActivate: false, scrollStep: 25, scrollInterval: 1000, scrollStart: 5000 } },
-
any solution?
-
can you enable debug in config of
MMM-GoogleAssistant
retry to ask something for opening browser (to have a reply like "here’s what I found”)
past the content of the terminal log there and i will inspect -
[25.11.2023 09:30.55.651] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION {
transcription: ‘Cerca su www.giallozafferano.it ricetta alla spigola’,
done: false
}
[25.11.2023 09:30.55.805] [LOG] [GA] [ASSISTANT] CONVERSATION:END_OF_UTTERANCE
[25.11.2023 09:30.55.809] [LOG] [GA] [ASSISTANT] MIC:RECORDING_END
[25.11.2023 09:30.55.831] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION {
transcription: ‘Cerca su www.giallozafferano.it ricetta alla spigola’,
done: true
}
[25.11.2023 09:30.55.842] [LOG] [GA] [LPCM16] Stop listening
[25.11.2023 09:30.56.120] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600
[25.11.2023 09:30.56.162] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600
[25.11.2023 09:30.56.190] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600
[25.11.2023 09:30.56.204] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600
[25.11.2023 09:30.56.243] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600
[25.11.2023 09:30.56.247] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600
[25.11.2023 09:30.56.254] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 960
[25.11.2023 09:30.56.407] [LOG] [GA] [ASSISTANT] CONVERSATION:SCREEN object
[25.11.2023 09:30.56.443] [LOG] [GA] [ASSISTANT] CONVERSATION:ACTION { requestId: ‘65667e1f-0000-20e0-ab58-d4f547e9f200’ }
[25.11.2023 09:30.56.472] [LOG] [GA] [ASSISTANT] CONVERSATION:RESPONSE
[25.11.2023 09:30.56.562] [LOG] [GA] [ASSISTANT] CONVERSATION_ALL_RESPONSES_RECEIVED
[25.11.2023 09:30.56.563] [LOG] [GA] [ASSISTANT] CONVERSATION_END:COMPLETED
[25.11.2023 09:30.56.564] [LOG] [GA] [ASSISTANT] CONVERSATION_PP:RESPONSE_AUDIO_PROCESSED
[25.11.2023 09:30.56.566] [LOG] [GA] [MP3] MP3 FILE CREATED 10560 bytes
[25.11.2023 09:30.56.857] [LOG] [GA] [SCREEN_PARSER] [LINKS] Found: 0
[25.11.2023 09:30.56.893] [LOG] [GA] [SCREEN_PARSER] SCREEN_OUTPUT_CREATED
[25.11.2023 09:30.56.902] [LOG] [GA] [ACTIVATE_ASSISTANT] RESULT {
error: { error: null, message: null, audio: false },
action: { requestId: ‘65667e1f-0000-20e0-ab58-d4f547e9f200’ },
text: ‘Questo è ciò che ho trovato.’,
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’ +
’ Questo è ciò che ho trovato.',
links: [],
photos: [],
path: ‘/home/raspberry/MagicMirror/modules/MMM-GoogleAssistant/tmp/responseOutput.html’,
uri: ‘tmp/responseOutput.html’
},
audio: {
path: ‘/home/raspberry/MagicMirror/modules/MMM-GoogleAssistant/tmp/lastResponse.mp3’,
uri: ‘tmp/lastResponse.mp3’
},
transcription: {
transcription: ‘Cerca su www.giallozafferano.it ricetta alla spigola’,
done: true
},
continue: false,
volume: null,
lastQuery: {
type: ‘MIC’,
key: null,
lang: ‘en-US’,
status: ‘standby’,
chime: true
}
}
[25.11.2023 09:31.00.665] [LOG] [DETECTOR] [SNOWBOY] Starts listening.
[25.11.2023 09:31.00.802] [LOG] [DETECTOR] [LPCM16] Start listening: 1 channels - use: arecord - device: default - sample rate: 16000
[25.11.2023 09:31.00.805] [LOG] [DETECTOR] [RULES] Start listening. 1 Models -
I did it, thanks for taking the time
-
that i see you are Italian
So whylang: ‘en-US’,
?
maybelang: ‘it-IT’,
is better ? -
this is database search for it-IT
It will iopen EXT-Browser when response match
-
that was exactly the mistake. Thanks again. You can change to solved
-
bugsounet