@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.
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-RadioDE will not play
-
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 -
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; } -
RE: Is there a way to temporarily disable a module?
-
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
-
RE: MagicMirror on Pi Zero W Sept 2020
@sdetweil Hi, you are right. My mistake. The installer uses chromium and everything works fine. Sorry
-
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.
-
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. -
[ 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



-
RE: Is it possible to ad an Arduino?
@Shinji0912 Hi, I wrote a module which converts messages received at serial interfaces to notifications (https://github.com/Tom-Hirschberger/MMM-Serial-Notifications). I have two Arduinos connected to my Pi with gesture and distance sensors.
My temperature module (https://github.com/Tom-Hirschberger/MMM-Temperature) can receive notifications to update the values.
Edit: The notification feature is only available in the development branch at the moment. I will mere it to the master the next days.
There are examples integrated which show how to connect an esp32 board with WiFi to get temperature and humidity.
Currently I am working on a module which should use MQTT to control an WS2801 LED Strip. But this one is in a very early state and will take a while to develop.