Bugsounet_Coding();

    • Register
    • Login
    • Search

    Solved Help me EXT-Browser

    EXT-Browser
    3
    13
    179
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pangeafor last edited by

      Nice to meet you, I am an avid user of MagicMirror in Japan. Both MMM-GoogleAssistant and EXT-Spotfy are working fine with my voice, but only EXT-Browser doesn’t work well. For example, if you ask Jarvis, “Who is Iron Man?” Any advice?

      1 Reply Last reply Reply Quote 0
      • V
        venditti69500 Donators last edited by

        Have toi set : electronOptions: {
        webPreferences: {
        webviewTag: true
        }
        In thé top of your config like the wiki Say?

        P 2 Replies Last reply Reply Quote 0
        • P
          pangeafor @venditti69500 last edited by

          This post is deleted!
          P 1 Reply Last reply Reply Quote 0
          • P
            pangeafor @pangeafor last edited by

            Thank you for your advice, I appreciate it. However, I have already added it to the top of config.js as the wiki instructs me to do so. What other possible causes?

            1 Reply Last reply Reply Quote 0
            • P
              pangeafor @venditti69500 last edited by

              @venditti69500
              Thank you for your advice, I appreciate it. However, I have already added it to the top of config.js as the wiki instructs me to do so. What other possible causes?

              V 1 Reply Last reply Reply Quote 0
              • V
                venditti69500 Donators @pangeafor last edited by

                @pangeafor did you add EXT-Alert and Gateway? If so, what message do you have on the mirror and in the log?

                P 1 Reply Last reply Reply Quote 0
                • P
                  pangeafor @venditti69500 last edited by

                  @venditti69500
                  Thank you for not abandoning me. I have both EXT-Aeat and Gateway installed. MMM-GoogleAssistant also responds appropriately. But I say “I did” without seeing the resulting web page or image. As I found out while investigating, there is no “Webview” block on the page called Tools in the Gateway GUI (192...*:8081). Can you give me a hint about this? I’ll paste some of the logs when it’s up and running.

                  pi@raspberrypi:~/MagicMirror $ npm run start:dev

                  magicmirror@2.20.0 start:dev
                  DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js dev

                  [24.08.2022 03:19.46.287] [LOG] Starting MagicMirror: v2.20.0
                  [24.08.2022 03:19.46.295] [LOG] Loading config …
                  [24.08.2022 03:19.46.302] [LOG] Loading module helpers …
                  [24.08.2022 03:19.46.305] [LOG] No helper found for module: alert.
                  [24.08.2022 03:19.46.322] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.46.325] [LOG] Module helper loaded: updatenotification
                  [24.08.2022 03:19.46.327] [LOG] No helper found for module: clock.
                  [24.08.2022 03:19.46.535] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.46.536] [LOG] Module helper loaded: calendar
                  [24.08.2022 03:19.46.538] [LOG] No helper found for module: compliments.
                  [24.08.2022 03:19.46.539] [LOG] No helper found for module: weather.
                  [24.08.2022 03:19.46.560] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.46.561] [LOG] Module helper loaded: newsfeed
                  [24.08.2022 03:19.46.996] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.46.997] [LOG] Module helper loaded: MMM-GoogleAssistant
                  [24.08.2022 03:19.47.214] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.47.215] [LOG] Module helper loaded: Gateway
                  [24.08.2022 03:19.47.218] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.47.219] [LOG] Module helper loaded: EXT-Detector
                  [24.08.2022 03:19.47.221] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.47.221] [LOG] Module helper loaded: EXT-Alert
                  [24.08.2022 03:19.47.448] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.47.448] [LOG] Module helper loaded: EXT-Librespot
                  [24.08.2022 03:19.47.926] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.47.927] [LOG] Module helper loaded: EXT-Spotify
                  [24.08.2022 03:19.47.929] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.47.929] [LOG] Module helper loaded: EXT-Browser
                  [24.08.2022 03:19.47.931] [LOG] Initializing new module helper …
                  [24.08.2022 03:19.47.932] [LOG] Module helper loaded: EXT-Background
                  [24.08.2022 03:19.47.932] [LOG] All module helpers loaded.
                  [24.08.2022 03:19.47.938] [LOG] Starting server on port 8080 …
                  [24.08.2022 03:19.47.952] [LOG] Server started …
                  [24.08.2022 03:19.47.954] [LOG] Connecting socket for: updatenotification
                  [24.08.2022 03:19.47.955] [LOG] Starting module helper: updatenotification
                  [24.08.2022 03:19.47.956] [LOG] Connecting socket for: calendar
                  [24.08.2022 03:19.47.956] [LOG] Starting node helper for: calendar
                  [24.08.2022 03:19.47.957] [LOG] Connecting socket for: newsfeed
                  [24.08.2022 03:19.47.958] [LOG] Starting node helper for: newsfeed
                  [24.08.2022 03:19.47.958] [LOG] Connecting socket for: MMM-GoogleAssistant
                  [24.08.2022 03:19.47.959] [LOG] [GA] Read config.js and check ConfigDeepMerge…
                  [24.08.2022 03:19.47.960] [LOG] [GA] Perfect ConfigDeepMerge activated!
                  [24.08.2022 03:19.47.961] [LOG] Connecting socket for: Gateway
                  [24.08.2022 03:19.47.962] [LOG] Connecting socket for: EXT-Detector
                  [24.08.2022 03:19.47.964] [LOG] [DETECTOR] EXT-Detector Version: 1.0.1 rev: 220315
                  [24.08.2022 03:19.47.965] [LOG] Connecting socket for: EXT-Alert
                  [24.08.2022 03:19.47.966] [LOG] Starting module helper: EXT-Alert
                  [24.08.2022 03:19.47.967] [LOG] Connecting socket for: EXT-Librespot
                  [24.08.2022 03:19.47.968] [LOG] Connecting socket for: EXT-Spotify
                  [24.08.2022 03:19.47.970] [LOG] Connecting socket for: EXT-Browser
                  [24.08.2022 03:19.47.970] [LOG] Starting module helper: EXT-Browser
                  [24.08.2022 03:19.47.971] [LOG] Connecting socket for: EXT-Background
                  [24.08.2022 03:19.47.972] [LOG] Starting module helper: EXT-Background
                  [24.08.2022 03:19.47.974] [LOG] Sockets connected & modules started …
                  [24.08.2022 03:19.48.218] [LOG] Launching application.
                  MESA-LOADER: failed to retrieve device information
                  MESA-LOADER: failed to retrieve device information
                  MESA-LOADER: failed to retrieve device information
                  MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: 共有オブジェクトファイルを開けません: 許可がありません (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
                  failed to load driver: kms_swrast
                  MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: 共有オブジェクトファイルを開けません: 許可がありません (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
                  failed to load swrast driver
                  [24.08.2022 03:19.54.298] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/pangeafor%40gmail.com/private-1b65f7b09d3c81754defbee46c015641/basic.ics - Interval: 300000
                  [24.08.2022 03:19.54.534] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                  [24.08.2022 03:19.54.594] [INFO] Checking git for module: MMM-GoogleAssistant
                  [24.08.2022 03:19.54.635] [LOG] [GA] MMM-GoogleAssistant Version: 4.0.6 rev: 220724
                  [24.08.2022 03:19.54.639] [LOG] [GA] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
                  [24.08.2022 03:19.54.650] [LOG] [GA] RECIPE_LOADED: …/…/EXT-Spotify/recipe/EXT-Spotify.js
                  [24.08.2022 03:19.54.651] [LOG] [GA] Google Assistant is initialized.
                  [24.08.2022 03:19.54.654] [LOG] [GATEWAY] Gateway Version: 2.1.8 rev: 220804
                  [24.08.2022 03:19.54.657] [LOG] [ALERT] EXT-Alert Version: 1.0.0 rev: 220301
                  [24.08.2022 03:19.54.660] [LOG] [LIBRESPOT] EXT-Librespot Version: 1.0.3 rev: 220815
                  [24.08.2022 03:19.54.662] [LOG] [LIBRESPOT] Launch Librespot…
                  [24.08.2022 03:19.54.670] [LOG] [SPOTIFY] EXT-Spotify Version: 1.0.3 rev: 220727
                  [24.08.2022 03:19.54.711] [LOG] [LINKS] EXT-Browser Version: 1.0.0 rev: 220228
                  [24.08.2022 03:19.54.714] [LOG] [BACKGROUND] EXT-Background Version: 1.0.2 rev: 220410
                  [24.08.2022 03:19.55.319] [LOG] [DETECTOR] All needed @bugsounet library loaded !
                  [24.08.2022 03:19.55.328] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
                  [24.08.2022 03:19.55.363] [LOG] [DETECTOR] Porcupine is initialized with 2 Models: ok google,hey google
                  [24.08.2022 03:19.55.367] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis
                  [24.08.2022 03:19.56.192] [LOG] [DETECTOR] Starts listening. 3 Models
                  [24.08.2022 03:19.56.227] [LOG] [GATEWAY] Start app…
                  [24.08.2022 03:19.56.229] [WARN] [GATEWAY] WARN: You are using default username or default password
                  [24.08.2022 03:19.56.230] [WARN] [GATEWAY] WARN: Don’t forget to change it!
                  [24.08.2022 03:19.57.010] [LOG] [HyperWatch] Logger is enabled
                  [24.08.2022 03:19.57.012] [LOG] [GATEWAY] Start listening on http://192.168.10.127:8081
                  [24.08.2022 03:19.57.063] [INFO] Checking git for module: Gateway
                  [24.08.2022 03:19.57.587] [INFO] Checking git for module: EXT-Detector
                  [24.08.2022 03:19.57.936] [INFO] Checking git for module: EXT-Alert
                  [24.08.2022 03:19.58.179] [INFO] Checking git for module: EXT-Librespot
                  [24.08.2022 03:19.58.469] [INFO] Checking git for module: EXT-Spotify
                  [24.08.2022 03:19.58.748] [LOG] [LIBRESPOT] Librespot started!
                  [24.08.2022 03:19.58.890] [INFO] Checking git for module: EXT-Browser
                  [24.08.2022 03:19.59.104] [INFO] Checking git for module: EXT-Background
                  [24.08.2022 03:19.59.434] [INFO] Calendar-Fetcher: Broadcasting 1 events.
                  [24.08.2022 03:19.59.516] [INFO] Checking git for module: default
                  [24.08.2022 03:20.00.065] [INFO] Newsfeed-Fetcher: Broadcasting 34 items.
                  [24.08.2022 03:20.17.601] [LOG] [DETECTOR] Stops listening.
                  [24.08.2022 03:20.17.603] [LOG] [DETECTOR] Detected: jarvis from: Snowboy
                  [24.08.2022 03:20.26.775] [LOG] [DETECTOR] Starts listening. 3 Models
                  [24.08.2022 03:20.57.028] [LOG] [DETECTOR] Stops listening.
                  [24.08.2022 03:20.57.029] [LOG] [DETECTOR] Detected: jarvis from: Snowboy
                  [24.08.2022 03:21.08.640] [LOG] [DETECTOR] Starts listening. 3 Models
                  [24.08.2022 03:21.08.653] [ERROR] (node:7201) UnhandledPromiseRejectionWarning: Error: Porcupine failed to initialize
                  at pvStatusToException (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/errors.js:40:13)
                  at new Porcupine (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/index.js:116:7)
                  at PORCUPINE.init (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/porcupine/index.js:112:22)
                  at PORCUPINE.start (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/porcupine/index.js:117:37)
                  at Class.activate (/home/pi/MagicMirror/modules/EXT-Detector/node_helper.js:117:22)
                  at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/EXT-Detector/node_helper.js:38:33)
                  at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:109:11)
                  at Socket.emit (node:events:526:28)
                  at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
                  at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:465:39
                  (Use electron --trace-warnings ... to show where the warning was created)
                  [24.08.2022 03:21.08.657] [ERROR] (node:7201) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                  [24.08.2022 03:23.41.363] [LOG] [DETECTOR] Stops listening.
                  [24.08.2022 03:23.41.366] [LOG] [DETECTOR] Detected: jarvis from: Snowboy
                  [24.08.2022 03:23.54.932] [LOG] [DETECTOR] Starts listening. 3 Models
                  [24.08.2022 03:24.05.921] [LOG] Shutting down server…
                  [24.08.2022 03:24.05.923] [LOG] Stopping module helper: updatenotification
                  [24.08.2022 03:24.05.924] [LOG] Stopping module helper: calendar
                  [24.08.2022 03:24.05.925] [LOG] Stopping module helper: newsfeed
                  [24.08.2022 03:24.05.925] [LOG] Stopping module helper: MMM-GoogleAssistant
                  [24.08.2022 03:24.05.926] [LOG] Stopping module helper: Gateway
                  [24.08.2022 03:24.05.927] [LOG] Stopping module helper: EXT-Detector
                  [24.08.2022 03:24.05.927] [LOG] Stopping module helper: EXT-Alert
                  [24.08.2022 03:24.05.928] [LOG] [LIBRESPOT] Try to close Librespot!
                  [24.08.2022 03:24.05.931] [LOG] Stopping module helper: EXT-Spotify
                  [24.08.2022 03:24.05.932] [LOG] Stopping module helper: EXT-Browser
                  [24.08.2022 03:24.05.933] [LOG] Stopping module helper: EXT-Background

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    venditti69500 Donators @pangeafor last edited by

                    @pangeafor sorry i can’t help you so more

                    1 Reply Last reply Reply Quote 0
                    • bugsounet
                      bugsounet Main Coder last edited by

                      Hi, what’s the result with this:

                      what is the weather tomorrow?

                      P 2 Replies Last reply Reply Quote 0
                      • P
                        pangeafor @bugsounet last edited by

                        @bugsounet

                        Thank you for contacting us. When I ask “what is the weather tomorrow?” Jarvis responds appropriately in voice, but nothing changes on the screen. Help me. I have already checked the wiki many times and installed it many times, but the result is the same.

                        1 Reply Last reply Reply Quote 0
                        • P
                          pangeafor @bugsounet last edited by

                          @bugsounet
                          In “EXT-Browser”, the search result is not displayed on the screen even if there is a voice response. If you access the “Gateway” application you have prepared from another PC (192...***:8081), in the “Tools” menu as shown in the screenshot of Wiki I don’t have an item called Webview on my page. Doesn’t this behavior lead to the problem?

                          1 Reply Last reply Reply Quote 0
                          • bugsounet
                            bugsounet Main Coder last edited by bugsounet

                            Can you try to set deviceRegistred: false in assistantConfig:{}

                            I don’t have an item called Webview on my page

                            It’s because it’s already set 😉

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              pangeafor @bugsounet last edited by

                              @bugsounet
                              thank you very much!
                              I set it as advised and it worked perfectly. Jarvis displays search results on screen as well as voice. I was impressed!
                              We look forward to developing new modules in the future.

                              1 Reply Last reply Reply Quote 0
                              • undefined  P pangeafor 
                              • First post
                                Last post
                              Powered by NodeBB | @bugsounet ©2023