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

    Posts

    Recent Best Controversial
    • RE: MMM-CalendarExt3Agenda - Can I Make it show more events?

      @Kelemvor I don’t use it that long anymore, but I went back in my backups and found this config:

      		{
      			module: "MMM-CalendarExt3Agenda", // https://github.com/MMRIZE/MMM-CalendarExt3Agenda
      			position: "top_left",
      			config: {
      				showMiniMonthCalendar: false,
      				instanceId: "basicCalendar",
      				firstDayOfWeek: 0,
      				startDayIndex: 0,
      				endDayIndex: 99,
      				minimalDaysOfNewYear: 1,
      				animationSpeed: 0,
      				useSymbol: false,
      				useWeather: false,
      				waitFetch: 5000,
      				eventTransformer: (ev) => {
      					if (ev.title.search("⚾") > -1) {
      						ev.title = ev.title.replace("⚾️ ","");
      					}
      					if (ev.title.search("Bowling") > -1) {
      						ev.color = 'yellow';
      					}
      					return ev
      				},
      			},
      		},
      
      {
      			module: "calendar", // Built in
      			//position: "top_right",
      			config: {
      				broadcastEvents: true,
      				broadcastPastEvents: true,
      				fetchInterval: 30000,
      				maximumEntries: 99,
      				calendars: [
      			```
      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-CalendarExt3 color formatting

      Why aren’t you guys using the transformer?

      eventTransformer: (ev) => {
      					if (ev.title.search("🏠") > -1) {
      						ev.title = ev.title.replace("🏠 Personal Commitment", "🏠 Personal Event");
      						ev.color = 'yellow';
      					}
      					if (ev.title.search("✈ Flight") > -1) {
      						ev.title = ev.title.replace("✈ Flight", "🏠 Personal Event");
      						ev.color = 'yellow';
      					}
      					if (ev.title.search("busy") > -1) {
      						ev.title = ev.title.replace("busy", "🏠 Mom Event");
      						ev.color = 'yellow';
      					}
      					if (ev.title.search("Weekley") > -1) {
      						ev.title = ev.title.replace("Weekley", "Weekly");
      					}
      					return ev
      				}
      
      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: SolisCloud Solar PV

      @Rags I would highly recommend that the module get listed on https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-Party-Modules - with the author’s permission of course.

      posted in Requests
      BKeyportB
      BKeyport
    • RE: Can I hard code the widths for the top_left and top_right columns?

      @sdetweil That being said, you can.

      .region.left {
      	min-width: 640px;
      	max-width: 640px; 
      }
      

      It’s dirty, but it does work. Would be really bad if it wasn’t for the fact that we’re working in a system that has a known single output for the most part.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-CalendarExt3Agenda - Can I Make it show more events?

      @Kelemvor forgot, gotta increase the max entries in the default calendar module maximumEntries: 99,

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-CalendarExt3Agenda - Can I Make it show more events?

      @Kelemvor Yes. It’s CSS. Here’s my version - I have it going 850px down the screen.

      /* CalendarExt3Agenda */
      .CX3A {
      	font-size: 20px;
      	min-width: 440px;
      	max-width: 440px;
      	overflow-y: unset;
      	text-align: left;
      	position: relative;
      	color: var(--color-text);
      	--todayColor: BurlyWood;
      	padding: 5px 5px;
      	max-height: 850px;
      }
      

      If you want it to truely just drop off the bottom of the screen, you can also change fade:

      /* Fade adjustments */
      .CX3A .agenda::after {
      	height: 0%;
      	content: '';
      } 
      

      Remember, place changes in MagicMirror/css/custom.css – Do not change files installed by the system.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Will it run doom?

      @Chilred 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣

      posted in General Discussion
      BKeyportB
      BKeyport
    • RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast

      @sdetweil easier fix in css:

      /* Disable alerts */
      .MMM-OpenWeatherForecast .weather-alert .weather-alert-description,
      .MMM-OpenWeatherForecast .weather-alert .weather-alert-source {
      	display: none;
      }
      
      posted in Utilities
      BKeyportB
      BKeyport
    • RE: CSS Help with Two Small Items

      @Splashed For future use -

      The most important part, read the documentation (No matter how bad it is, a lot of us aren’t native english speakers) before doing anything. There’s a lot of effort put in to make the project accessable to even the most basic of users, so it may not even need CSS!

      If you need to fix CSS:

      1. Look in directories of the module for CSS files - these will give you clues on what to look for. In the case of default modules, many of their settings are in main.css

      2. Make sure your mirror is able to be loaded on a remote computer thusly:

      var config = {
      	address: "0.0.0.0",
      	port: 8080,
      	ipWhitelist: [],
      ... 
      
      1. Load your mirror on a work computer by going to “http://:8080” - then use the developer tools (typically ctrl-shift-i) to look through the styles and play with live output. You may need to insert a breakpoint to stop the constant refreshes.

      2. Once you find what you want, you can put the changes in custom.css

      Happy “hacking”

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Photo upload appears to be broken

      @bhepler 1inMillion.png

      here’s a png.

      posted in Forum
      BKeyportB
      BKeyport
    • RE: Photo upload appears to be broken

      Kia-Logo.jpg

      Seems to be working for me too.

      posted in Forum
      BKeyportB
      BKeyport
    • RE: CSS Help with Two Small Items

      @Splashed Clock is easy. I blew mine up 5 times from the base font…

      /* Clock  */
      .clock .time {
      	font-size: 5rem;
      }
      

      24 hour clock is likely in your dateFormat string, check the docs here: https://docs.magicmirror.builders/modules/calendar.html#configuration-options

      If you’re customizing, the “H” is 24 hour, “h” is 12 hour.

      see: https://momentjs.com/docs/#/parsing/string-format/ for more options to get it the exact way you want it - or teach your kids to subtract 12 (minus 10, minus 2 in new math) from the time to not be confused. 😉

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @jbat66 not sure how much power the pi+power supply takes and if it would be worth it to shut it down overnight. Could rig a button to do a graceful shutdown, then use the power down button to shut down both the pi and the monitor. Interesting ideas here. Let me know what you come up with.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @sdetweil Should is the key word. Some bug somewhere is causing the system to come up background to various things - sometimes mouse is on screen, sometimes the pi menubar is in front of the window (rare, but does happen). I had to use unclutter to fix one, and hide the menubar to fix the other. I know it’s not us, so it’s not reported to MM github issue.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-DHT22

      @JohnGalt I’m betting LadyAda and co are working on a fix all the same. They’re big on keeping old hardware working.

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @jbat66 Oh, Wait, I just realized - I switched bookworm into X11 mode rather than Wayland - you may need to do that as well (I couldn’t get some operations I wanted to do to work in Wayland, yet - setting in raspi-config/advanced if you’re using RasOS)

      If you don’t mind the monitor running but just want a blank screen, turn off the background picture, set the color to black, and remove the taskbar, then turn off MM and let it be. Might still get a mouse cursor, but there’s tools for that (Unclutter?)

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      By the way - I do this with my monitors (One CEC, one not using bookworm):

      Off:

      pm2 stop all
      DISPLAY=:0 xrandr --output HDMI-1 --off
      DISPLAY=:0 xrandr --output HDMI-2 --off
      echo 'standby 0' | cec-client -s -d 1
      

      On:

      echo 'on 0' | cec-client -s -d 1 
      sleep 20
      DISPLAY=:0 xrandr --output HDMI-1 --auto
      sleep 1
      DISPLAY=:0 xrandr --output HDMI-2 --auto --right-of HDMI-1
      sleep 1
      pm2 restart all
      

      I have to stop and start the mirror(s) because if I don’t, they’ll move on top of each other.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-CalendarExt3Agenda

      @luisestrada I believe that’s a translation error - and may not even be “our” fault…

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: MMM-DHT22

      @JohnGalt I had no trouble with the Adafruit libraries on Pi4. It should be working just fine - Take a look around https://forums.adafruit.com/ - there might be fixes or something available.

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: Suggestions on 27" display for NON-MIRROR?

      @ZiggidyZ That could be a good unit… I’d personally take it off the stand if you’re going to put it in an enclosure, and use a low profile vesa mount like this. You could also build up like a mirror project, just use a clear piece of front material in lieu of a 2 way mirror.

      posted in Hardware
      BKeyportB
      BKeyport
    • 1 / 1