Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-AtomVisualizer language
@nowayto he also uploaded a fix, so you could have used that.
to get it docd ~/MagicMirror/modules/MMM-AtomVisualizer git checkout MMM-AtomVisualizer.js git pullthen restart MagicMirror
this restores the file to the last local repo version
then updates with the newI wasn’t suggesting KEEPING the locally modified, it was only for testing.
til a fix… and there is one now -
RE: Updating RP4 and MagicMirror
@BravoOscar do you have something in custom.css?
-
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.
-
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)
-
RE: MMM-ModuleScheduler: need help
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
-
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 -
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
-
RE: MMM-CalendarExt3 - Displaying bubble in bottom right corner
@Cybex999 can you show the module config?
Use the code block wrapper please -
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 installsee 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.
-
RE: MMM-ModuleScheduler: need help
@anagallis ah, I see. I found the original. Not the other fork. Same problem
Working on it
-
RE: MMM-OnSpotify Waiting for Authorization
@videogame95 no, sorry.
You are on developer.spotify.com
Right? -
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 -
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 foundMy upgrade script would have tried to redo npm install for the modules after upgrading node
-
RE: MMM-ModuleScheduler: need help
@anagallis delete the MMM-RandomPhoto folder
cd modules rm -rf MMM-RandomPhotoand git clone my repo
cd modules git clone https://github.com/sdetweil/MMM-RandomPhotothis supports multiple instances
restart MagicMirror -
RE: MMM-ModuleScheduler: need help
@anagallis the MMM-RandomPhoto module doesn’t support multiple instances
the html ID and Classes are hard coded -
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,
-
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 stringsIf the schedules are different on different days,
Make a pair for each day, using the same schedule names for all the days -
RE: Calendar CustomEvents
@daportelli looks like cloned config, but not implemetation