MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Remote-Control API and remote fails after V2.25.0 update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    21 Posts 3 Posters 2.4k Views 3 Watching
    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.
    • R Offline
      rhbauman
      last edited by

      Hi, all. Magic Mirror and Remote-Control had been working great on my Raspberry Pi (bullseye). After updating to V2.25.0 (which required updating nodejs from version 16 to 18), none of the /api functions or /remote.html provided by Remote-Control are working. MM is accessible at http://192.168.249.34:8080.

      root@snowy:~# curl -X GET http://192.168.249.34:8080/api/test
      <!DOCTYPE html>
      <html lang="en">
      <head>
      <meta charset="utf-8">
      <title>Error</title>
      </head>
      <body>
      <pre>Cannot GET /api/test</pre>
      </body>
      </html>
      

      There are no suspicious error messages in the logs after making the http request and nothing unusual in the startup:

      [03.10.2023 14:00.22.577] [LOG]   Starting MagicMirror: v2.25.0
      [03.10.2023 14:00.22.591] [LOG]   Loading config ...
      [03.10.2023 14:00.22.597] [DEBUG] config template file not exists, no envsubst
      [03.10.2023 14:00.22.607] [LOG]   Loading module helpers ...
      [03.10.2023 14:00.22.611] [LOG]   No helper found for module: alert.
      [03.10.2023 14:00.22.669] [LOG]   Initializing new module helper ...
      [03.10.2023 14:00.22.671] [LOG]   Module helper loaded: updatenotification
      [03.10.2023 14:00.22.674] [LOG]   No helper found for module: clock.
      [03.10.2023 14:00.23.038] [LOG]   Initializing new module helper ...
      [03.10.2023 14:00.23.041] [LOG]   Module helper loaded: calendar
      [03.10.2023 14:00.23.044] [LOG]   No helper found for module: MMM-WeatherGraph.
      [03.10.2023 14:00.23.294] [LOG]   Initializing new module helper ...
      [03.10.2023 14:00.23.295] [LOG]   Module helper loaded: MMM-Remote-Control
      [03.10.2023 14:00.23.300] [LOG]   Initializing new module helper ...
      [03.10.2023 14:00.23.301] [LOG]   Module helper loaded: WallberryTheme
      [03.10.2023 14:00.23.402] [LOG]   Initializing new module helper ...
      [03.10.2023 14:00.23.403] [LOG]   Module helper loaded: MMM-HomeAssistantDisplay
      [03.10.2023 14:00.23.404] [LOG]   All module helpers loaded.
      [03.10.2023 14:00.23.423] [LOG]   Starting server on port 8080 ...
      [03.10.2023 14:00.23.459] [LOG]   Server started ...
      [03.10.2023 14:00.23.462] [LOG]   Connecting socket for: updatenotification
      [03.10.2023 14:00.23.464] [LOG]   Starting module helper: updatenotification
      [03.10.2023 14:00.23.465] [LOG]   Connecting socket for: calendar
      [03.10.2023 14:00.23.466] [LOG]   Starting node helper for: calendar
      [03.10.2023 14:00.23.468] [LOG]   Connecting socket for: MMM-Remote-Control
      [03.10.2023 14:00.23.469] [LOG]   Starting node helper for: MMM-Remote-Control
      [03.10.2023 14:00.23.489] [LOG]   Connecting socket for: WallberryTheme
      [03.10.2023 14:00.23.489] [LOG]   Starting module helper: WallberryTheme
      [03.10.2023 14:00.23.491] [LOG]   Connecting socket for: MMM-HomeAssistantDisplay
      [03.10.2023 14:00.23.493] [LOG]   Sockets connected & modules started ...
      [03.10.2023 14:00.23.962] [LOG]   Launching application.
      

      I’ve tried removing and re-installing the module according to the instructions but the problem remains. Any help would be appreciated.

      S 1 Reply Last reply Reply Quote 0
      • R Offline
        rhbauman @sdetweil
        last edited by

        @sdetweil
        OK. This masked the root problem: pm2 logs mm --lines 100 doesn’t show the same information as npm run start. From pm2 logs:

        /home/pi/.pm2/logs/mm-out.log last 100 lines:
        0|mm       | [04.10.2023 10:23.56.064] [LOG]   Loading config ...
        0|mm       | [04.10.2023 10:23.56.071] [DEBUG] config template file not exists, no envsubst
        0|mm       | [04.10.2023 10:23.56.081] [LOG]   Loading module helpers ...
        0|mm       | [04.10.2023 10:23.56.084] [LOG]   No helper found for module: alert.
        0|mm       | [04.10.2023 10:23.56.143] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 10:23.56.145] [LOG]   Module helper loaded: updatenotification
        0|mm       | [04.10.2023 10:23.56.147] [LOG]   No helper found for module: clock.
        0|mm       | [04.10.2023 10:23.56.511] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 10:23.56.513] [LOG]   Module helper loaded: calendar
        0|mm       | [04.10.2023 10:23.56.516] [LOG]   No helper found for module: MMM-WeatherGraph.
        0|mm       | [04.10.2023 10:23.56.765] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 10:23.56.766] [LOG]   Module helper loaded: MMM-Remote-Control
        0|mm       | [04.10.2023 10:23.56.771] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 10:23.56.772] [LOG]   Module helper loaded: WallberryTheme
        0|mm       | [04.10.2023 10:23.56.874] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 10:23.56.875] [LOG]   Module helper loaded: MMM-HomeAssistantDisplay
        0|mm       | [04.10.2023 10:23.56.875] [LOG]   All module helpers loaded.
        0|mm       | [04.10.2023 10:23.56.895] [LOG]   Starting server on port 8080 ...
        0|mm       | [04.10.2023 10:23.56.934] [LOG]   Server started ...
        0|mm       | [04.10.2023 10:23.56.937] [LOG]   Connecting socket for: updatenotification
        0|mm       | [04.10.2023 10:23.56.938] [LOG]   Starting module helper: updatenotification
        0|mm       | [04.10.2023 10:23.56.940] [LOG]   Connecting socket for: calendar
        0|mm       | [04.10.2023 10:23.56.941] [LOG]   Starting node helper for: calendar
        0|mm       | [04.10.2023 10:23.56.943] [LOG]   Connecting socket for: MMM-Remote-Control
        0|mm       | [04.10.2023 10:23.56.944] [LOG]   Starting node helper for: MMM-Remote-Control
        0|mm       | [04.10.2023 10:23.56.962] [LOG]   Connecting socket for: WallberryTheme
        0|mm       | [04.10.2023 10:23.56.963] [LOG]   Starting module helper: WallberryTheme
        0|mm       | [04.10.2023 10:23.56.964] [LOG]   Connecting socket for: MMM-HomeAssistantDisplay
        0|mm       | [04.10.2023 10:23.56.966] [LOG]   Sockets connected & modules started ...
        0|mm       | [04.10.2023 10:23.57.425] [LOG]   Launching application.
        0|mm       | [04.10.2023 10:24.02.086] [LOG]   Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 3600000
        0|mm       | [04.10.2023 10:24.02.389] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/subergnc60%40gmail.com/private-aea673a8cf3f206ff493088e6bbdbda9/basic.ics - Interval: 3600000
        0|mm       | [04.10.2023 10:24.02.512] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/ronbauman36%40gmail.com/private-4a25d5bf1c4accb1dce4e685fdcf2fcd/basic.ics - Interval: 3600000
        0|mm       | [04.10.2023 10:24.03.547] [INFO]  [MMM-HomeAssistantDisplay] [ 'HomeAssistant connected for module_11_MMM-HomeAssistantDisplay' ]
        0|mm       | [04.10.2023 10:24.03.597] [INFO]  Checking git for module: MMM-WeatherGraph
        0|mm       | [04.10.2023 10:24.03.654] [LOG]   Electron's cache successfully cleared.
        0|mm       | [04.10.2023 10:24.03.816] [INFO]  Checking git for module: MMM-Remote-Control
        0|mm       | [04.10.2023 10:24.03.924] [INFO]  Checking git for module: WallberryTheme
        0|mm       | [04.10.2023 10:24.04.045] [INFO]  Checking git for module: MMM-HomeAssistantDisplay
        0|mm       | [04.10.2023 10:24.04.149] [INFO]  Checking git for module: MagicMirror
        0|mm       | [04.10.2023 10:24.04.566] [INFO]  Calendar-Fetcher: Broadcasting 1 events from http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics.
        0|mm       | [04.10.2023 10:24.04.794] [INFO]  [MMM-HomeAssistantDisplay] [
        0|mm       |   'Conected to Home Assistant for module_11_MMM-HomeAssistantDisplay after 0 retries'
        0|mm       | ]
        0|mm       | [04.10.2023 10:24.09.117] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/ronbauman36%40gmail.com/private-4a25d5bf1c4accb1dce4e685fdcf2fcd/basic.ics.
        0|mm       | [04.10.2023 10:24.11.480] [INFO]  Calendar-Fetcher: Broadcasting 6 events from https://calendar.google.com/calendar/ical/subergnc60%40gmail.com/private-aea673a8cf3f206ff493088e6bbdbda9/basic.ics.
        0|mm       | [04.10.2023 11:24.05.182] [INFO]  Calendar-Fetcher: Broadcasting 1 events from http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics.
        0|mm       | [04.10.2023 11:24.11.829] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/ronbauman36%40gmail.com/private-4a25d5bf1c4accb1dce4e685fdcf2fcd/basic.ics.
        0|mm       | [04.10.2023 11:24.13.950] [INFO]  Calendar-Fetcher: Broadcasting 6 events from https://calendar.google.com/calendar/ical/subergnc60%40gmail.com/private-aea673a8cf3f206ff493088e6bbdbda9/basic.ics.
        0|mm       |
        0|mm       | > magicmirror@2.25.0 start
        0|mm       | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
        0|mm       |
        0|mm       | [04.10.2023 12:16.42.478] [LOG]   Starting MagicMirror: v2.25.0
        0|mm       | [04.10.2023 12:16.42.491] [LOG]   Loading config ...
        0|mm       | [04.10.2023 12:16.42.498] [DEBUG] config template file not exists, no envsubst
        0|mm       | [04.10.2023 12:16.42.508] [LOG]   Loading module helpers ...
        0|mm       | [04.10.2023 12:16.42.512] [LOG]   No helper found for module: alert.
        0|mm       | [04.10.2023 12:16.42.570] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 12:16.42.572] [LOG]   Module helper loaded: updatenotification
        0|mm       | [04.10.2023 12:16.42.574] [LOG]   No helper found for module: clock.
        0|mm       | [04.10.2023 12:16.42.942] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 12:16.42.944] [LOG]   Module helper loaded: calendar
        0|mm       | [04.10.2023 12:16.42.947] [LOG]   No helper found for module: MMM-WeatherGraph.
        0|mm       | [04.10.2023 12:16.43.212] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 12:16.43.215] [LOG]   Module helper loaded: MMM-Remote-Control
        0|mm       | [04.10.2023 12:16.43.220] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 12:16.43.221] [LOG]   Module helper loaded: WallberryTheme
        0|mm       | [04.10.2023 12:16.43.349] [LOG]   Initializing new module helper ...
        0|mm       | [04.10.2023 12:16.43.349] [LOG]   Module helper loaded: MMM-HomeAssistantDisplay
        0|mm       | [04.10.2023 12:16.43.350] [LOG]   All module helpers loaded.
        0|mm       | [04.10.2023 12:16.43.370] [LOG]   Starting server on port 8080 ...
        0|mm       | [04.10.2023 12:16.43.412] [LOG]   Server started ...
        0|mm       | [04.10.2023 12:16.43.414] [LOG]   Connecting socket for: updatenotification
        0|mm       | [04.10.2023 12:16.43.416] [LOG]   Starting module helper: updatenotification
        0|mm       | [04.10.2023 12:16.43.417] [LOG]   Connecting socket for: calendar
        0|mm       | [04.10.2023 12:16.43.419] [LOG]   Starting node helper for: calendar
        0|mm       | [04.10.2023 12:16.43.420] [LOG]   Connecting socket for: MMM-Remote-Control
        0|mm       | [04.10.2023 12:16.43.422] [LOG]   Starting node helper for: MMM-Remote-Control
        0|mm       | [04.10.2023 12:16.43.440] [LOG]   Connecting socket for: WallberryTheme
        0|mm       | [04.10.2023 12:16.43.441] [LOG]   Starting module helper: WallberryTheme
        0|mm       | [04.10.2023 12:16.43.442] [LOG]   Connecting socket for: MMM-HomeAssistantDisplay
        0|mm       | [04.10.2023 12:16.43.444] [LOG]   Sockets connected & modules started ...
        0|mm       | [04.10.2023 12:16.43.932] [LOG]   Launching application.
        0|mm       | [04.10.2023 12:16.48.648] [LOG]   Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 3600000
        0|mm       | [04.10.2023 12:16.48.956] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/subergnc60%40gmail.com/private-aea673a8cf3f206ff493088e6bbdbda9/basic.ics - Interval: 3600000
        0|mm       | [04.10.2023 12:16.50.033] [INFO]  [MMM-HomeAssistantDisplay] [ 'HomeAssistant connected for module_11_MMM-HomeAssistantDisplay' ]
        0|mm       | [04.10.2023 12:16.50.062] [LOG]   Electron's cache successfully cleared.
        0|mm       | [04.10.2023 12:16.50.122] [INFO]  Checking git for module: MMM-WeatherGraph
        0|mm       | [04.10.2023 12:16.50.220] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/ronbauman36%40gmail.com/private-4a25d5bf1c4accb1dce4e685fdcf2fcd/basic.ics - Interval: 3600000
        0|mm       | [04.10.2023 12:16.50.283] [INFO]  Checking git for module: MMM-Remote-Control
        0|mm       | [04.10.2023 12:16.50.412] [INFO]  Checking git for module: WallberryTheme
        0|mm       | [04.10.2023 12:16.50.560] [INFO]  Checking git for module: MMM-HomeAssistantDisplay
        0|mm       | [04.10.2023 12:16.50.682] [INFO]  Checking git for module: MagicMirror
        0|mm       | [04.10.2023 12:16.51.047] [INFO]  Calendar-Fetcher: Broadcasting 1 events from http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics.
        0|mm       | [04.10.2023 12:16.51.265] [INFO]  [MMM-HomeAssistantDisplay] [
        0|mm       |   'Conected to Home Assistant for module_11_MMM-HomeAssistantDisplay after 0 retries'
        0|mm       | ]
        0|mm       | [04.10.2023 12:16.56.265] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/ronbauman36%40gmail.com/private-4a25d5bf1c4accb1dce4e685fdcf2fcd/basic.ics.
        0|mm       | [04.10.2023 12:16.58.824] [INFO]  Calendar-Fetcher: Broadcasting 6 events from https://calendar.google.com/calendar/ical/subergnc60%40gmail.com/private-aea673a8cf3f206ff493088e6bbdbda9/basic.ics.
        

        From npm run start:

        [04.10.2023 12:28.01.300] [LOG]   Starting MagicMirror: v2.25.0
        [04.10.2023 12:28.01.312] [LOG]   Loading config ...
        [04.10.2023 12:28.01.322] [DEBUG] config template file not exists, no envsubst
        [04.10.2023 12:28.01.334] [LOG]   Loading module helpers ...
        [04.10.2023 12:28.01.339] [LOG]   No helper found for module: alert.
        [04.10.2023 12:28.01.403] [LOG]   Initializing new module helper ...
        [04.10.2023 12:28.01.405] [LOG]   Module helper loaded: updatenotification
        [04.10.2023 12:28.01.411] [LOG]   No helper found for module: clock.
        [04.10.2023 12:28.01.967] [LOG]   Initializing new module helper ...
        [04.10.2023 12:28.01.969] [LOG]   Module helper loaded: calendar
        [04.10.2023 12:28.01.972] [LOG]   No helper found for module: MMM-WeatherGraph.
        [04.10.2023 12:28.02.332] [LOG]   Initializing new module helper ...
        [04.10.2023 12:28.02.333] [LOG]   Module helper loaded: MMM-Remote-Control
        [04.10.2023 12:28.02.353] [LOG]   Initializing new module helper ...
        [04.10.2023 12:28.02.354] [LOG]   Module helper loaded: WallberryTheme
        [04.10.2023 12:28.02.561] [LOG]   Initializing new module helper ...
        [04.10.2023 12:28.02.561] [LOG]   Module helper loaded: MMM-HomeAssistantDisplay
        [04.10.2023 12:28.02.562] [LOG]   All module helpers loaded.
        [04.10.2023 12:28.02.581] [LOG]   Starting server on port 8080 ...
        [04.10.2023 12:28.02.590] [WARN]  You're using a full whitelist configuration to allow for all IPs
        [04.10.2023 12:28.02.618] [LOG]   Server started ...
        [04.10.2023 12:28.02.621] [LOG]   Connecting socket for: updatenotification
        [04.10.2023 12:28.02.622] [LOG]   Starting module helper: updatenotification
        [04.10.2023 12:28.02.624] [LOG]   Connecting socket for: calendar
        [04.10.2023 12:28.02.625] [LOG]   Starting node helper for: calendar
        [04.10.2023 12:28.02.626] [LOG]   Connecting socket for: MMM-Remote-Control
        [04.10.2023 12:28.02.627] [LOG]   Starting node helper for: MMM-Remote-Control
        [04.10.2023 12:28.02.640] [ERROR] Error when starting node_helper for module MMM-Remote-Control:
        [04.10.2023 12:28.02.645] [ERROR] Error: Cannot find module 'node-fetch'
        Require stack:
        - /home/pi/MagicMirror/modules/MMM-Remote-Control/scripts/download_modules.js
        - /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js
        - /home/pi/MagicMirror/js/app.js
        - /home/pi/MagicMirror/js/electron.js
        - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
        -
            at node:internal/modules/cjs/loader:1084:15
            at Function.<anonymous> (node:electron/js2c/browser_init:2:117419)
            at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
            at node:internal/modules/cjs/loader:929:27
            at Function._load (node:electron/js2c/asar_bundle:2:13327)
            at Module.require (node:internal/modules/cjs/loader:1150:19)
            at require (node:internal/modules/cjs/helpers:110:18)
            at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Remote-Control/scripts/download_modules.js:15:15)
            at Module._compile (node:internal/modules/cjs/loader:1271:14)
            at Object..js (node:internal/modules/cjs/loader:1326:10)
            at Module.load (node:internal/modules/cjs/loader:1126:32)
            at node:internal/modules/cjs/loader:967:12
            at Function._load (node:electron/js2c/asar_bundle:2:13327)
            at Module.require (node:internal/modules/cjs/loader:1150:19)
            at require (node:internal/modules/cjs/helpers:110:18)
            at Class.updateModuleList (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:191:35) {
          code: 'MODULE_NOT_FOUND',
          requireStack: [
            '/home/pi/MagicMirror/modules/MMM-Remote-Control/scripts/download_modules.js',
            '/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js',
            '/home/pi/MagicMirror/js/app.js',
            '/home/pi/MagicMirror/js/electron.js',
            '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
            undefined
          ]
        }
        [04.10.2023 12:28.02.647] [LOG]   Connecting socket for: WallberryTheme
        [04.10.2023 12:28.02.648] [LOG]   Starting module helper: WallberryTheme
        [04.10.2023 12:28.02.649] [LOG]   Connecting socket for: MMM-HomeAssistantDisplay
        [04.10.2023 12:28.02.651] [LOG]   Sockets connected & modules started ...
        [04.10.2023 12:28.03.227] [LOG]   Launching application.
        .
        .
        .
        

        Once I discovered that node-fetch wasn’t found it was easy enough to follow your instructions to do an npm install node-fetch, although if I ran it in the MMM-Remote-Control directory I got

        pi@magicmirror:~/MagicMirror/modules/MMM-Remote-Control $ npm install node-fetch
        
        up to date, audited 88 packages in 4s
        

        But from the MM directory:

        pi@magicmirror:~/MagicMirror $ npm install node-fetch
        
        added 6 packages in 17s
        

        And which 6 packages got installed? Who knows. At any rate, Remote-Control API’s are now working again for me. Looking at the MM changelog again I see in the Updates section “Replace node-fetch with internal fetch (#2649) and remove digest-fetch.” To me that seems to be a transparent change that should break anything.

        And a question for you, Sam. When you installed MMM-Remote-Control in V2.25, did you have to run npm install node-fetch? If not, why not?

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @rhbauman
          last edited by

          @rhbauman can you show the address and IpWhitelist values from config.js

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R karsten13K 2 Replies Last reply Reply Quote 0
          • R Offline
            rhbauman @sdetweil
            last edited by

            @sdetweil

            let config = {
            	address:    "0.0.0.0", // to listen on any interface
                          // - "localhost", 	// 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
            							// 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: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.249.0/24"], 	// Set [] to allow all IP addresses
             
            
            S 1 Reply Last reply Reply Quote 0
            • karsten13K Offline
              karsten13 @sdetweil
              last edited by

              @sdetweil

              [03.10.2023 21:02.54.966] [ERROR] Error when starting node_helper for module MMM-Remote-Control:
              [03.10.2023 21:02.54.969] [ERROR] Error: Cannot find module 'node-fetch'
              Require stack:
              - /opt/magic_mirror/modules/MMM-Remote-Control/scripts/download_modules.js
              - /opt/magic_mirror/modules/MMM-Remote-Control/node_helper.js
              

              so https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @rhbauman
                last edited by

                @rhbauman set

                ipWhitelist:[],

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rhbauman @sdetweil
                  last edited by

                  @sdetweil

                  No difference.

                  root@snowy:~# curl -X GET http://192.168.249.34:8080/api/test
                  <!DOCTYPE html>
                  <html lang="en">
                  <head>
                  <meta charset="utf-8">
                  <title>Error</title>
                  </head>
                  <body>
                  <pre>Cannot GET /api/test</pre>
                  </body>
                  </html>
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @rhbauman
                    last edited by

                    @rhbauman did you also fix this

                    https://forum.magicmirror.builders/topic/18046/mmm-remote-control-api-and-remote-fails-after-v2-25-0-update/4?_=1696419416964

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Reply Quote 0
                    • S sdetweil referenced this topic on
                    • R Offline
                      rhbauman @sdetweil
                      last edited by

                      @sdetweil
                      I posted the startup section of the log file. You can see there are no error messages about missing modules. It seems you’re trying to suggest solutions to all the problems similar to this one that have been covered before. I appreciate that but I did research this problem before posting here.

                      Have you updated your MM to V2.25 and tried to access the Remote-Control API? Does it work for you?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @rhbauman
                        last edited by

                        @rhbauman I don’t use this module, but if Karsten posts, then you listen. the
                        node_fetch library was removed in this release.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        R 1 Reply Last reply Reply Quote 0
                        • R Offline
                          rhbauman @sdetweil
                          last edited by

                          @sdetweil
                          And if I post, please read it and think about what you are about to post before adding noise to the discussion. I am not seeing any error messages about missing modules and I am not getting a black screen.

                          Perhaps you could load Remote-Control and let me know if you can duplicate my problem?

                          S 1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 1 / 3
                          • First post
                            Last post
                          Enjoying MagicMirror? Please consider a donation!
                          MagicMirror created by Michael Teeuw.
                          Forum managed by Sam, technical setup by Karsten.
                          This forum is using NodeBB as its core | Contributors
                          Contact | Privacy Policy