MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. swvalenti
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 8
    • Posts 293
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MMM-News

      Anyone having an issue of news feed working then not working…just a black screen in the mirror portion position.

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-RTSPstream won't shut off.

      @BKeyport said in MMM-RTSPstream won't shut off.:

      Alphons: that’s exactly how the various streams are designed to act. It’s not a problem of the module, it’s a problem of the stream itself. You have to stop the stream in order to make the stream go away.

      I tried to tell am

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Raspberry PI wont startup

      I’ve had zero issues with RPi imager

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: MMM-RTSPstream won't shut off.

      @Alphons If using omxplayer stop the service in pm2

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Pi loses WiFi connection after a few hours

      Linux script that will check if the wifi on the pi is connected and reconnect if needed. This script is run from the pi. Typically you would set this up as a cron job that would run periodically (e.g. every 5 minutes). If the script detected the wifi was not connected it would attempt to reconnect.

      https://gist.github.com/mharizanov/5325450

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      Outstanding, that worked! My son thanks you

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      Yes that is the error it was showing but I didn’t know how to proceed in fixing.

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      Somehow it was the MMM-DailyPokemon jacking all things up. Removed and all is working fine again.

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      No sir it is a pi3b+ running buster

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved
      Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-YvJxUhUeeIN7m4Y4YEc1FVS+YDCNVK6VsHIHx5z29EE='), or a nonce ('nonce-...') is required to enable inline execution.
      main.js:487 Initializing MagicMirror.
      translator.js:129 Loading core translation file: translations/en.json
      translator.js:154 Loading core translation fallback file: translations/en.json
      loader.js:176 Load script: modules/default/alert//alert.js
      module.js:513 Module registered: alert
      loader.js:148 Bootstrapping module: alert
      loader.js:176 Load script: modules/default/alert/notificationFx.js
      loader.js:153 Scripts loaded for: alert
      loader.js:195 Load stylesheet: modules/default/alert/notificationFx.css
      loader.js:195 Load stylesheet: vendor/css/font-awesome.css
      loader.js:155 Styles loaded for: alert
      translator.js:102 alert - Load translation fallback: translations/en.json
      /home/pi/MagicMirror…rity-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
        protocols.This exposes users of this app to unnecessary security risks.
        Consider loading the following resources over HTTPS or FTPS. 
       - http://0.0.0.0:8080/css/main.css
      - http://0.0.0.0:8080/fonts/roboto.css
      - http://0.0.0.0:8080/socket.io/socket.io.js
      - http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
      - http://0.0.0.0:8080/js/defaults.js
      - http://0.0.0.0:8080/config/config.js
      - http://0.0.0.0:8080/vendor/vendor.js
      - http://0.0.0.0:8080/modules/default/defaultmodules.js
      - http://0.0.0.0:8080/js/logger.js
      - http://0.0.0.0:8080/translations/translations.js
      - http://0.0.0.0:8080/js/translator.js
      - http://0.0.0.0:8080/js/class.js
      - http://0.0.0.0:8080/js/module.js
      - http://0.0.0.0:8080/js/loader.js
      - http://0.0.0.0:8080/js/socketclient.js
      - http://0.0.0.0:8080/js/main.js
      - http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
      - http://0.0.0.0:8080/translations/en.json
      - http://0.0.0.0:8080/translations/en.json
      - http://0.0.0.0:8080/modules/default/alert//alert.js
      - http://0.0.0.0:8080/modules/default/alert/notificationFx.js
      - http://0.0.0.0:8080/modules/default/alert/notificationFx.css
      - http://0.0.0.0:8080/vendor/css/font-awesome.css
      - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css
      - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css
        
       
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
       This warning will not show up
      once the app is packaged.
      loader.js:157 Translations loaded for: alert
      
      
      0.0.0.0/:4 Uncaught SyntaxError: Unexpected token / in JSON at position 44
          at JSON.parse (<anonymous>)
          at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
      
      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      Correct, only pokemon had 2.1.0 I didnt see 2.1.0 in darksky just 2.2.0

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      That gave me a black screen

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      @sdetweil Yes sir 2.13

      Last login: Fri Oct  2 17:10:33 2020
      pi@raspberrypi:~ $ grep version ~/MagicMirror/package.json
              "version": "2.13.0",
      pi@raspberrypi:~ $
      
      
      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      Same unit that give me earlier issue does not load darksky or pokemon…my kids monitor…lol…other mirrors run darksky with no problem.

      Scripts loaded for: MMM-EARTH
      loader.js:195 Load stylesheet: modules/MMM-EARTH/MMM-EARTH.css
      loader.js:155 Styles loaded for: MMM-EARTH
      loader.js:157 Translations loaded for: MMM-EARTH
      loader.js:176 Load script: modules/MMM-DarkSkyForecast//MMM-DarkSkyForecast.js
      module.js:505 Check MagicMirror version for module 'MMM-DarkSkyForecast' - Minimum version:  2.2.0 - Current version: undefined
      module.js:528 Uncaught TypeError: Cannot read property 'replace' of undefined
          at cmpVersions (module.js:528)
          at Function.Module.register (module.js:506)
          at MMM-DarkSkyForecast.js:41
      loader.js:176 Load script: modules/MMM-DailyPokemon//MMM-DailyPokemon.js
      module.js:505 Check MagicMirror version for module 'MMM-DailyPokemon' - Minimum version:  2.1.0 - Current version: undefined
      module.js:528 Uncaught TypeError: Cannot read property 'replace' of undefined
          at cmpVersions (module.js:528)
          at Function.Module.register (module.js:506)
          at MMM-DailyPokemon.js:10
      loader.js:176 Load script: modules/MMM-EventHorizon//MMM-EventHorizon.js
      module.js:513 Module registered: MMM-EventHorizon
      loader.js:148 Bootstrapping module: MMM-EventHorizon
      loader.js:153 Scripts loaded for: MMM-EventHorizon
      loader.js:195 Load stylesheet: modules/MMM-EventHorizon/MMM-EventHorizon.css
      loader.js:155 Styles loaded for: MMM-EventHorizon
      
      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      I have no clue on that as all my units run the same hardware and OS

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      Sam, that worked thank you very much!

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      This is what the dev console error is…

      /home/pi/MagicMirror…rity-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
        protocols.This exposes users of this app to unnecessary security risks.
        Consider loading the following resources over HTTPS or FTPS. 
       - http://0.0.0.0:8080/css/main.css
      - http://0.0.0.0:8080/fonts/roboto.css
      - http://0.0.0.0:8080/socket.io/socket.io.js
      - http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
      - http://0.0.0.0:8080/js/defaults.js
      - http://0.0.0.0:8080/config/config.js
      - http://0.0.0.0:8080/vendor/vendor.js
      - http://0.0.0.0:8080/modules/default/defaultmodules.js
      - http://0.0.0.0:8080/js/logger.js
      - http://0.0.0.0:8080/translations/translations.js
      - http://0.0.0.0:8080/js/translator.js
      - http://0.0.0.0:8080/js/class.js
      - http://0.0.0.0:8080/js/module.js
      - http://0.0.0.0:8080/js/loader.js
      - http://0.0.0.0:8080/js/socketclient.js
      - http://0.0.0.0:8080/js/main.js
      - http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
      - http://0.0.0.0:8080/translations/en.json
      - http://0.0.0.0:8080/translations/en.json
      - http://0.0.0.0:8080/modules/default/alert//alert.js
      - http://0.0.0.0:8080/modules/default/alert/notificationFx.js
      - http://0.0.0.0:8080/modules/default/alert/notificationFx.css
      - http://0.0.0.0:8080/vendor/css/font-awesome.css
      - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css
      - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css
        
       
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
       This warning will not show up
      once the app is packaged.
      /home/pi/MagicMirror…ity-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
          Policy set or a policy with "unsafe-eval" enabled. This exposes users of
          this app to unnecessary security risks.
       
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
       This warning will not show up
      once the app is packaged.
      
      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      Hmm weird, two other updates went fine and this one only has the error shown giving black screen. Ran script again too and didn’t do anything. Restarted pi and nothing still error and black screen.

      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Black screen after 2.13 update - tentatively resolved

      Sam,

      Used your scrips on 3 updates with no issue except for one install. Getting black screen and ran the logs showing calendar error?

      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      0|MagicMir |   syscall: 'read'
      0|MagicMir | }
      0|MagicMir | [2020-09-29 00:11:23.035] [ERROR]  Calendar Error. Could not fetch calendar:  http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics Error: connect ETIMEDOUT 69.16.220.190:80
      0|MagicMir |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1054:14) {
      0|MagicMir |   errno: 'ETIMEDOUT',
      0|MagicMir |   code: 'ETIMEDOUT',
      0|MagicMir |   syscall: 'connect',
      0|MagicMir |   address: '69.16.220.190',
      0|MagicMir |   port: 80
      0|MagicMir | }
      0|MagicMir | [25300:0930/035804.824753:FATAL:memory.cc(22)] Out of memory. size=262144
      0|MagicMir | [12409:1001/033404.599579:FATAL:memory.cc(22)] Out of memory. size=262144
      0|MagicMir | [14477:1001/034403.637658:FATAL:memory.cc(22)] Out of memory. size=262144
      0|MagicMir | [14677:1001/034505.102662:FATAL:memory.cc(22)] Out of memory. size=262144
      0|MagicMir | [1436:1002/084636.370183:FATAL:memory.cc(22)] Out of memory. size=262144
      
      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
      0|MagicMir | [2020-10-02 08:53:45.855] [LOG]    No helper found for module: MMM-EyeCandy.
      0|MagicMir | [2020-10-02 08:53:45.856] [LOG]    No helper found for module: on-this-day.
      0|MagicMir | [2020-10-02 08:53:45.856] [LOG]    All module helpers loaded.
      0|MagicMir | [2020-10-02 08:53:46.035] [LOG]    Starting server on port 8080 ...
      0|MagicMir | [2020-10-02 08:53:46.044] [INFO]   You're using a full whitelist configuration to allow for all IPs
      0|MagicMir | [2020-10-02 08:53:46.053] [LOG]    Server started ...
      0|MagicMir | [2020-10-02 08:53:46.054] [LOG]    Connecting socket for: updatenotification
      0|MagicMir | [2020-10-02 08:53:46.056] [LOG]    Connecting socket for: calendar
      0|MagicMir | [2020-10-02 08:53:46.057] [LOG]    Starting node helper for: calendar
      0|MagicMir | [2020-10-02 08:53:46.058] [LOG]    Connecting socket for: MMM-EARTH
      0|MagicMir | [2020-10-02 08:53:46.059] [LOG]    Starting module: MMM-EARTH
      0|MagicMir | [2020-10-02 08:53:46.060] [LOG]    Connecting socket for: MMM-DarkSkyForecast
      0|MagicMir | [2020-10-02 08:53:46.061] [LOG]    ====================== Starting node_helper for module [MMM-DarkSkyForecast]
      0|MagicMir | [2020-10-02 08:53:46.062] [LOG]    Sockets connected & modules started ...
      0|MagicMir | [2020-10-02 08:53:46.177] [LOG]    Launching application.
      
      
      posted in Troubleshooting
      swvalentiS
      swvalenti
    • RE: Update to MagicMirror² v2.13.0 failed

      Thanks Sam

      posted in General Discussion
      swvalentiS
      swvalenti
    • 1 / 1