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

    Posts

    Recent Best Controversial
    • RE: Calendar - colourise events today?

      I found my solution. Maybe interesting for someone else too.

      custom.ccs

      
      table.small {
          border-collapse: collapse;
      }
      
      /* obere Linie */
      tr.dateheader.today td {
          border-top: 1px solid red;
      }
      
      /* untere Linie */
      tr.dateheader.today + tr.event.today:last-child td,
      tr.event.today + tr:not(.today) td {
          border-top: 1px solid red;
      }
      
      /* linke und rechte Linie */
      tr.today td:first-child {
          border-left: 1px solid red;
      }
      
      tr.today td:last-child {
          border-right: 1px solid red;
      }
      
      posted in Troubleshooting
      B
      Babene1
    • RE: Calendar - colourise events today?

      @sdetweil It works,thank you very match.

      Do you know, how do you get a red border around the entire today? The border should go around all today’s calendar entries.

      posted in Troubleshooting
      B
      Babene1
    • RE: Calendar - colourise events today?

      @RGN01 Hello, I am also looking for a solution to this problem, did you find anything here?

      posted in Troubleshooting
      B
      Babene1
    • RE: MMM-Cookidoo

      Thank you very much for the module, it’s fantastic

      posted in Utilities
      B
      Babene1
    • RE: MMM-PIR-Sensor with Radar sensor( RCWL-0516)

      Does anyone have a nice housing for the sensor RCWL-0516? Mounting on a wooden frame, such as this one from the PIR

      PIR-Gehäuse.png

      Thank you

      posted in Troubleshooting
      B
      Babene1
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      Ich hab die einfache Konfig verwendet:

      {
        module: 'MMM-soccer',
        position: 'top_right',
        config: {
          provider: {
            'football-data': {
              apiKey: 'XXX'
            }
          },
          competitions: [
            {
              code: 'BL1',
              scorers: {
                provider: 'football-data',
                maxEntries: 5
              }
            },
          ]
        }
      }
      
      

      I have this error:

      [ERROR] [MMM-soccer]: SoccerError: FETCHING_SCORERS
      at Object.fetchScorers (/home/pi/MagicMirror/modules/MMM-soccer/provider/football-data/provider.js:110:15)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async Class.createSingleRequest (/home/pi/MagicMirror/modules/MMM-soccer/node_helper.js:86:30)
      at async Promise.all (index 0)
      at async Class.makeRequests (/home/pi/MagicMirror/modules/MMM-soccer/node_helper.js:97:27) {
      competition: ‘BL1’,
      provider: ‘football-data’
      }

      posted in Sport
      B
      Babene1
    • RE: MagicMirror on second Monitor

      You are absolutely brilliant, now it works.
      I change in “raspi-config” to x11 desktop environment and now magicmirror run on second monitor.

      Thank you all for your tips

      posted in Troubleshooting
      B
      Babene1
    • MagicMirror on second Monitor

      I use a raspberry Pi 4 with two 24“ monitors. I want to start with one magicmirror on monitor 2 and a second instanc on monitor 1.
      First step is to start MagicMirror on monitor 2, with option „electronOptions:{ x:1920 },“
      in config.js

      I start magicmirror with command „npm run start“ and dependent with monitor is the terminal window opens the Magicmirror. If terminal is on monitor 1 start magicmirror is on monitor 1.
      If terminal is on monitor 2 start magicmirror is on monitor 2.
      Same problem when i start the MagicMirroc with pm2.

      I think i have two seperate monitor not 1 monitor with resulation 3840 pixel.
      Is this a problem but what is the solution?
      MagicMirrorraspi4_2.jpg
      Thank you for any tips

      posted in Troubleshooting
      B
      Babene1
    • RE: MMM-Scenes2

      @MMRIZE
      Yes, I think the problem is due to the “MMM-iFrameReload” module. I’m now using the module “MMM-SmartWebDisplay” so far no problem :-)

      posted in Troubleshooting
      B
      Babene1
    • RE: MMM-Scenes2

      Result of my test:

      • ListenpunktUsing “external_broqwser=firefox” no improvement, after about 1 hour no changes from the modul.

      • ListenpunktWith “animation: null”, no improvement, after about 1 hour no changes from the modul.

      • ListenpunktWith default clock and calendar, no problem (test run about 2,5 hours)

      Next test, with just an iframe module and the MMM-Simple Logo module. This module combination could be a solution for me

      posted in Troubleshooting
      B
      Babene1
    • RE: MMM-Scenes2

      @MMRIZE

      Thank you for your answer, I agree with you, I also think that the error message has nothing to do with the problem.
      Error message is written to the log after the start and the freezing of the module happens after about 1 hour.

      I used the default animation, unfortunately I don’t know how to remove the animation completely.
      Have also removed the MMM remote control module.
      So there are only three modules left, MMM-Scenes2, MMM-iFrameReload and MMM-iFrameReload2

      I switched off WLan-power Save and deactivated IPV6.

      No improvement, no improvement.

      Next tests will be longer times and I will use a different browser.

      Other test scenarios ?

      posted in Troubleshooting
      B
      Babene1
    • MMM-Remote-Control - direct start custom menu

      It is possibe to start direct the custom menu?
      If i call „http://raspberryanzeige1:8080/remote.html#custom-menu“ i get onle an emty page.

      MMM_custom-menu.png

      Start power menu it is possibe „http://raspberryanzeige1:8080/remote.html#power-menu“

      posted in Troubleshooting
      B
      Babene1
    • RE: MMM-Scenes2

      I have the same problem, after about 1 hour there is no change of modules.
      I also want a constant change of MMM-iframeReload and MMM-iframeReload2 module

      MagicMirror Version 2.27, Rapsberry PI 4 – 4 GB
      My Config:

      /* MagicMirror² Config Sample
       *
       * By Michael Teeuw https://michaelteeuw.nl
       * MIT Licensed.
       *
       * 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: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.178.249", "192.168.178.49"], // 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",
      	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
      	timeFormat: 24,
      	units: "metric",
      	
      	electronOptions: {
      		webPreferences: {
      		  webviewTag: true,
      		},
      	  },
      
      	modules: [
      		{
      			module: "alert",
      		},
      		/*{
      			module: "clock",
      			position: "top_left"
      		},*/
      		{
      		// https://github.com/TheBogueRat/MMM-iFrameReload
      		module: 'MMM-iFrameReload',
      		position: 'top_left',	// This can be any of the regions.
      		classes: "SEITE_ZWEI",
      		//header: 'Rezept des Tages',
      		config: {
      			// See 'Configuration options' for more information.
      				url: http://test/Anzeigetafeln/Anzeige1.html,
      				width: "1900px", // Optional. Default: 100%
      				height: "1080px", //Optional. Default: 100px
      				refreshInterval: 100
      			}
      		},
      		{
      			// https://github.com/TheBogueRat/MMM-iFrameReload
      			module: 'MMM-iFrameReload2',
      			position: 'top_left',	// This can be any of the regions.
      			classes: "Welcome SEITE_EINS",
      			//header: 'Rezept des Tages',
      			config: {
      				// See 'Configuration options' for more information.
      					url: http://test/Anzeigetafeln/Logo.html,
      					width: "1900px", // Optional. Default: 100%
      					height: "1080px", //Optional. Default: 100px
      					refreshInterval: 3600
      				}
      			},
      			{
      				// https://github.com/MMRIZE/MMM-Scenes2
      				module: "MMM-Scenes2",
      				position: "bottom_bar",
      				config: {
      					life: 1000 * 10,
      					activeIndicator: ' ',
      					inactiveIndicator: ' ',
      					scenario: [
      						{ // First scene definition
      							exit: ["SEITE_ZWEI"],
      							enter: ["SEITE_EINS"],
      							life: 1000 * 10,
      						  },
      						  { // Second scene definition
      							exit: ["SEITE_EINS"],
      							enter: ["SEITE_ZWEI"],
      							life: 1000 * 45,
      						  },
      					],
      				}
      			},
      		{
      			// https://github.com/Jopyth/MMM-Remote-Control
      			module: 'MMM-Remote-Control',
      			// uncomment the following line to show the URL of the remote control on the mirror
      			// position: 'bottom_left',
      			// you can hide this module afterwards from the remote control itself
      			config: {
      				customCommand: {
      					//monitorStatusCommand: 'rm -rf .config/Electron',
      					monitorStatusCommand: '~pi/restartBrowsercache.sh'
      				},  // Optional, See "Using Custom Commands" below
      				showModuleApiMenu: false, // Optional, Enable the Module Controls menu
      				secureEndpoints: true, // Optional, See API/README.md
      				// 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
      			}
      		},
      	]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") { module.exports = config; }
      
      

      I insert the line in my mm.sh:

      export ELECTRON_DISABLE_GPU=1

      pm2 Log:

      [1965:0521/220109.925300:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
      [1965:0521/220109.925398:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)

      uname -a
      Linux raspberryanzeige1 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux

      file /bin/bash
      /bin/bash: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=198ac6b0cc01bf774c5746a36a6fd31dead9bda5, for GNU/Linux 3.7.0, stripped

      Does anyone have any idea what I can do? Thanks

      posted in Troubleshooting
      B
      Babene1
    • RE: Module calendar - whole day event

      @MMRIZE Thank you very much, I have overlooked it. You make my day :-)

      posted in Utilities
      B
      Babene1
    • RE: Module calendar - whole day event

      @MMRIZE I like your calendar view, how does it work with the date and under it the individual calendar entries?

      posted in Utilities
      B
      Babene1
    • RE: MMM-GrafanaCharts page not found with Grafana 8.0.6

      i found the problem, in my case the “panelId” was the problem.
      I don’t know if the problem only occurs in Version 8 from graval or if an configuration misstake in my grafan evironments.
      I delete in MMM-GrafanCharts.js files the panelId in the iframe.src URL and now it works

      posted in Troubleshooting
      B
      Babene1
    • MMM-GrafanaCharts page not found with Grafana 8.0.6

      i want to use the MMM-GrafanaCharts in my MM but page not found.
      I have grafana 8.0.6.
      I have no idea where the error could be. I would be very grateful for a hint.

      PageNotFound.png

      in normal Brpwser the page works, here is the ULR

      URL_inBrowser.png

      Here is my module config

      {
      			module: 'MMM-GrafanaChart',
      				position: 'top_right',   // This can be any of the regions.
      				config: {
      					   version: "8", 
      					   id: "QG8S2mWnk", 
      					   host: "192.168.178.248", 
      					   port: 3000, 
      					   dashboardname: "raspberryklein", 
      					   orgId: 1, 
      					   panelId: 2, 
      					   width: "500px", 
      					   height: "500px", 
      					   refreshInterval: 900 
      				   }
      		   },
      
      posted in Troubleshooting
      B
      Babene1
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      my branch is up to date

      but my result is this screenMMM-soccer_screen.png

      this is my modul-config:

      {
                  module: 'MMM-soccer',
                  position: 'top_right',
                  config: {
                      colored: true,
                      logos: true,
                      rotationInterval: 20 * 1000, // 20 seconds instead of 15 (default)
                      provider: {
                          'football-data': {
                              apiKey: 'API Keay' // Replace with your API key
                          }
                      },
                      competitions: [
                          {
                              code: 'EC', // European championship
                              standings: {
                                  provider: 'football-data',
                                  focusOn: 'GER', // Germany
                                  maxEntries: 5
                              },
                              schedules: {
                                  provider: 'football-data',
                                  maxEntries: 7
                              }
                          },
                      ]
                  }
              },
      

      should not only display the current matchday?

      posted in Sport
      B
      Babene1
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @strawberry-3-141

      thanks for the new version, it’s really great. Great new features.

      However, i have Problem to install the leatest version with „schedules fix“. Unfortunately I am not so familiar with git. Is there a new branch available or have to use „feature/extract-api-provider"?

      posted in Sport
      B
      Babene1
    • RE: Which modules with Home Assistant currently work?

      @coolie1101 do you have an error entry in the home assistant log?

      posted in General Discussion
      B
      Babene1
    • 1
    • 2
    • 3
    • 1 / 3