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

    Posts

    Recent Best Controversial
    • RE: MMM-Hue CORS Policy Issue

      @karsten13 So I have been tinkering with the MMM-Hue module a bit and have replaced jQuery which seems to invoke XMLHttpRequest, with node-fetch, albeit the older version (2.6.1) of node-fetch, but it now returns data without requiring a certificate and the use of https.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Error with node fetch for calendar on fresh install

      @landaisbenj I have seen this error before. It comes from installing the latest version of node-fetch whereas the module uses an older version of node-fetch. The latest version is an ES module and must be import’d instead of require’d in the node_helper.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Help. MM doesn't work Anymore

      @extra said in Help. MM doesn't work Anymore:

      [23.01.2022 14:55.17.502] [ERROR] Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/node_modules/node-fetch/src/index.js from /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js not supported.
      Instead change the require of index.js in /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js to a dynamic import() which is available in all CommonJS modules.

      This is the wrong version of node-fetch that is installed on MM. You need to downgrade node-fetch to v2.6.1 or something earlier than v3 where the module was change to an ES module. I would uninstall node-fetch and check which module uses it and what specific version and install the correct version.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Two modules side by side

      @mmuser I would suggest that you grab the module_id from the Developer Window|Elements Tab. then use the div id for the module and assign the CSS as per @hango using the div id. If I had 2 instances of MMM-SweepClock in my config it would be assigned module_0_MMM-SweepClock and module_1_MMM-SweepClock

      3bfbebff-9d7d-4165-83b0-1f4da6ec27ab-image.png

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM-NOAA3

      @cowboysdude Awesome. I swear I could not find it anywhere ;-)

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM-NOAA3

      @cowboysdude Thanks dude. Appreciate it much

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM- imagesphotos does not work..

      @Stoffbeuteluwe Probably a missing module. Have a look at the below post.
      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM-eswordoftheday not showing words

      @shurtugal I have forked the module and made some changes and it is working. You can clone my fork until I submit the PR to the module creator and he accepts the changes. Not sure if this will fix the issue of things changing in future but fixes the issue for now.

      a730e80c-0b8d-4e6c-95ee-51109f4d8c34-image.png

      You can find the fork here.
      https://github.com/mumblebaj/MMM-eswordoftheday.git

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Eye Candy Reinstall - Config Doesn't Work

      @MMNewby Looks like the quotes need to be replaced with the correct ones. When copy and paste from the web the quotes change. Just delete the quotes and add new ones.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Default Weather module still not displaying

      @Jarhead96097 Rule of thumb is to never run npm audit fix.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: set the calendar day to a short version

      @greedyvegan said in set the calendar day to a short version:

      calendar.js

      Never modify the module code directly. You override settings in config/config.js. For css you override it in the css/custom.css, but never change the module code. This will cause issues when upgrading to the latest versions.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: No Web UI with MMM-FastNotes

      @rvnbrg Jinja is a dependency of Flask and Flask V1.X.X uses the escape module from Jinja, however recently support for the escape module was dropped in newer versions of Jinja

      To fix this issue, simply update to the newer version of Flask V2.X.X in your requirements.txt where Flask no longer uses the escape module from Jinja.

      I see there is a requirements.txt where the version of Flask is specified. Maybe updating that to 2.1.1, which is the recommended version that no longer has a dependency on escape would resolve this.

      This is all just guessing. Was trying to figure out how this module hangs together. 🫣

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Contributing to a GitHub repository - a bit stuck

      @evroom Just launch a terminal in VsCode

      3fd31556-0ab9-43eb-926c-5eb33ee36d1c-image.png

      Make sure it is set to bash.
      62ee6f27-3f99-446c-b9fb-693c2f9285f6-image.png

      Then you can run the same commands git add and git commit -m "your commit text" and git push from the terminal.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: cron job hdmi on and off

      @Sam-0 Have a look at my post about this.

      https://forum.magicmirror.builders/topic/19116/having-trouble-with-screen-on-and-off-here-are-some-tips-that-could-help?_=1743776945326

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs

      @KristjanESPERANTO Not sure if it is advisable to update the modules requiresVersion to the latest MM version. With the issue of older PI’s not able to run the latest version of MM you run the risk of the modules no longer working even if they can still work on older versions of MM. I prefer to keep my version 2 versions behind as they worked on those. Unless your module has specifically been updated with dependencies of the latest MM.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM-PublicTransportHafas - Error when loading - DeparturFetcher.mjs

      @p1lspeda

      I just done a fresh install of the module and it works fine for me.

      3d2ef50a-fc46-4b50-a022-e68df562af4a-image.png

      Just out of curiosity, did you do the following steps?

      • cd MMM-PublicTransportHafas

      • npm ci --omit=dev

      @KristjanESPERANTO ) saw the below in the log, I am assuming it is nothing to be concerned about?

      b143a15f-aa48-4db3-92dd-a233d9338f80-image.png

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: 2.32.0 Calendar module limitDays and excludedEvents stopped working

      @AndyHazz You can do the following from the docker host, docker compose up -d this will launch you container. Then you can run the following command docker exec -it magicmirror bash replacing magicmirror with your container name. This essentially puts you into the MagicMirror directory. You can then acces the debug log from there.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 6 / 6