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

    sdetweil

    @sdetweil

    1.9k
    Reputation
    18.7k
    Profile views
    21.2k
    Posts
    109
    Followers
    0
    Following
    Joined
    Last Online
    Location Pflugerville, Tx

    sdetweil Unfollow Follow

    Best posts made by sdetweil

    • Are you tired of editing config.js, or have trouble doing it, see my new module

      I’ve watched as users continue to struggle with formatting in config.js and i think I have a solution

      https://github.com/sdetweil/MMM-Config

      it automatically discovers what you have installed (in the modules folder) and what you are using (in config.js)

      and will let you turn them on/off, edit the settings and change the module positions. all in a form.

      every time u start MagicMirror it will check to see if config.js has changed since last time, and if you’ve added or removed something from the modules folder… it will construct a form that will allow you to edit the settings of everything.

      and then save it back to config.js (after saving the current copy) (and if using PM2) restart MM to use that new config.js

      also works on Windows installations of MM.

      it can put a QR code on the screen so you can use your phone or ipad, or other scanning device so u don’t have to know the url
      and can also be bookmarked etc…
      I supply a css to allow you to change color of the form.

      some screen shots
      initial form screen
      Screenshot at 2021-05-20 18-39-08.png

      base expanded

      Screenshot at 2021-05-20 18-39-25.png

      some places I can tell what you can do
      Screenshot at 2021-05-20 18-39-18.png

      modules list, blue is enabled, red disabled… (u can changed that in the css file)
      Screenshot at 2021-05-20 18-39-40.png

      sample module form section , discovered from module source file and config.js usage (if any)

      Screenshot at 2021-05-20 18-39-52.png

      module position info, cause you may need one above another, (clock and calendar for example)
      and things in other areas…
      Screenshot at 2021-05-20 18-40-13.png

      if u disable a module (checkbox), the contents STAYS in config.js, otherwise it would lose the important info (apikeys, urls, etc)

      thanks to a few testers(who can name themselves if they want) , we’ve gone thru a lot of modules, but not all…
      so I expect there will be reports of troubles… give it a shot and let me know…

      it currently doesn’t support multiple instances of the same module (used for pages and carousel or similar type modules ), or things like my Covid19 charter.
      but I have an open issue and am working on it…

      posted in Utilities
      S
      sdetweil
    • new update/upgrade script, ready for testing

      given that we will have a regular update quarterly, and we have such a large number of new users experiencing troubles after updates (mostly cause they have a ton to learn)… I have developed a script I would like to get included for future updates…

      it should handle all the work…
      and give you a trial run of all that…

      only applying changes if u request them

      give it a try
      this works on Mac as well

        bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
      

      no changes are made to the local repo or the working copy

      if you WANT to actually apply the changes do

        bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      

      there is a log file in the installers folder…

      edited Jan 4, 2020 - move from dropbox to github as distro

      posted in General Discussion
      S
      sdetweil
    • spammers, note no tolerance

      just a note for spammers,

      there is no tolerance.

      if it does not apply to MagicMirror, then your posts will be removed, and you will be banned.

      Period, no second chances.

      posted in Forum
      S
      sdetweil
    • v2.30.0

      [2.30.0] - 2025-01-01

      Thanks to: @xsorifc28, @HeikoGr, @bugsounet, @khassel, @KristjanESPERANTO, @rejas, @sdetweil.

      ⚠️ This release needs nodejs version v20 or v22 or higher, minimum version is v20.18.1

      Added

      • [core] Add wayland and windows start options to package.json (#3594)
      • [docs] Add step for npm publishing in release process (#3595)
      • [core] Add GitHub workflow to run spellcheck a few days before each release (#3623)
      • [core] Add test flag to index.html to pass to module js for test mode detection (needed by #3630)
      • [core] Add export on animation names (#3644)
      • [compliments] Add support for refreshing remote compliments file, and test cases (#3630)
      • [linter] Re-add eslint-plugin-importnow that it supports ESLint v9 (#3586)
      • [linter] Re-activate eslint-plugin-package-json to lint package.json (#3643)
      • [linter] Add linting for markdown files (#3646)
      • [linter] Add some handy ESLint rules.
      • [calendar] Add ability to display end date for full date events, where end is not same day (showEnd=true) (#3650)
      • [core] Add text to the config.js.sample file about the locale variable (#3654, #3655)
      • [core] Add fetch timeout for all node_helpers (thru undici, forces node 20.18.1 minimum) to help on slower systems. (#3660) (3661)

      Changed

      • [core] Run code style checks in workflow only once (#3648)
      • [core] Fix animations export #3644 only on server side (#3649)
      • [core] Use project URL in fallback config (#3656)
      • [core] Fix Access Denied crash writing js/positions.js (on synology nas) #3651. new message, MM starts, but no modules showing (#3652)
      • [linter] Switch to ‘npx’ for lint-staged in pre-commit hook (#3658)

      Removed

      • [tests] Remove node-pty and drivelist from rebuilded test (#3575)
      • [deps] Remove @eslint/js dependency. Already installed with eslint in deep (#3636)

      Updated

      • [repo] Reactivate stale.yaml as GitHub action to mark issues as stale after 60 days and close them 7 days later (if no activity) (#3577, #3580, #3581)
      • [core] Update electron dependency to v32 (test electron rebuild) and all other dependencies too (#3657)
      • [tests] All test configs have been updated to allow full external access, allowing for easier debugging (especially when running as a container)
      • [core] Run and test with node 23 (#3588)
      • [workflow] delete exception allow-ghsas: GHSA-8hc4-vh64-cxmj in dep-review.yaml (#3659)

      Fixed

      • [updatenotification] Fix pm2 using detection when pm2 script is inside or outside MagicMirror root folder (#3576) (#3605) (#3626) (#3628)
      • [core] Fix loading node_helper of modules: avoid black screen, display errors and continue loading with next module (#3578)
      • [weather] Change default value for weatherEndpoint of provider openweathermap to “/onecall” (#3574)
      • [tests] Fix electron tests with mock dates, the mock on server side was missing (#3597)
      • [tests] Fix testcases with hard coded Date.now (#3597)
      • [core] Fix missing basePath where location.host is used (#3613)
      • [compliments] croner library changed filenames used in latest version (#3624)
      • [linter] Fix ESLint ignore pattern which caused that default modules not to be linted (#3632)
      • [core] Fix module path in case of sub/sub folder is used and use path.resolve for resolve moduleFolder and defaultModuleFolder in app.js (#3653)
      • [calendar] Update to resolve issues #3098 #3144 #3351 #3422 #3443 #3467 #3537 related to timezone changes
      • [calendar] Fix #3267 (styles array), also fixes event with both exdate AND recurrence(and testcase)
      • [calendar] Fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events
      • [calendar] Fix showEnd for Full Day events (#3602)
      • [tests] Suppress “module is not defined” in e2e tests (#3647)
      • [calendar] Fix #3267 (styles array, really this time!)
      • [core] Fix #3662 js/positions.js created incorrectly

      https://github.com/MagicMirrorOrg/MagicMirror/releases/tag/v2.30.0

      posted in MagicMirror
      S
      sdetweil
    • RE: new update/upgrade script, ready for testing

      I also have a newer installer that resolves a lot of problems with PM2, and supports installing on non-PI systems (Mac, pi zero, odroid, jetson nano)

       bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
      

      edited Jan 4, 2020 - move from dropbox to github as distro

      posted in General Discussion
      S
      sdetweil
    • module not found error loading module in MagicMirror

      the message module not found has nothing to do with MagicMirror ‘modules’ but a library USED by a MagicMirror module. sadly we cannot change or intercept the message

      a typical error

      Cannot find module ‘request’

      In recent mm releases we have removed libraries that are discontinued ( aka deprecated).

      many mm modules used these but didn’t document it. so they fail

      to fix this you need to install the library in the module folder,
      so do

      cd ~/MagicMirror/modules
      
      cd modulename (where modulename is the module having the error)
      

      once there, do

      ls package.json
      

      if the module does NOT provide that file ( ls reponse is ‘No such file or directory’) then do

      npm init -y
      

      NEVER EVER do this in the MagicMirror folder
      if you do/did, then do
      git checkout package.json

      then regardless (in the module folder) do

      npm install ???
      

      where ??? is the library noted in the message Cannot find module ‘???’

      | in the example message above, ??? is request

      to find this message, look in the output of npm start. or if you use pm2 to launch mm do
      pm2 logs --lines=50

      posted in Troubleshooting
      S
      sdetweil
    • RE: Code a MagicMirror by myself?

      @oddo MagicMirror is written in Javascript, and uses loadable extensions (modules) to display small fragments of content (lots of modules, produces lots of content)

      each module is essentially an application, focused on the content IT provides. without knowledge of any other module

      the documentation on creating a module is here
      https://docs.magicmirror.builders/development/introduction.html#general-advice

      and u can use my sample to start
      https://github.com/sdetweil/SampleModule

      read the links in my signature below on how to install a module and making a good config file

      also see my installation and maintenance scripts for MM
      https://github.com/sdetweil/MagicMirror_scripts

      posted in General Discussion
      S
      sdetweil
    • RE: covid bell curve line graph tracker

      @humdinger44 here u go

      https://github.com/sdetweil/MyCovid19

      two charts… cumulative cases and cumulative deaths, currently can display only 1 chart at a time

      US is about 7 weeks behind China, Italy about 5 weeks behind

      alt text

      posted in Requests
      S
      sdetweil
    • Notice for new users, or those with less than 2 reputation score

      starting today, Sept 7, 2022, we have enabled posting moderation…

      users with reputation less than 2 will have their posts dumped into the moderation queue for review before appearing in the forum.

      this to stop the spam…

      for existing users, to get your reputation raised requires someone to upvote your posts… think of helping new users we let in, after filtering out the spam

      posted in Forum
      S
      sdetweil
    • RE: v2.15.0

      use the scripted upgrade if u have any additional modules…

      https://github.com/sdetweil/MagicMirror_scripts#update-to-next-magicmirror-version-from-an-existing-magicmirror-installation

      already seen requirement for npm rebuild or reinstall as a few have electron version dependencies (binaries) of THEIR dependencies

      also note that valid-url has been removed, and at least two modules fail for this dependency

      workaround

      cd ~/MagicMirror
      npm install valid-url
      
      posted in MagicMirror
      S
      sdetweil

    Latest posts made by sdetweil

    • RE: Apply color to future events in CalendarExt3

      @kkmirr04 they replace the colored:true which did everything,
      Now you can control each separately

      Inside the config: { section
      Before the calendars: [ list

      posted in Custom CSS
      S
      sdetweil
    • RE: Apply color to future events in CalendarExt3

      @kkmirr04 just for testing, if you have a mouse on that system
      Mouse over the event without color and click. This will show a new view of that event with the rest in blur behind,

      Does the text appear in the proper color?
      Escape key to exit that view

      Could you also add

      coloredSymbol:true, 
      

      To the base calendar module config.
      Next to

      coloredText:true
      
      posted in Custom CSS
      S
      sdetweil
    • RE: MMM-CalendarExt3Agenda not showing updates

      @MarNog one thing about the ext3 family of modules.

      They get the events from the default calendar module. But the events are broadcast by url separately.

      Some will take longer than others.

      Ext3 doesn’t want to flash the screen every time it receives a block of events. It doesn’t know when the events will come. So, it has its own refreshInterval time (10 mins default), then it draws whatever it has, and then waits again

      But, you don’t want to wait 10 minutes for the first display , so it has a second timer

      waitFetch:5000, 5 second wait before drawing any events

      If the events arrive after 5 seconds, they dont get displayed til refreshInterval time.

      So, you can adjust those two to improve your viewing experience

      Note that longer waitFetch means more time after start before any events are displayed

      If you use pm2 to launch MagicMirror, it captures the log messages about startup and events being broadcast.
      You could examine those time stamps to determine how long each cal Might take, and use that as a guide to waitFetch time

      The longer waitFetch means no events are displayed after startup til waitFetch expires

      posted in Troubleshooting
      S
      sdetweil
    • RE: Apply color to future events in CalendarExt3

      @kkmirr04 that’s ext3 not showing color

      In the off chance of some module install fluke
      Delete the Mmm-CalendarExt3 folder
      Then git clone
      And npm install in the folder created by clone

      Then restart MagicMirror

      posted in Custom CSS
      S
      sdetweil
    • RE: Apply color to future events in CalendarExt3

      @kkmirr04 custom.css not loaded just means there isn’t one. (The default as MagicMirror installed)
      If you had used the scripted install it would have created an empty one so this error wouldn’t be there

      There is the colored vs coloredText, coloredSymbol warning

      No Obvious other errors in that part

      Calendar sorting events=0, means there weren’t any?

      Just for testing, if you disable pages and ext3
      ( add disabled:true, after the module:line)
      Do both instances of calendar draw and with color?

      If yes, then set disabled false on ext3

      posted in Custom CSS
      S
      sdetweil
    • RE: Apply color to future events in CalendarExt3

      @kkmirr04 interesting.

      Also, you are using an old term , colored
      We’ve update to coloredText, symbol,
      There should have been a message in the console output at MagicMirror startup

      pm2 logs —lines=xxx
      xxx is the number of most recent lines in the output, default 15

      I saw that when I was testing yesterday

      When you get the not displayed, can you
      Open the developers console

      On the MagicMirror screen, ctrl-shift-I
      Select the console tab and scroll around for errors(red text usually)

      When one script has a fault in a browser, others will be impacted
      Modules are all script

      posted in Custom CSS
      S
      sdetweil
    • RE: MM clock reverted to UTC

      @smegbadger yes, we have a fix for that. It’s from the updatenotification module.

      posted in Troubleshooting
      S
      sdetweil
    • RE: Apply color to future events in CalendarExt3

      @kkmirr04 on your second cal instance not showing

      can you show the config, xxx out the cal url…

      I am using pages, with ext3 on diff and cal on diff without problem… (except for ext3 color)

      posted in Custom CSS
      S
      sdetweil
    • RE: Apply color to future events in CalendarExt3

      @kristjanesperanto

      can you explain this? the default cal shows colored, but Ext3 does not

      I can duplicate, text not colored in Ext3

      Screenshot at 2026-05-04 17-31-42.png

      but pop is all colored.

      Screenshot at 2026-05-04 17-31-49.png

      posted in Custom CSS
      S
      sdetweil
    • RE: Apply color to future events in CalendarExt3

      @kkmirr04 thanks. I will try to test this out in a little bit

      No, ignore the npm message

      Yes, we found a bug in MagicMirror when looking for module updates. No harm done

      posted in Custom CSS
      S
      sdetweil