Bugsounet Coding

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

    Solved using higher version of node and npm

    EXT-Alert
    2
    9
    31
    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.
    • M
      MTRS last edited by

      rn_image_picker_lib_temp_8e547122-3757-487c-87b7-fbbae0daeebe.jpg rn_image_picker_lib_temp_a7adeed9-4791-410b-9923-68a2e82cb932.jpg

      I am using higher versions of node and npm

      which versions you recommend to use @bugsounet for proper working of magic mirror and google assistant module.

      also tell how can i downgrade to those versions

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

        Hi, if no errors, let’s try with it 🙂

        1 Reply Last reply Reply Quote 0
        • M
          MTRS last edited by

          @bugsounet sir need one more help urgently. The alert is working.

          when i give command using telegram bot it shows youtube will play this song and …

          but that song is not playing

          attached the config file image here pls check if i have done mistake white adding recipe or what is mistake

          rn_image_picker_lib_temp_bf200ba0-d9ef-424a-83b5-2e40142c78e4.jpg

          1 Reply Last reply Reply Quote 0
          • M
            MTRS last edited by

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

            [05.12.2022 02:31.52.868] [LOG] Starting MagicMirror: v2.21.0
            [05.12.2022 02:31.52.882] [LOG] Loading config …
            [05.12.2022 02:31.52.900] [LOG] Loading module helpers …
            [05.12.2022 02:31.52.905] [LOG] No helper found for module: alert.
            [05.12.2022 02:31.52.946] [LOG] Initializing new module helper …
            [05.12.2022 02:31.52.959] [LOG] Module helper loaded: updatenotification
            [05.12.2022 02:31.52.962] [LOG] No helper found for module: clock.
            [05.12.2022 02:31.53.458] [LOG] Initializing new module helper …
            [05.12.2022 02:31.53.463] [LOG] Module helper loaded: calendar
            [05.12.2022 02:31.54.365] [LOG] Initializing new module helper …
            [05.12.2022 02:31.54.367] [LOG] Module helper loaded: MMM-GoogleAssistant
            [05.12.2022 02:31.54.747] [LOG] Initializing new module helper …
            [05.12.2022 02:31.54.749] [LOG] Module helper loaded: Gateway
            [05.12.2022 02:31.54.756] [LOG] Initializing new module helper …
            [05.12.2022 02:31.54.758] [LOG] Module helper loaded: EXT-Detector
            [05.12.2022 02:31.56.323] [LOG] Initializing new module helper …
            [05.12.2022 02:31.56.325] [LOG] Module helper loaded: MMM-TelegramBot
            [05.12.2022 02:31.56.328] [LOG] Initializing new module helper …
            [05.12.2022 02:31.56.330] [LOG] Module helper loaded: EXT-Alert
            [05.12.2022 02:31.56.335] [LOG] Initializing new module helper …
            [05.12.2022 02:31.56.336] [LOG] Module helper loaded: EXT-YouTubeVLC
            [05.12.2022 02:31.56.561] [LOG] Initializing new module helper …
            [05.12.2022 02:31.56.562] [LOG] Module helper loaded: MMM-Remote-Control
            [05.12.2022 02:31.56.564] [LOG] No helper found for module: compliments.
            [05.12.2022 02:31.56.566] [LOG] No helper found for module: weather.
            [05.12.2022 02:31.56.611] [LOG] Initializing new module helper …
            [05.12.2022 02:31.56.612] [LOG] Module helper loaded: newsfeed
            [05.12.2022 02:31.56.613] [LOG] All module helpers loaded.
            [05.12.2022 02:31.56.627] [LOG] Starting server on port 8080 …
            [05.12.2022 02:31.56.634] [WARN] You’re using a full whitelist configuration to allow for all IPs
            [05.12.2022 02:31.56.651] [LOG] Server started …
            [05.12.2022 02:31.56.659] [LOG] Connecting socket for: updatenotification
            [05.12.2022 02:31.56.661] [LOG] Starting module helper: updatenotification
            [05.12.2022 02:31.56.662] [LOG] Connecting socket for: calendar
            [05.12.2022 02:31.56.663] [LOG] Starting node helper for: calendar
            [05.12.2022 02:31.56.665] [LOG] Connecting socket for: MMM-GoogleAssistant
            [05.12.2022 02:31.56.669] [LOG] [GA] Read config.js and check ConfigDeepMerge…
            [05.12.2022 02:31.56.671] [LOG] [GA] Perfect ConfigDeepMerge activated!
            [05.12.2022 02:31.56.673] [LOG] Connecting socket for: Gateway
            [05.12.2022 02:31.56.677] [LOG] Connecting socket for: EXT-Detector
            [05.12.2022 02:31.56.680] [LOG] [DETECTOR] EXT-Detector Version: 1.0.1 rev: 220315
            [05.12.2022 02:31.56.681] [LOG] Connecting socket for: MMM-TelegramBot
            [05.12.2022 02:31.56.683] [LOG] Connecting socket for: EXT-Alert
            [05.12.2022 02:31.56.685] [LOG] Starting module helper: EXT-Alert
            [05.12.2022 02:31.56.686] [LOG] Connecting socket for: EXT-YouTubeVLC
            [05.12.2022 02:31.56.689] [LOG] [YT] EXT-YouTubeVLC Version: 1.0.2 rev: 220401
            [05.12.2022 02:31.56.691] [LOG] Connecting socket for: MMM-Remote-Control
            [05.12.2022 02:31.56.693] [LOG] Starting node helper for: MMM-Remote-Control
            [05.12.2022 02:31.56.705] [LOG] Connecting socket for: newsfeed
            [05.12.2022 02:31.56.707] [LOG] Starting node helper for: newsfeed
            [05.12.2022 02:31.56.709] [LOG] Sockets connected & modules started …
            [05.12.2022 02:31.57.200] [LOG] Launching application.
            [2012:1205/023158.279001:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
            [2080:1205/023159.988961:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
            [2117:1205/023200.321996:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
            [05.12.2022 02:32.03.543] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics - Interval: 300000
            [05.12.2022 02:32.03.645] [LOG] [TELBOT] MMM-TelegramBot Version: 1.4.4
            [05.12.2022 02:32.03.775] [LOG] [TELBOT] Ready!
            [05.12.2022 02:32.08.127] [LOG] Create new newsfetcher for url: https://timesofindia.indiatimes.com/rssfeeds/-2128936835.cms - Interval: 300000
            [05.12.2022 02:32.08.204] [INFO] Checking git for module: MMM-GoogleAssistant
            [05.12.2022 02:32.08.254] [LOG] [GA] MMM-GoogleAssistant Version: 4.0.7 rev: 221015
            [05.12.2022 02:32.08.260] [LOG] [GA] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
            [05.12.2022 02:32.08.280] [LOG] [GA] RECIPE_LOADED: …/…/EXT-YouTubeVLC/recipe/EXT-YouTubeVLC.js
            [05.12.2022 02:32.08.282] [LOG] [GA] Google Assistant is initialized.
            [05.12.2022 02:32.08.287] [LOG] [GATEWAY] Gateway Version: 2.2.1 rev: 221125
            [05.12.2022 02:32.08.839] [LOG] [YT] All needed library loaded !
            [05.12.2022 02:32.08.847] [LOG] [YT] YouTube Search Function initilized.
            [05.12.2022 02:32.08.860] [LOG] [YT] EXT-YouTubeVLC is Ready.
            [05.12.2022 02:32.08.862] [LOG] [DETECTOR] All needed @bugsounet library loaded !
            [05.12.2022 02:32.08.865] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
            [05.12.2022 02:32.08.911] [LOG] [DETECTOR] Porcupine is initialized with 2 Models: ok google,hey google
            [05.12.2022 02:32.08.924] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis
            [05.12.2022 02:32.09.014] [LOG] [ALERT] EXT-Alert Version: 1.0.0 rev: 220301
            [05.12.2022 02:32.09.873] [LOG] [DETECTOR] Starts listening. 3 Models
            [05.12.2022 02:32.09.921] [LOG] [GATEWAY] Start app…
            [05.12.2022 02:32.09.923] [WARN] [GATEWAY] WARN: You are using default username or default password
            [05.12.2022 02:32.09.925] [WARN] [GATEWAY] WARN: Don’t forget to change it!
            [05.12.2022 02:32.11.384] [LOG] [HyperWatch] Logger is enabled
            [05.12.2022 02:32.11.388] [LOG] [GATEWAY] Start listening on http://192.168.137.156:8081
            [05.12.2022 02:32.11.414] [INFO] Checking git for module: Gateway
            [05.12.2022 02:32.11.656] [INFO] Checking git for module: EXT-Detector
            [05.12.2022 02:32.11.868] [INFO] Checking git for module: MMM-TelegramBot
            [05.12.2022 02:32.12.323] [INFO] Checking git for module: EXT-Alert
            [05.12.2022 02:32.12.439] [INFO] Checking git for module: EXT-YouTubeVLC
            [05.12.2022 02:32.12.511] [INFO] Newsfeed-Fetcher: Broadcasting 17 items.
            [05.12.2022 02:32.12.608] [INFO] Checking git for module: MMM-Remote-Control
            [05.12.2022 02:32.12.709] [INFO] Checking git for module: default
            [05.12.2022 02:32.13.213] [LOG] [GATEWAY][UPNP] Return Error: Fail to find gateway. Maybe your router does not support upnp!
            [05.12.2022 02:32.13.872] [INFO] Calendar-Fetcher: Broadcasting 26 events.
            [05.12.2022 02:32.47.701] [LOG] [CVLC] v1.0.5 initialized !
            [05.12.2022 02:32.56.676] [LOG] Shutting down server…
            [05.12.2022 02:32.56.678] [LOG] Stopping module helper: updatenotification
            [05.12.2022 02:32.56.680] [LOG] Stopping module helper: calendar
            [05.12.2022 02:32.56.681] [LOG] Stopping module helper: MMM-GoogleAssistant
            [05.12.2022 02:32.56.683] [LOG] Stopping module helper: Gateway
            [05.12.2022 02:32.56.684] [LOG] Stopping module helper: EXT-Detector
            [05.12.2022 02:32.56.685] [LOG] Stopping module helper: MMM-TelegramBot
            [05.12.2022 02:32.56.686] [LOG] Stopping module helper: EXT-Alert
            [05.12.2022 02:32.56.687] [LOG] Stopping module helper: EXT-YouTubeVLC
            [05.12.2022 02:32.56.694] [LOG] Stopping module helper: newsfeed

            1 Reply Last reply Reply Quote 0
            • M
              MTRS last edited by

              /* MagicMirror² Config Sample
              *

              • By Michael Teeuw https://michaelteeuw.nl

              • MIT Licensed.

              • For more information on how you can configure this file

              • see https://docs.magicmirror.builders/configuration/introduction.html

              • and https://docs.magicmirror.builders/modules/configuration.html
                */
                let config = {
                address: “0.0.0.0”, // Address to listen on, can be:
                // - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
                // - another specific IPv4/6 to listen on a specific interface
                // - “0.0.0.0”, “::” to listen on any interface
                // Default, when address config is left out or empty, is “localhost”
                port: 8080,
                basePath: “/”, // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
                // you must set the sub path here. basePath must end with a /
                ipWhitelist: [], // Set [] to allow all IP addresses
                // or add a specific IPv4 of 192.168.1.5 :
                // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
                // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],

                useHttps: false, // Support HTTPS or not, default “false” will use HTTP
                httpsPrivateKey: “”, // HTTPS private key path, only require when useHttps is true
                httpsCertificate: “”, // HTTPS Certificate path, only require when useHttps is true

                language: “en”,
                locale: “en-US”,
                logLevel: [“INFO”, “LOG”, “WARN”, “ERROR”], // Add “DEBUG” for even more logging
                timeFormat: 12,
                units: “metric”,
                // serverOnly: true/false/“local” ,
                // local for armv6l processors, default
                // starts serveronly and then starts chrome browser
                // false, default for all NON-armv6l devices
                // true, force serveronly mode, because you want to… no UI on this device

                modules: [
                {
                module: “alert”,
                },
                {
                module: “updatenotification”,
                position: “top_bar”
                },
                {
                module: “clock”,
                position: “top_left”
                },
                {
                module: “calendar”,
                header: “Indian Holidays”,
                position: “top_left”,
                config: {
                calendars: [
                {
                symbol: “calendar-check”,
                url: “webcal://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics”
                }
                ]
                }
                },
                {
                module: “MMM-GoogleAssistant”,
                configDeepMerge: true,
                config: {
                debug: false,
                stopCommand: “stop”,
                assistantConfig: {
                lang: “en-US”,
                latitude: 30.02706,
                longitude: 77.15177,
                },
                responseConfig: {
                chimes: {},
                imgStatus: {},
                zoom: {}
                },
                recipes: [
                “…/…/EXT-YouTubeVLC/recipe/EXT-YouTubeVLC.js”,
                ]
                }
                },
                {
                module: ‘Gateway’,
                config: {
                debug: false,
                port: 8081,
                username: “admin”,
                password: “admin”,
                noLogin: false,
                usePM2: true,
                PM2Id: 0,
                useMapping: false,
                portMapping: 8081
                }
                },
                {
                module: “EXT-Detector”,
                position: “top_left”,
                configDeepMerge: true,
                config: {
                debug: false,
                useIcon: true,
                touchOnly: false,
                detectors: [
                {
                detector: “Snowboy”,
                Model: “jarvis”,
                Sensitivity: null
                },
                {
                detector: “Porcupine”,
                Model: “ok google”,
                Sensitivity: null
                },
                {
                detector: “Porcupine”,
                Model: “hey google”,
                Sensitivity: null
                }
                ]
                }
                },
                {
                module: ‘MMM-TelegramBot’,
                position: ‘top_center’,
                config: {
                telegramAPIKey : ‘5800581546:AAFPiA6sWT1NdJUzadRvQ_macc57Y52jGYY’,
                allowedUser : [‘arora1mayank’], // This is NOT the username of bot.
                adminChatId : 950982941,
                }
                },
                {
                module: ‘EXT-Alert’,
                config: {
                debug: false,
                ignore: []
                }
                },
                {
                module: ‘EXT-YouTubeVLC’,
                config: {
                debug: false,
                useSearch: true,
                displayHeader: true,
                minVolume: 30,
                maxVolume: 100
                }
                },
                {
                module: ‘MMM-Remote-Control’,
                // uncomment the following line to show the URL of the remote control on the mirror
                position: ‘bottom_left’,
                // you can hide this module afterwards from the remote control itself
                config: {
                customCommand: {}, // Optional, See “Using Custom Commands” below
                showModuleApiMenu: true, // Optional, Enable the Module Controls menu
                secureEndpoints: true, // Optional, See API/README.md
                // uncomment any of the lines below if you’re gonna use it
                // customMenu: “custom_menu.json”, // Optional, See “Custom Menu Items” below
                // apiKey: “”, // Optional, See API/README.md for details
                // classes: {} // Optional, See “Custom Classes” below
                }
                },
                {
                module: “compliments”,
                position: “lower_third”
                },
                {
                module: “weather”,
                position: “top_right”,
                config: {
                weatherProvider: “openweathermap”,
                type: “current”,
                location: “Radaur”,
                locationID: “1259075”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                apiKey: “c8cb7f7afff7e90e449a90d2c57f8372”
                }
                },
                {
                module: “weather”,
                position: “top_right”,
                header: “Weather Forecast”,
                config: {
                weatherProvider: “openweathermap”,
                type: “forecast”,
                location: “Radaur”,
                locationID: “1259075”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                apiKey: “c8cb7f7afff7e90e449a90d2c57f8372”
                }
                },
                {
                module: “newsfeed”,
                position: “bottom_bar”,
                config: {
                feeds: [
                {
                title: “Times of India”,
                url: “https://timesofindia.indiatimes.com/rssfeeds/-2128936835.cms”
                }
                ],
                showSourceTitle: true,
                showPublishDate: true,
                broadcastNewsFeeds: true,
                broadcastNewsUpdates: true
                }
                },
                ]
                };

              /*************** DO NOT EDIT THE LINE BELOW ***************/
              if (typeof module !== “undefined”) {module.exports = config;}

              1 Reply Last reply Reply Quote 0
              • M
                MTRS last edited by

                posted my npm log and config file contents everything works video gets searched just it doesn’t gets played pls tell issue and solution @bugsounet @everyone @helpers @moderators @donators

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

                  HO!!

                  I’m not a dog …

                  1. say hello ! not ?
                  2. stop open/reopen some topic for same thing
                  3. wait… (you’re going to wait a moment because you’re pissing me off!)
                  4. you are not the lord here
                  5. do you think about the time difference?

                  6) Perfect… everyone see your config with your personal key !

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

                    see there and think about that…

                    1 Reply Last reply Reply Quote 0
                    • M
                      MTRS last edited by

                      Really sorry for the inconveniences sir.

                      1 Reply Last reply Reply Quote 0
                      • Topic has been marked as solved  bugsounet bugsounet 
                      • First post
                        Last post
                      Powered by NodeBB | @bugsounet ©2022