Skip to content

brightnes does not change events in MMM-CalendarExt3 #374

@buchnerferdinand593-bot

Description

OS

Debian GNU/Linux 13 (trixie)

Node.js Version

v24.12.0

Version verification

  • I verified the issue also occurs on a current Node.js version (e.g., latest LTS or 24.x), not only on an outdated one.

MagicMirror² Version

2.33.0

MagicMirror² version verification

  • I verified the issue also occurs on the latest MagicMirror² release (not only on an outdated one).

Remote Control Version

4.1.0

Minimal reproduction

  • I enabled only MMM-Remote-Control (other modules disabled) and the issue still occurs.

Description

Hi I have an issue with the brightness settings. When I change the brightness to everything will change except the events of my MMM-CalendarExt3. When I change the brightness to very dark all disappears, grid of the calendar, days, number of days etc. but the events will stay very bright. See below with normal brightness and very dark:

Image Image

Did the same with a short sample and there is the same behaviour.

Image

Expected behavior

I would expect that also the events will change in brightness ...

Current behavior

Events in my MMM-CalendarExt3 will not change in brightness

Image Image

Possible solution

No response

Steps to reproduce

  1. Start MM
  2. wait til everything loads
  3. got to your phone and your remote control website
  4. change brightness
  5. all will disappear but not the events in the calendar

Screenshots (optional)

No response

Log

