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

    Posts

    Recent Best Controversial
    • RE: MMM-ModuleScheduler: need help

      @anagallis I have redone my fork of the MMM-RandomPhoto module using the correct source, to support multiple instances.

      to test this do

      cd ~/MagicMirror/modules
      rm -rf MMM-RandomPhoto
      git clone https://github.com/sdetweil/MMM-RandomPhoto.git
      cd MMM-RandomPhoto
      git checkout multi-instance
      npm install
      

      see the readme for the doc on how to use the new id property to create multiple instances and what you MUST do for css to support each instance… easy, but required.

      posted in Showcase
      S
      sdetweil
    • RE: MMM-ModuleScheduler: need help

      @anagallis ah, I see. I found the original. Not the other fork. Same problem

      Working on it

      posted in Showcase
      S
      sdetweil
    • RE: Clean Install

      @PGP_Protector nice!

      posted in Show your Mirror
      S
      sdetweil
    • RE: MMM-OnSpotify Waiting for Authorization

      @videogame95 no, sorry.

      You are on developer.spotify.com
      Right?

      posted in Entertainment
      S
      sdetweil
    • RE: EBADENGINE npm error eslint/espree - MMM-EarthquakeAlerts

      @UncleRoger n stores in the /usr folder, so you have to use sudo for that

      sudo n 20.9
      
      posted in Troubleshooting
      S
      sdetweil
    • RE: EBADENGINE npm error eslint/espree - MMM-EarthquakeAlerts

      @UncleRoger can you check for either tool?

      n
      Or
      nvm
      See if either responds
      Or get not found

      My upgrade script would have tried to redo npm install for the modules after upgrading node

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-ModuleScheduler: need help

      @anagallis delete the MMM-RandomPhoto folder

      cd modules
      rm -rf MMM-RandomPhoto
      

      and git clone my repo

      cd modules
      git clone https://github.com/sdetweil/MMM-RandomPhoto
      

      this supports multiple instances
      restart MagicMirror

      posted in Showcase
      S
      sdetweil
    • RE: MMM-ModuleScheduler: need help

      @anagallis the MMM-RandomPhoto module doesn’t support multiple instances
      the html ID and Classes are hard coded

      posted in Showcase
      S
      sdetweil
    • RE: Calendar CustomEvents

      @daportelli if you change the module name for a test, does it work?

      What do you get from MMM-GoogleCalendar that the default does not provide?

      never mind, it won’t work with the google side config…

      as for the purpose of this configuration.
      the content is protected by https encryption and no user will see it, its only exposed ON the system where MagicMirror runs, same for both modules.

      you can get the secret URL from the calendar.google.com settings,

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-ModuleScheduler: need help

      @anagallis if the schedules are the same every day, the easiest way would be the global schedule

      Use the crontab tool to create a schedule line from:to for each time period, and add a string for the global_scheduler classname.

      Then on the picture module add a property

      classes:"???? ?????"
      

      Where ??? Is the classname you specified in the schedule definition.

      These classnames are just arbitrary strings, for example

      Morning_scheduler, afternoon_schedule
      The classes property takes a list of space separated strings

      If the schedules are different on different days,
      Make a pair for each day, using the same schedule names for all the days

      posted in Showcase
      S
      sdetweil
    • RE: Calendar CustomEvents

      @daportelli looks like cloned config, but not implemetation

      posted in Troubleshooting
      S
      sdetweil
    • RE: Black screen with cursor (some days)

      @nowayto all mmFetchTimeout does is allow waiting longer in the modules mode-helpers

      The black screen means the app crashed, lucky that ctrl-r works

      There are Linux tools that can send keystrokes

      IMG_5121.png

      posted in Troubleshooting
      S
      sdetweil
    • RE: Black screen with cursor (some days)

      @nowayto I don’t know.

      You could try adding a sleep xxx (seconds)
      In front of the npm start in mm.sh to let the system settled down a little.

      The remote control module has a refresh api url you could invoke thru curl

      But, I think this may indicate the beginning of the sd card death, they are not made to handle a lot of writes. And your system is doing the worst kind, restarting every day.

      Make sure you have a good backup

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-OnSpotify Waiting for Authorization

      @videogame95 if you logoff and login again, does that make a difference?

      posted in Entertainment
      S
      sdetweil
    • RE: Default calendar module seems to disregard month when filtering recurring events.

      @jpiatt because there are multiple vevents with the same UUID, AND NO rrule, this says the actual event has been expanded somewhere… are you using MMM-CalDav??

      if so, please change the server side property

      expand	true
      

      to false

      posted in System
      S
      sdetweil
    • RE: Calendar CustomEvents

      @daportelli Ah, you are using MMM-GoogleCalendar

      which doesn’t support the text replacement

      I am talking about the default module:‘calendar’

      posted in Troubleshooting
      S
      sdetweil
    • RE: Calendar CustomEvents

      @daportelli ok, I just setup an event, happening every day
      ‘Spotify Event’

      added the custom event def you showed

                      {
                              module: "calendar",
                              header: "US Holidays",
                              position: "top_left",
                              config: {
                                      customEvents: [
                                              { keyword:'.*', transform :{ search:'Spotify', replace:'Music'} }
                                              ],
                                      calendars: [
                                              {
                                                      fetchInterval: 7 * 24 * 60 * 60 * 1000,
                                                      symbol: "calendar-check",
                                                      url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
                                              },
      

      and got this result
      Snip20260321_10.png

      MM 2.34

      I changed the customEvent definition to

      { keyword:'event', transform :{ search:'Spotify', replace:'Music'} }
      

      and it produced the same resutlts

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-OnSpotify Waiting for Authorization

      @videogame95 I do not know

      when I go there I see the button, but it is disabled as I have 3 apps defined
      Snip20260320_8.png

      posted in Entertainment
      S
      sdetweil
    • RE: Sharing a concept that I am working on for my daughter's house - MagicMirror layout

      @wswenson very nice work!!

      posted in Show your Mirror
      S
      sdetweil
    • RE: Default calendar module seems to disregard month when filtering recurring events.

      @jpiatt can you show the event from the iCal data

      curl -sL the cal_url > somefile.txt
      

      Edit somefile.txt and find the vevent for that

      Paste here w code block around
      You can change the title and any other thing that exposes you or your url. Don’t delete any lines

      There is a big rewrite of the calendar processing coming on April 1.

      You could test that now, see the troubleshooting section pinned topics on testing fixes

      posted in System
      S
      sdetweil
    • 1 / 1