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.
    Offline
    • Profile
    • Following 0
    • Followers 6
    • Topics 33
    • Posts 770
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: MMM-Lunartic

      @Mykle1 No problem. Thanks for a really nice module.

      posted in Education
      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
    • MMM-NOAA3 - Revived

      Hi all,

      I have been using MMM-NOAA3 by @cowboysdude for a few years now. I like the display of it and did not want to go for a different module to replace it. Recently it stopped working and has for a while been throwing lots of errors.

      I have forked the module and have started updating it and trying to bring it back to life. I have managed to update a few things.

      • Removed request and replaced with internal fetch
      • Updated MMM-NOAA3.js to cater for the new response structures.

      Supported Providers:

      • weatherbit
      • piratesky
      • accuweather
      • openweather
      • msn

      I have not had a chance yet to look at the other providers and am not sure if anybody would like them included. Honestly I do not want to create accounts for all of them just to update the provider list but can if I have to. However, I do believe that darksky has been taken over by Apple and it may not work so, I may be removing that from the list of providers.

      However, I am happy to say that the module now works fine for weatherbit and openweather and no longer is throwing any errors.

      I will be pushing a PR to @cowboysdude when I am done making all the changes with the other providers.

      For now, if anybody is interested in using it for either openweather or weatherbit you can use my fork for now.

      Can be found below:
      MMM-NOAA3

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: MMM-Hanzi

      @td Nicely done!

      posted in Education
      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: MMM-NOAA3 - Revived

      @sdetweil Successfully replaced Darksky with Piratesky.

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: Opening hours for stores/places thru Google API

      @Menturan Thanks for a great module. I had the module working for a two weeks but for the past few days it has stopped working. So, I have been working through the issue and after stopping and starting the mirror I am getting results returned but it is not being sent to the screen. Is there a reason for this?

      [09:48:50] - DEBUG - MMM-OpeningHours : Sending to frontend - [{"name":"Makro Store Crown Mines","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1400"},"open":{"day":0,"time":"0900"}},{"close":{"day":1,"time":"1730"},"open":{"day":1,"time":"0830"}},{"close":{"day":2,"time":"1730"},"open":{"day":2,"time":"0830"}},{"close":{"day":3,"time":"1730"},"open":{"day":3,"time":"0830"}},{"close":{"day":4,"time":"1730"},"open":{"day":4,"time":"0830"}},{"close":{"day":5,"time":"1730"},"open":{"day":5,"time":"0830"}},{"close":{"day":6,"time":"1600"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 8:30 AM – 5:30 PM","Tuesday: 8:30 AM – 5:30 PM","Wednesday: 8:30 AM – 5:30 PM","Thursday: 8:30 AM – 5:30 PM","Friday: 8:30 AM – 5:30 PM","Saturday: 8:00 AM – 4:00 PM","Sunday: 9:00 AM – 2:00 PM"]},"place_id":"ChIJl8h2VlIJlR4Rn5311bQlcXQ"},{"name":"Builders Warehouse Glen Eagles","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1600"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"1800"},"open":{"day":1,"time":"0700"}},{"close":{"day":2,"time":"1800"},"open":{"day":2,"time":"0700"}},{"close":{"day":3,"time":"1800"},"open":{"day":3,"time":"0700"}},{"close":{"day":4,"time":"1800"},"open":{"day":4,"time":"0700"}},{"close":{"day":5,"time":"1800"},"open":{"day":5,"time":"0700"}},{"close":{"day":6,"time":"1700"},"open":{"day":6,"time":"0700"}}],"weekday_text":["Monday: 7:00 AM – 6:00 PM","Tuesday: 7:00 AM – 6:00 PM","Wednesday: 7:00 AM – 6:00 PM","Thursday: 7:00 AM – 6:00 PM","Friday: 7:00 AM – 6:00 PM","Saturday: 7:00 AM – 5:00 PM","Sunday: 8:00 AM – 4:00 PM"]},"place_id":"ChIJB0lb_mgPlR4Rje4UAMJnOvY"},null,null]

      posted in Requests
      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: MMM-Growatt

      @nowayto No bother. If you raise a request on my Github page I will look at creating a minimalistic version when i have a bit of time.

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: Need help creating a module.

      @sdmydbr9 A few things are missing. Your MMM-LocalNews.js sends a Socket Notification which the node_helper is supposed to listening for and act upon. The node_helper need a socketNotificationReceived in order to start its work. When it is done doing it’s work it needs to send the data back to the MMM-LocalNews.js (sendSocketNotifcation). Have a look at this sample module https://github.com/sdetweil/SampleModule.

      posted in Requests
      mumblebajM
      mumblebaj
    • 1 / 1