MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mumblebaj
    3. Posts
    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 772
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Need help with resizing regions

      @techlady As Sam mentioned, MMM-Pages is good to use. I use this and split my modules over different pages and I use the MMM-page-indicator with it. Works best for me.

      posted in Custom CSS
      mumblebajM
      mumblebaj
    • RE: [HOW_TO] MagicMirror as Desktop Wallpaper (all platform : updated)

      @mmrize Very nice

      posted in Tutorials
      mumblebajM
      mumblebaj
    • RE: Desktop working gadgets

      @mmrize Nice!!!

      posted in Show your Mirror
      mumblebajM
      mumblebaj
    • RE: MMM-SweepClock

      @sdetweil No worries. Thanks for the upvote Sam.

      posted in Utilities
      mumblebajM
      mumblebaj
    • MMM-SweepClock

      Created a module based on a classic railway clock using code from manuelmeister

      74c2433d-85d6-40a2-afae-650551911b04-image.png

      Installation

      cd ~/MagicMirror/modules/
      git clone https://github.com/mumblebaj/MMM-SweepClock.git
      

      Add to config.js

      {
      	module: "MMM-SweepClock",
      	position: "top_left", //can use top_right as well or top_center
        },
      

      Updates
      V1.1.2
      Add timezone feature which allows a user to specify a timezone. This will override the timezone of the system MM is running on.

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: How to port/create a sweep clock module from existing html/js/css code

      @nirvana You can have a go at my module I created for this.

      MMM-SweepClock

      a1eca181-b4db-4f96-8213-9c26a8dded42-image.png

      Works fine. Any issues please raise on the modules git page and I will have a look for you.

      posted in Requests
      mumblebajM
      mumblebaj
    • RE: RSS newsfeed ‘en français’

      @bugsounet I thought MMM-NewsFeed is your module? NO? :downcast_face_with_sweat:

      posted in System
      mumblebajM
      mumblebaj
    • RE: RSS newsfeed ‘en français’

      @earnestrichards You could try my MMM-NewsAPI and selet country fr to get all French news.
      https://github.com/mumblebaj/MMM-NewsAPI.git

      You could also try MMM-NewsFeed by @bugsounet .
      https://github.com/bugsounet/MMM-NewsFeed.git

      posted in System
      mumblebajM
      mumblebaj
    • RE: Code editor question

      @ankonaskiff17 It just tracks the changes you have made to the code you cloned | forked vs the master repository on github. If you click the icon you can see what you have changed. So, It just tracks the changes so if you want to commit those changes it knows what has changed. If you never plan on committing any of the changes you made then just ignore it.

      posted in General Discussion
      mumblebajM
      mumblebaj
    • RE: Any plan to replace "request" and "moment"?

      @bkeyport Can you adapt the following and see if it works for you?

      var startDate = DateTime.fromISO("2021-09-06T17:22:49.916+02:00");
      var someDate = DateTime.fromISO("2021-03-06T17:22:49.916+02:00");
      var result = startDate.startOf("day") <= someDate.startOf("day");
      console.log("Date Comparison Result: ", result) // => true;
      
      posted in Feature Requests
      mumblebajM
      mumblebaj
    • RE: Any plan to replace "request" and "moment"?

      @bkeyport You doing date comparison?

      posted in Feature Requests
      mumblebajM
      mumblebaj
    • RE: Any plan to replace "request" and "moment"?

      @sdetweil I have now found it in the /node_modules/luxon/build/global

      I should have searched some more. :beaming_face_with_smiling_eyes:
      But, yes, you are correct. You can just point to that location.

      posted in Feature Requests
      mumblebajM
      mumblebaj
    • RE: Any plan to replace "request" and "moment"?

      EDIT: Reference path to luxon.min.js
      @bkeyport I think the following should work for you.
      Add luxon.min.js to your project in the root of your project.
      Then add the following to you project, I have used your MMM-Multimonth as an example project.

      getScripts: function() {
                    return[this.file("/node_modules/luxon/build/global/luxon.min.js")]
            },
      

      Once added you should be able to use it like this:
      In your project you have the following for moment:

      monthTitle = moment().add(-1, "month").format("MMMM YYYY")
      

      You an now do the following in luxon:

      const luxMonth = luxon.DateTime.now().plus({month: -1}).toFormat("MMMM yyyy")
      
      

      Hope this gives you a start in the right direction.

      You can find luxon.min.js here

      posted in Feature Requests
      mumblebajM
      mumblebaj
    • RE: eaddress in use

      @binog That is a pity. We could probably have found the issue and save your current state prior to the issue. Hope it is running fine now though.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: eaddress in use

      @binog said in eaddress in use:

      EADDRINUSE

      The EADDRINUSE error usually means that another instance of the mirror is running. If you start the mirror with pm2, you can do a pm2 list to show the current processes that are running under pm2. You can then stop that process with pm2 stop #id or process stop all. Then you should be able to start the mirror again.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Generic CSS question when target is several layers down

      @ankonaskiff17 Not an expert in CSS at all but in the first example you gave you are targeting a single element in the chain (.X.Y.Z single element Z in the chain of X/Y) whereas in the second example you are targeting two different elements (.X.Y and .Z).

      posted in Custom CSS
      mumblebajM
      mumblebaj
    • RE: Any plan to replace "request" and "moment"?

      @sdetweil Thanks Sam. Yeah, I saw there are a few replacements for request. I had a look at axios previously as well.

      posted in Feature Requests
      mumblebajM
      mumblebaj
    • RE: Any plan to replace "request" and "moment"?

      @sdetweil Just a question from myself, is there a preference from the platform side on what to use to replace request? I have just updated my module to use node-fetch. Are there preferences from the MMM platform side?

      posted in Feature Requests
      mumblebajM
      mumblebaj
    • RE: MMM-NewsAPI

      The following updates have been made to the module. Please feel free to do a git pull and then an npm install in the module directory.

      • Removed the request module and replaced with node-fetch due to request being deprecated.

      • Update to the config.js. You have to remove the following line from you config.js.

      className: "News"
      
      • The CSS has been changed to avoid conflicts with other modules. Hence the above className is no longer required and must be removed from the config.js.
      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: MMM-NewsAPI

      @mwm341 It is not setup for that at the moment but, you are more than welcome to make a PR. :winking_face:

      posted in Utilities
      mumblebajM
      mumblebaj
    • 1 / 1