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

    Posts

    Recent Best Controversial
    • RE: MMM-RadioDE will not play

      Hi,

      great if it works. You may want to add an “showStations: false,” to your config. The yellow radio symbol then will be displayed instead of showing the station logos. If you want the module to be invisible you can remove the position option. The module will be functional even if it is not displayed.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MMM-RadioDE will not play

      @Blackmirror Hi, if you like you can give a try to my radio module MMM-MplayerRadio. There are config options to hide most things and there is a autoplay feature.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: "No Signal" message when PIR sensor is triggered

      @steverichab Hi, there are other PIR modules that support hiding out of the box like MMM-NewPIR or mine MMM-Screen-Powersave-Notification.
      My module needs my GPIO module to get triggered. You ca find a complete example here

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Is there a way to temporarily disable a module?

      @BigDanT
      Hi,

      you need another module to get it work: MMM-ProfileSwitcher

      The idea is to define a “normal” class to which all modules do belong that will be displayed if motion is detected. The Slideshow will be in class “slideshow”.
      The Screensave module is configured to not shutoff the monitor but change to the “slideshow” profile.
      If SCREEN_ON is triggered the Screensave module will change back to the profile that was used before the screensave (in our case “nomal”).

      I updated the config example to do the job (but i could not test it at the moment):

      var config = {
          address: '0.0.0.0',
          electronOptions: {},
          ipWhitelist: [],
          modules: [
      
              //Screen on & off timer{
              {
                  module: 'MMM-ModuleScheduler',
                  config: {
                      notification_schedule: [
                          // TURN THE MONITOR/SCREEN ON AT 07:30 EVERY DAY
                          {
                              notification: 'SCREEN_ON',
                              schedule: '00 07 * * *',
                              payload: {
                                  'forced': true
                              }
                          },
                          // TURN THE MONITOR/SCREEN OFF AT 22:30 EVERY DAY
                          {
                              notification: 'SCREEN_OFF',
                              schedule: '30 22 * * *',
                              payload: {
                                  'forced': true
                              }
                          },
                      ]
                  }
              },
      
              {
                  module: 'alert',
                  config: {},
                  classes: 'normal'
              },
      
              {
                  module: 'updatenotification',
                  position: 'top_bar',
                  config: {
                      ignoreModules: []
                  },
                  classes: 'normal'
              },
      
              {
                  module: 'clock',
                  position: 'top_left',
                  config: {},
                  classes: 'normal'
              },
      
              // top Right Calenar
              {
                  module: 'calendar',
                  header: 'Family Calendar',
                  position: 'top_left',
                  config: {
                      calendars: [{
                              symbol: 'calendar-check',
                              url: 'https://calendar.google.com/calendar/ical/xxx.ics',
                          }
                      ],
                  },
                  classes: 'normal'
              },
      
              // Weather Section
              {
                  module: 'currentweather',
                  position: 'top_right',
                  config: {
                      location: 'UK',
                      locationID: 'xxx',
                      appid: 'xxx',
                  },
                  classes: 'normal'
              }, {
                  module: 'weatherforecast',
                  position: 'top_right',
                  header: 'Weather Forecast',
                  config: {
                      location: 'false',
                      locationID: 'xxx',
                      appid: 'xxx',
                  },
                  classes: 'normal'
              },
      
              //Screencast
      
              {
                  module: 'MMM-Screencast',
                  position: 'bottom_right',
                  config: {
                      position: 'center',
                      height: 600,
                      width: 800,
                      castName: 'MagicMirror',
                  },
                  classes: 'normal'
              },
      
              
              //PLex Slideshow
              {
                  module: 'MMM-PlexSlideshow',
                  classes: 'Digital-Pictureframe',
                  position: 'fullscreen_above',
                  config: {
                      plex: {
                          hostname: '192.168.1.123',
                          port: 32400,
                          username: 'xxx@xxx.com',
                          password: 'password',
                      },
                      transitionImages: true,
                  },
                  classes: 'slideshow'
              },
      
              //MM Remote Control
              {
                  module: 'MMM-Remote-Control',
                  header: '',
                  config: {
                      customCommand: {},
                      customMenu: 'custom_menu.json',
                      showModuleApiMenu: true,
                      apiKey: ''
                  }
              },
      
              //News Headlines
      		{
                  module: 'newsfeed',
                  position: 'top_bar',
                  header: '',
                  config: {
                      feeds: [
                          {
                              title: 'BBC News',
                              url: 'http://feeds.bbci.co.uk/news/rss.xml'
                          }
                      ],
                      startTags: [],
                      endTags: [],
                      prohibitedWords: []
                  },
                  classes: 'normal'
              },
      
              {
                  module: 'MMM-GPIO-Notifications',
                  config: {
                      '4': {
                          gpio_state: 1,
                          gpio_debounce: 0,
                          delay: 30000,
                          notifications: [{
                                  notification: 'SCREEN_ON',
                                  payload: {
                                      'forced': false
                                  }
                              }, {}
                          ]
                      }
                  }
              },
              {
                  module: 'MMM-Screen-Powersave-Notification',
                  config: {
                      delay: 60,
                      hideInsteadShutoff: true, //do not shutoff the screen
                      changeToProfile: "slideshow" //change to this profile instead of hiding the modules
                  }
              },
              {
                  module: 'MMM-ViewNotifications',
                  position: 'bottom_left',
                  header: 'Notifications',
                  config: {
                      timeout: 0,
                      format: '{time}: "{module}" sent "{notification}" with {payloadData}', // See below for configurable options
                      includeModules: ["MMM-GPIO-Notifications", "MMM-Screen-Powersave-Notification"]
                  },
                  classes: 'normal'
              },
              {
                  //https://github.com/tosti007/MMM-ProfileSwitcher
      			module: "MMM-ProfileSwitcher",
      			config: {
      				defaultClass: "normal",
      				ignoreModules: [
                          "MMM-ModuleScheduler",
                          "MMM-Remote-Control",
                          "MMM-GPIO-Notifications",
      				],
      			}
      		},
      
          ]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {
          module.exports = config;
      }
      
      posted in General Discussion
      wishmaster270W
      wishmaster270
    • RE: Is there a way to temporarily disable a module?

      @BigDanT Hi, sorry but I don’t use the modules in exact this configuration so I do not have a config that contains all parts. But I included an example folder to my GPIO module which contains instructions of how to setup an PIR. Maybe it is a good start: examples

      posted in General Discussion
      wishmaster270W
      wishmaster270
    • RE: Is there a way to temporarily disable a module?

      Hi,

      I use profiles to implement pages on my mirror. I also modified my screensaver module MMM-Screen-Powersave-Notification to change to a specific profile instead of hiding the modules or shut off the screen. So it should be possible to just configure the behavior you like instead of coding stuff.

      Edit: Just saw that the code had been in the development branch and not in the master. Drafted a new release a few minutes ago.

      The module also supports changing the timeout during runtime or disable screensave

      posted in General Discussion
      wishmaster270W
      wishmaster270
    • RE: MagicMirror on Pi Zero W Sept 2020

      @sdetweil Hi, you are right. My mistake. The installer uses chromium and everything works fine. Sorry

      posted in General Discussion
      wishmaster270W
      wishmaster270
    • RE: MagicMirror on Pi Zero W Sept 2020

      @sdetweil Hi, I tried the script today to install an Mirror on an Pi Zero W. The electron installation fails. As of http://emmanuelcontreras.com/how-to/how-to-create-a-magic-mirror-2-with-pi-zero-w/ this can be fixed with “npm install - arch=armv7l”. After this fix everything seems to work now.

      posted in General Discussion
      wishmaster270W
      wishmaster270
    • RE: Looking for a European weather provider

      Hi, if you are still interested…
      I currently use the free Weatherbit api to display German weather in the NOOA3 module.

      posted in Development
      wishmaster270W
      wishmaster270
    • [ MMM-LEDStripControl ] - Control a LED strip with optional Pong game support

      Description:

      This module controls a led strip (in my case a WS2801 strip with 160 leds or an WS2813 strip with 300 leds) with notifications that are converted to MQTT messages with help of the module MMM-MQTTbridge of sergge1 ([https://github.com/sergge1/MMM-MQTTbridge]). The led strip will be controlled with a Python based script that runs on a second Raspberry Pi which is connected to the network and registers to the MQTT topics. The different configuration options of the led strip are grouped into element groups. It is possible to hide unneeded groups. The current active element is marked with an red square. The active element can be changed either by touch or notification. Also the values can be changed by notification or touch. The touch icons provide two different steppings for up and down.

      The Python script supports the pong game. If the second button is pressed within a configured interval after the first one the pong mode starts. An running light will be initiated and the two players need to press their button in the moment the running light reaches their end of the strip. If the players hit the button to early or late the other player gets an hit. After an configurable amount of games the final result will be displayed and the strip changes back to normal mode. Each time the running light turns around it gets faster.
      This script is provided within the following repository: PythonLedControl. It currently supports all WS2801 and WS281X strips.

      Download:

      MMM-LEDStripControl
      [card:Tom-Hirschberger/MMM-LEDStripControl]


      Version 0.0.3

      • prefixed all CSS classes with the module name
      • fixed all issues reported by the new automatic module scanning script developed by @KristjanESPERAN

      Version 0.0.2

      • Multi-Instance-support
      • Fixed a issue which caused config values to be send in a wrong format
      • added examples of howto control led strips with ESP8266 or ESP32 micro controllers

      Version 0.0.1

      The initial release provides the following features

      • All elements are included to change the output state, color and pong game options of an led strip either with notifications or via touch elements
      • The to be displayed elements can be configured
      • The initial values, the steppings and the minimum values and maximum values can be configured
      • The module will react to configuration changes of the led strip
      • The layout is based on flexbox and can be changed easy in CSS

      Screenshots

      posted in Utilities
      wishmaster270W
      wishmaster270
    • 1 / 1