Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Solved EXT-Browser

    EXT-Browser
    2
    5
    89
    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.
    • A
      abhinavg21500 last edited by

      Hi folks,

      Is anyone test EXT-Browser ,from my side its doesn’t work and its doesn’t shows any type of error and magic mirror loads this module successfully but screen doesn’t popup when i search.

      If anyone or admin see this post try to help me out from that problem.

      Thanks in Advance.

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

        Hi, try to say:

        Jarvis, what's weather today?

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

          Hi, try to say:

          Jarvis, what's weather today?

          1 Reply Last reply Reply Quote 0
          • A
            abhinavg21500 last edited by

            pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npm run token

            MMM-GoogleAssistant@4.0.3 token /home/pi/MagicMirror/modules/MMM-GoogleAssistant
            installer/token.sh

            Welcome to MMM-GoogleAssistant Token generator!

            Do you want to install/reinstall MMM-GoogleAssistant token? [Y/n]
            Your choice: y
            Opening OAuth URL. Return here with your code.

            If your browser will not open, you can copy/paste this URL:
            https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fassistant-sdk-prototype&prompt=consent&response_type=code&client_id=789002050763-1cjk6jo9iqcktk1a938t1ai97rggjlpn.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fgoogleassistant.bugsounet.fr
            Paste your code: 4/0AX4XfWheRSshlf0gas99EkkDoSvStu_ZJsJZadbDjXDpqUXF0OKz43DWfYuWbNeYwxSOOQ
            Error getting tokens: FetchError: request to https://oauth2.googleapis.com/token failed, reason: connect ENETUNREACH 2404:6800:4007:809::200a:443 - Local (:::0)
            at ClientRequest.<anonymous> (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-fetch/lib/index.js:1491:11)
            at ClientRequest.emit (events.js:400:28)
            at TLSSocket.socketErrorListener (_http_client.js:475:9)
            at TLSSocket.emit (events.js:400:28)
            at emitErrorNT (internal/streams/destroy.js:106:8)
            at emitErrorCloseNT (internal/streams/destroy.js:74:3)
            at processTicksAndRejections (internal/process/task_queues.js:82:21) {
            type: ‘system’,
            errno: ‘ENETUNREACH’,
            code: ‘ENETUNREACH’,
            config: {
            method: ‘POST’,
            url: ‘https://oauth2.googleapis.com/token’,
            data: ‘code=4%2F0AX4XfWheRSshlf0gas99EkkDoSvStu_ZJsJZadbDjXDpqUXF0OKz43DWfYuWbNeYwxSOOQ&client_id=789002050763-1cjk6jo9iqcktk1a938t1ai97rggjlpn.apps.googleusercontent.com&client_secret=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&redirect_uri=https%3A%2F%2Fgoogleassistant.bugsounet.fr&grant_type=authorization_code&code_verifier=’,
            headers: {
            ‘Content-Type’: ‘application/x-www-form-urlencoded’,
            ‘User-Agent’: ‘google-api-nodejs-client/7.14.1’,
            ‘x-goog-api-client’: ‘gl-node/14.19.1 auth/7.14.1’,
            Accept: ‘application/json’
            },
            paramsSerializer: [Function: paramsSerializer],
            body: ‘code=4%2F0AX4XfWheRSshlf0gas99EkkDoSvStu_ZJsJZadbDjXDpqUXF0OKz43DWfYuWbNeYwxSOOQ&client_id=789002050763-1cjk6jo9iqcktk1a938t1ai97rggjlpn.apps.googleusercontent.com&client_secret=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&redirect_uri=https%3A%2F%2Fgoogleassistant.bugsounet.fr&grant_type=authorization_code&code_verifier=’,
            validateStatus: [Function: validateStatus],
            responseType: ‘json’
            }
            }

            Done.
            pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $

            A 1 Reply Last reply Reply Quote 0
            • A
              abhinavg21500 @abhinavg21500 last edited by

              @abhinavg21500
              bro today when i go for token i get this error for token
              i tried this command also
              npm run update for google assistant directory

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as solved  A abhinavg21500 
              • bugsounet
                bugsounet Main Coder last edited by bugsounet

                Check you internet connection
                ENETUNREACH is a network issue such as host unreachable or your internet gateway not working .

                Notes:

                • you don’t have to recreate token each time …
                • You just have to do it the first time (on install time)
                • It will be refreshed on using
                • I don’t use this command in my prod mirror since … 2 years !

                But this issue is not related to EXT-Browser

                @bugsounet said in EXT-Browser:

                Hi, try to say:

                Jarvis, what's weather today?

                So i think that your main issue is now solved

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB | @bugsounet ©2022