0|MagicMir | ####  System Information  ####
0|MagicMir | - SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry                                                                                                              Pi 4 Model B Rev 1.5; virtual: false; MM: 2.33.0
0|MagicMir | - OS:       platform: linux; distro: Debian GNU/Linux; release: 13;                                                                                                              arch: arm64; kernel: 6.12.47+rpt-rpi-v8
0|MagicMir | - VERSIONS: electron: 38.7.2; used node: 22.21.1; installed node: 2                                                                                                             2.18.0; npm: 10.9.3; pm2: 6.0.14
0|MagicMir | - ENV:      XDG_SESSION_TYPE: tty; MM_CONFIG_FILE: undefined
0|MagicMir |             WAYLAND_DISPLAY:  wayland-0; DISPLAY: undefined; ELECTR                                                                                                             ON_ENABLE_GPU: undefined
0|MagicMir | - RAM:      total: 906.64 MB; free: 343.83 MB; used: 562.81 MB
0|MagicMir | - OTHERS:   uptime: 541 minutes; timeZone: Europe/Berlin
0|MagicMir | [2025-12-25 19:22:00.403] [LOG]   Create new calendarfetcher for ur                                                                                                             l: https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics - Interval: 604800000
0|MagicMir | [2025-12-25 19:22:00.450] [LOG]   Create new newsfetcher for url: h                                                                                                             ttps://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
0|MagicMir | [2025-12-25 19:22:00.457] [INFO]  updatenotification: Updater Class                                                                                                              Loaded!
0|MagicMir | [2025-12-25 19:22:00.458] [INFO]  updatenotification: Checking PM2                                                                                                              using...
0|MagicMir | [2025-12-25 19:22:00.782] [INFO]  Checking git for module: MMM-Cale                                                                                                             ndarExt3
0|MagicMir | [2025-12-25 19:22:00.836] [INFO]  Checking git for module: MMM-Remo                                                                                                             te-Control
0|MagicMir | [2025-12-25 19:22:00.862] [INFO]  Checking git for module: MagicMir                                                                                                             ror
0|MagicMir | [2025-12-25 19:22:00.897] [INFO]  updatenotification: [PM2] You are                                                                                                              using pm2 with id: 0 (MagicMirror)
0|MagicMir | [2025-12-25 19:22:01.804] [INFO]  Calendar-Fetcher: Broadcasting 15                                                                                                              events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
0|MagicMir | [2025-12-25 19:22:01.931] [INFO]  Newsfeed-Fetcher: Broadcasting 28                                                                                                              items.
0|MagicMir | [2025-12-25 19:27:02.492] [INFO]  Newsfeed-Fetcher: Broadcasting 28                                                                                                              items.
0|MagicMir | [2025-12-25 19:32:02.923] [INFO]  Newsfeed-Fetcher: Broadcasting 26                                                                                                              items.
0|MagicMir | [2025-12-25 19:32:37.021] [LOG]   Shutting down server...
0|MagicMir | [2025-12-25 19:32:37.023] [LOG]   Stopping module helper: updatenot                                                                                                             ification
0|MagicMir | [2025-12-25 19:32:37.023] [LOG]   Stopping module helper: calendar
0|MagicMir | [2025-12-25 19:32:37.023] [LOG]   Stopping module helper: newsfeed
0|MagicMir | [2025-12-25 19:32:37.024] [LOG]   Node_helpers stopped ...
0|MagicMir |
0|MagicMir | > [email protected] start:wayland
0|MagicMir | > WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.b                                                                                                             in/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=w                                                                                                             ayland
0|MagicMir |
0|MagicMir | [2025-12-25 19:32:45.642] [LOG]   Starting MagicMirror: v2.33.0
0|MagicMir | [2025-12-25 19:32:45.649] [LOG]   Loading config ...
0|MagicMir | [2025-12-25 19:32:45.653] [LOG]   config template file not exists,                                                                                                              no envsubst
0|MagicMir | [2025-12-25 19:32:46.692] [INFO]  Checking config file /home/ferdi/                                                                                                             MagicMirror/config/config.js ...
0|MagicMir | [2025-12-25 19:32:46.811] [INFO]  Your configuration file doesn't c                                                                                                             ontain syntax errors :)
0|MagicMir | [2025-12-25 19:32:46.812] [INFO]  Checking modules structure config                                                                                                             uration ...
0|MagicMir | [2025-12-25 19:32:46.917] [INFO]  Your modules structure configurat                                                                                                             ion doesn't contain errors :)
0|MagicMir | [2025-12-25 19:32:46.921] [LOG]   Loading module helpers ...
0|MagicMir | [2025-12-25 19:32:46.923] [LOG]   No helper found for module: alert                                                                                                             .
0|MagicMir | [2025-12-25 19:32:46.939] [LOG]   Initializing new module helper ..                                                                                                             .
0|MagicMir | [2025-12-25 19:32:46.941] [LOG]   Module helper loaded: updatenotif                                                                                                             ication
0|MagicMir | [2025-12-25 19:32:46.942] [LOG]   No helper found for module: clock                                                                                                             .
0|MagicMir | [2025-12-25 19:32:47.056] [LOG]   Initializing new module helper ..                                                                                                             .
0|MagicMir | [2025-12-25 19:32:47.056] [LOG]   Module helper loaded: calendar
0|MagicMir | [2025-12-25 19:32:47.057] [LOG]   No helper found for module: MMM-C                                                                                                             alendarExt3.
0|MagicMir | [2025-12-25 19:32:47.199] [LOG]   Initializing new module helper ..                                                                                                             .
0|MagicMir | [2025-12-25 19:32:47.200] [LOG]   Module helper loaded: MMM-Remote-                                                                                                             Control
0|MagicMir | [2025-12-25 19:32:47.201] [LOG]   No helper found for module: compl                                                                                                             iments.
0|MagicMir | [2025-12-25 19:32:47.201] [LOG]   No helper found for module: weath                                                                                                             er.
0|MagicMir | [2025-12-25 19:32:47.382] [LOG]   Initializing new module helper ..                                                                                                             .
0|MagicMir | [2025-12-25 19:32:47.383] [LOG]   Module helper loaded: newsfeed
0|MagicMir | [2025-12-25 19:32:47.384] [LOG]   All module helpers loaded.
0|MagicMir | [2025-12-25 19:32:47.394] [LOG]   Starting server on port 8080 ...                                                                                                              
0|MagicMir | [2025-12-25 19:32:47.446] [LOG]   Server started ...
0|MagicMir | [2025-12-25 19:32:47.447] [LOG]   Connecting socket for: updatenoti                                                                                                             fication
0|MagicMir | [2025-12-25 19:32:47.448] [LOG]   Starting module helper: updatenot                                                                                                             ification
0|MagicMir | [2025-12-25 19:32:47.449] [LOG]   Connecting socket for: calendar
0|MagicMir | [2025-12-25 19:32:47.450] [LOG]   Starting node helper for: calenda                                                                                                             r
0|MagicMir | [2025-12-25 19:32:47.450] [LOG]   Connecting socket for: MMM-Remote                                                                                                             -Control
0|MagicMir | [2025-12-25 19:32:47.451] [LOG]   Starting node helper for: MMM-Rem                                                                                                             ote-Control
0|MagicMir | [2025-12-25 19:32:47.459] [LOG]   Connecting socket for: newsfeed
0|MagicMir | [2025-12-25 19:32:47.460] [LOG]   Starting node helper for: newsfee                                                                                                             d
0|MagicMir | [2025-12-25 19:32:47.460] [LOG]   Sockets connected & modules start                                                                                                             ed ...
0|MagicMir | [2025-12-25 19:32:48.282] [LOG]   Launching application.
0|MagicMir | [2025-12-25 19:32:51.884] [LOG]   Could not get defaults for MMM-Ca                                                                                                             lendarExt3. See #335.
0|MagicMir | [2025-12-25 19:32:59.183] [INFO]
0|MagicMir | ####  System Information  ####
0|MagicMir | - SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry                                                                                                              Pi 4 Model B Rev 1.5; virtual: false; MM: 2.33.0
0|MagicMir | - OS:       platform: linux; distro: Debian GNU/Linux; release: 13;                                                                                                              arch: arm64; kernel: 6.12.47+rpt-rpi-v8
0|MagicMir | - VERSIONS: electron: 38.7.2; used node: 22.21.1; installed node: 2                                                                                                             2.18.0; npm: 10.9.3; pm2: 6.0.14
0|MagicMir | - ENV:      XDG_SESSION_TYPE: tty; MM_CONFIG_FILE: undefined
0|MagicMir |             WAYLAND_DISPLAY:  wayland-0; DISPLAY: undefined; ELECTR                                                                                                             ON_ENABLE_GPU: undefined
0|MagicMir | - RAM:      total: 906.64 MB; free: 383.73 MB; used: 522.91 MB
0|MagicMir | - OTHERS:   uptime: 552 minutes; timeZone: Europe/Berlin
0|MagicMir | [2025-12-25 19:32:59.636] [LOG]   Create new calendarfetcher for ur                                                                                                             l: https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics - Interval: 604800000
0|MagicMir | [2025-12-25 19:32:59.697] [LOG]   Create new newsfetcher for url: h                                                                                                             ttps://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
0|MagicMir | [2025-12-25 19:32:59.709] [INFO]  updatenotification: Updater Class                                                                                                              Loaded!
0|MagicMir | [2025-12-25 19:32:59.710] [INFO]  updatenotification: Checking PM2                                                                                                              using...
0|MagicMir | [2025-12-25 19:33:00.077] [INFO]  Checking git for module: MMM-Cale                                                                                                             ndarExt3
0|MagicMir | [2025-12-25 19:33:00.145] [INFO]  Checking git for module: MMM-Remo                                                                                                             te-Control
0|MagicMir | [2025-12-25 19:33:00.174] [INFO]  Checking git for module: MagicMir                                                                                                             ror
0|MagicMir | [2025-12-25 19:33:00.246] [INFO]  updatenotification: [PM2] You are                                                                                                              using pm2 with id: 0 (MagicMirror)
0|MagicMir | [2025-12-25 19:33:01.056] [INFO]  Calendar-Fetcher: Broadcasting 15                                                                                                              events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
0|MagicMir | [2025-12-25 19:33:01.101] [INFO]  Newsfeed-Fetcher: Broadcasting 26                                                                                                              items.

