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,151
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MMM-AtomVisualizer language

      @nowayto see
      https://www.thoughtco.com/element-symbols-list-606530

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-AtomVisualizer language

      @nowayto he also uploaded a fix, so you could have used that.
      to get it do

      cd ~/MagicMirror/modules/MMM-AtomVisualizer
      git checkout MMM-AtomVisualizer.js
      git pull
      

      then restart MagicMirror

      this restores the file to the last local repo version
      then updates with the new

      I wasn’t suggesting KEEPING the locally modified, it was only for testing.
      til a fix… and there is one now

      posted in Troubleshooting
      S
      sdetweil
    • RE: Updating RP4 and MagicMirror

      @BravoOscar do you have something in custom.css?

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

      @jpiatt ok, let us know.

      Big calendar rewrite coming next Wednesday

      My cal is 12 yrs old, oops actually 17 yrs.

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

      @anagallis yes, custom.css is in the MagicMirror/css folder

      next release (April 1 it will move to the config folder (user files will all be in one place)

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

      @anagallis said:

      note you missed one _ (my fault in instructions) there is a root {} section that contains one too

      :root {
          --_randomPhoto-blur-value: 0px;
      }
      

      #L1_randomPhoto, #L2_randomPhoto, #Ma1_randomPhoto, #Ma2_randomPhoto,

      if you are going to use comma, then you need to replicate the actual tag too (I think)

      #L1_randomPhoto img, #L2_randomPhoto img, #Ma1_randomPhoto img, #Ma2_randomPhoto img ,........
      

      note the id can be anything, you were using a string for the global schedule classname, you could use the same string

      here is what I did and verified it worked (without using commas)
      config

      {
              module: 'MMM-RandomPhoto',
              position: 'fullscreen_below',
              config: {
                      opacity: 0.3,
                      animationSpeed: 500,
                      updateInterval: 60,
                      imageRepository:'localdirectory',
                      id:"foo",
                      repositoryConfig :{
                              path: '/Users/sam/Pictures'
                      }
              }
      },      
      {       
              module: 'MMM-RandomPhoto',
              position: 'fullscreen_below',
              config: {
                      opacity: 0.3,
                      animationSpeed: 500,
                      updateInterval: 60,
                      imageRepository:'localdirectory',
                      id:"fribble",
                      repositoryConfig :{
                              path: '/Users/sam/Pics'
                      }
              }       
      },
      

      custom.css

      :root {
          --foorandomPhoto-blur-value: 0px;
      }
      
      #foorandomPhoto img {
          opacity: 0;
          position: absolute;;
          top: 0;
          left: 0;
          height: 100%;
          width: 100%;
          object-fit: cover;
      }
      
      #fooArandomPhoto img.grayscale {
          filter: grayscale(100%);
      }
      
      #foorandomPhoto img.blur {
          filter: blur(var(--randomphoto-blur-value));
      }
      
      #foorandomPhotoIcon {
          position: absolute;
      }
      
      #foorandomPhotoIcon.rpitop {
          top: 5px;
      }
      
      #foorandomPhotoIcon.rpibottom {
          bottom: 5px;
      }
      
      #foorandomPhotoIcon.rpiright {
          right: 10px;
      }
      
      #foorandomPhotoIcon.rpileft {
          left: 10px;
      }
      
      #foorandomPhotoIcon i {
          opacity: 1;
      }
      
      #foorandomPhotoIcon i.rpihidden {
          opacity: 0;
      }
      :root {
          --_=fribblerandomPhoto-blur-value: 0px;
      }
      
      #fribblerandomPhoto img {
          opacity: 0;
          position: absolute;;
          top: 0;
          left: 0;
          height: 100%;
          width: 100%;
          object-fit: cover;
      }
      
      #fribblerandomPhoto img.grayscale {
          filter: grayscale(100%);
      }
      
      #fribblerandomPhoto img.blur {
          filter: blur(var(--randomphoto-blur-value));
      }
      
      #fribblerandomPhotoIcon {
          position: absolute;
      }
      
      #fribblerandomPhotoIcon.rpitop {
          top: 5px;
      }
      
      #fribblerandomPhotoIcon.rpibottom {
          bottom: 5px;
      }
      
      #fribblerandomPhotoIcon.rpiright {
          right: 10px;
      }
      
      #fribblerandomPhotoIcon.rpileft {
          left: 10px;
      }
      
      #fribblerandomPhotoIcon i {
          opacity: 1;
      }
      
      #fribblerandomPhotoIcon i.rpihidden {
          opacity: 0;
      }
      

      I updated the module README.md to document the change needed there too

      posted in Showcase
      S
      sdetweil
    • RE: MMM-AtomVisualizer language

      @KristjanESPERANTO yeh I think this is a general bug.

      Even if you had a parm, could change the order. It’s called before start.

      even so, I was wrong, this.config points the the proper module config at the time of getTranslations()
      so it could customize the returned language list

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-AtomVisualizer language

      @nowayto it should just work if your system is set to English
      If not set to English, then I think the first in the getTranslations list is the default.

      So if you change the order it should work

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-CalendarExt3 - Displaying bubble in bottom right corner

      @Cybex999 can you show the module config?
      Use the code block wrapper please

      posted in Troubleshooting
      S
      sdetweil
    • 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
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 1057
    • 1058
    • 6 / 1058