config.js

/* Config Sample
 *
 * For more information on how you can configure this file
 * see https://docs.magicmirror.builders/configuration/introduction.html
 * and https://docs.magicmirror.builders/modules/configuration.html
 *
 * You can use environment variables using a `config.js.template` file instead of `config.js`
 * which will be converted to `config.js` while starting. For more information
 * see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
 */
let config = {
	address: "0.0.0.0",	// Address to listen on, can be:
							// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
							// - another specific IPv4/6 to listen on a specific interface
							// - "0.0.0.0", "::" to listen on any interface
							// Default, when address config is left out or empty, is "localhost"
	port: 8080,
	basePath: "/",	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
									// you must set the sub path here. basePath must end with a /
	ipWhitelist: [],	// Set [] to allow all IP addresses
									// or add a specific IPv4 of 192.168.1.5 :
									// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
									// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
									// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],

	useHttps: false,			// Support HTTPS or not, default "false" will use HTTP
	httpsPrivateKey: "",	// HTTPS private key path, only require when useHttps is true
	httpsCertificate: "",	// HTTPS Certificate path, only require when useHttps is true

	language: "de",
	locale: "de-DE",   // this variable is provided as a consistent location
			   // it is currently only used by 3rd party modules. no MagicMirror code uses this value
			   // as we have no usage, we  have no constraints on what this field holds
			   // see https://en.wikipedia.org/wiki/Locale_(computer_software) for the possibilities

	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
	timeFormat: 24,
	units: "metric",

	modules: [
		{
			module: "alert",
		},
		{
			module: "updatenotification",
			position: "top_bar"
		},
		{
			module: "clock",
			position: "top_left"
		},
		{
			module: "calendar",
			header: "US Holidays",
			position: "top_left",
			config: {
				calendars: [
					{
						fetchInterval: 7 * 24 * 60 * 60 * 1000,
						symbol: "calendar-check",
						url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
					}
				]
			}
			
		},
		
		{
      module: "MMM-CalendarExt3",
      position: "bottom_bar",
      title: "",
      config: {
        mode: "week",
       // instanceId: "basicCalendar",
        locale: 'de-DE',
        displayLegend: true,
        maxEventLines: [5, 5, 5, 5, 5, 5],
        weekIndex: 0,
        weeksInView: 5,
	useWeather: false,
        useMarquee: true,
        //refreshInterval: 1000 * 60 * 30,
        firstDayOfWeek: 1,
        calendarSet: [], //'Feiertage', 'GelberSack', 'Papier', 'Restmuell', 'Geburtstage', 'Gitarre', 'Frida'],
		eventTransformer: (ev) => {
// Ordinalzahlen-Wörter → Zahlen
const ordinalsMap = {
  "erster": 1,
  "zweiter": 2,
  "dritter": 3,
  "vierter": 4,
  "fünfter": 5,
  "sechster": 6,
  "siebter": 7,
  "achter": 8,
  "neunter": 9,
  "zehnter": 10,
  "elfter": 11,
  "zwölfter": 12
};

for (const [wort, zahl] of Object.entries(ordinalsMap)) {
  const regex = new RegExp(`\\b${wort}\\b`, "gi");
  ev.title = ev.title.replace(regex, zahl + ".");
}
return ev
},
      }
    },
{
        module: 'MMM-Remote-Control',
        // uncomment the following line to show the URL of the remote control on the mirror
        //position: 'top_bar',
        // you can hide this module afterwards from the remote control itself
        config: {
            customCommand: {},  // Optional, See "Using Custom Commands" below
            showModuleApiMenu: true, // Optional, Enable the Module Controls menu
            secureEndpoints: true, // Optional, See API/README.md
            pm2ProcessName: "MagicMirror",
            // uncomment any of the lines below if you're gonna use it
            // customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
            // apiKey: "", // Optional, See API/README.md for details
            // classes: {} // Optional, See "Custom Classes" below
        }
    },


		{
			module: "compliments",
			position: "lower_third"
		},
		{
			module: "weather",
			position: "top_right",
			config: {
				weatherProvider: "openmeteo",
				type: "current",
				lat: 40.776676,
				lon: -73.971321
			}
		},
		{
			module: "weather",
			position: "top_right",
			header: "Weather Forecast",
			config: {
				weatherProvider: "openmeteo",
				type: "forecast",
				lat: 40.776676,
				lon: -73.971321
			}
		},
		{
			module: "newsfeed",
			position: "bottom_bar",
			config: {
				feeds: [
					{
						title: "New York Times",
						url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
					}
				],
				showSourceTitle: true,
				showPublishDate: true,
				broadcastNewsFeeds: true,
				broadcastNewsUpdates: true
			}
		},
	]
};

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") { module.exports = config; }

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions