Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. wishmaster270
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.
    • Profile
    • Following 0
    • Followers 1
    • Topics 10
    • Posts 83
    • Best 17
    • Groups 2

    wishmaster270

    @wishmaster270

    Module Developer

    21
    Reputation
    611
    Profile views
    83
    Posts
    1
    Followers
    0
    Following
    Joined Last Online
    Location Munich - Germany Age 35

    wishmaster270 Follow
    Project Sponsor Module Developer

    Best posts made by wishmaster270

    • [MMM-GPIO-Notifications] Sends notifications based on GPIO events on multiple pins

      Description:

      This module monitores multiple configurable GPIO pins for state changes; if one of the pins changes to the configured state the notifcations which are specified will be send.
      I wrote this module to send “USER_PRESENCE” notifications based on PIR Sensors.

      Download:

      MMM-GPIO-Notifications

      Example:

      I recently added an example on how to connect a HC-SR501 PIR sensor to GPIO4 and send a SCREEN_ON notification to the MMM-Screen-Powersave-Notification module.


      Version 0.0.3

      • it is now possible to send different notifications based on profiles

      Version 0.0.2

      • introduced an delay option which can be used to suppress notifications if they happen to quick after another (PIR-Sensor without option to configure a hold time)

      Version 0.0.1

      • A first version of the module which montiores different GPIO pins and sends notifications based on the events
      posted in Utilities
      wishmaster270
      wishmaster270
    • MMM-MplayerRadio

      Description:

      I use an HifiBerry DAC+ on my mirror to play Spotify and Radio.
      The aim of this module is to provide a simple mechanism to play online radios on the mirror and switch between different stations.
      Because my wife and i like different stations i added profile support as well.
      The module can be controlled either by notifications or touch.
      It uses the Raspian “mplayer” to play “m3u” playlist files my favorite webpage of online radios (http://www.surfmusik.de/) provides. But you can use any m3u file you like.

      Download:

      MMM-MplayerRadio


      Version 0.0.6

      This new Version 0.0.6 provides:

      • the stations now get displayed correctly if scroll is disabled and there are less stations than needed (count of stations before the current station, the current station and the count of stations to display after)

      Version 0.0.5

      This new Version 0.0.5 provides:

      • The module got a total redesign. Instead of old styling with a table a new flexbox layout is used which makes it possible to do a lot more customization via css.
      • There is a new option which can be used to display more than one station before and after the currently active one.
      • There is a new option to enable scrolling (if active all stations will be displayed in a scrollable container).
      • If scrolling is active a new option can be enabled to focus the currently active station even if it has been changed by notification.
      • The streamInfo line can be hidden with a config option new.
      • The initial state feature (yellow radio instead of stations) has been removed.

      As there are a lot of problems with mplayer at the moment i strongly suggest to use the customCommand feature to play the stations with vlc. See the readme for details!

      Version 0.0.4

      • The flickering has been reduced massively.

      Version 0.0.3

      • it is possible to configure a custom script to play the stations. This way it is possible to use in example xmms2 instead of mplayer
      • added an autoplay feature. Simply add the index of the station you want to start automatically after the module started to the new config option “autoplay”. The index starts with 0.
      • reduced the flickering caused by station and profile changes

      Version 0.0.2

      • added buttons to increase/decrease the volume (send notification to MMM-Volume)

      Version 0.0.1

      The initial release provides the following features

      • Using multiple stations and add an logo for each one
      • The stations can be switched by notification or touch
      • Stations either can have no profile (valid for all profiles) or an profile string

      Screenshots

      posted in Entertainment
      wishmaster270
      wishmaster270
    • MMM-SynologySurveillance

      Description:

      This module querys the mjpeg streams of cams connected to Synology Diskstations with the syno api and displays the cams in an column based grid.
      One cam can be displayed in a bigger view. This cam can either be changed by notification or click/touch.

      I use the mjpeg streams because i do not need any other tools to render/display them. The quality is not that good as with RTSP streams but for need the quality is good enough.

      Download:

      MMM-SynologySurveillance

      Screenshots

      Vertical

      Horizontal


      Version 0.0.7

      • the Synology Diskstations throw privilege errors randomly; this is a known bug and caused some cams to disappear although an valid url had been provided at the last refresh; the default behavior now is to ignore this errors and keep the last url or position information; this can be changed with an new config option (skipOnPrivilegeError)
      • if an error occurs during the fetch of the position information of a camera the cam will be displayed without the information; next time the information is provided it will be updated

      Version 0.0.6

      • fixed an issue which caused position (ptz) changes to not work correctly if the internal position index differed to the ones used in the SynologyStation (i.e. because stations got deleted)
      • the view now only will be refreshed if either the cam stream or the ptz information changed after a fetch
      • it is now possible to force a refresh of the cam information by clicking on the dummy icon if no information had been provided previously
      • the PTZ information now only will be fetched if either showPositions or showBigPositions is active

      Version 0.0.5

      • fixed cam streams not updating after connection is to ds or cam is lost
      • fixed update issues of cam positions
      • fixed styles issues if cams with and without positions are mixed

      Version 0.0.4

      • it is now possible to move the cam to positions stored in the ds either by notification or by click/touch
      • the positions can be displayed as squares either only for the big and/or for the small cams
      • if next or prev position notification is called without specifying a cam the big one is used automatically

      Version 0.0.3

      • fixed a bug which caused wrong media URLs if multiple Diskstations are used
      • it is now possible to replace the protocol and host part of the media URLs (http://XXX.XXX.XXX.XXX) with the values configured. The Diskstation returns private IPs although the access is through a public IP otherwise.

      Version 0.0.2

      • Layouting is now organized with flex box layout instead of tables
      • Added two layouts (horizontal, vertical) which can be choosen by configuration
      • Column count of vertical layout now needs to be configured via css

      Version 0.0.1

      • query the urls of cams of Synology Diskstations with the syno api
      • display the cams in an grid based on columns
      • show one cam in a bigger view
      • change the bigger view cam by notification or click/touch
      • display different cams in different profiles
      posted in Utilities
      wishmaster270
      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
      wishmaster270
      wishmaster270
    • RE: PIR sensor to turn monitor off. Nothing works :(

      Hi,
      it depends on your monitor. Maybe there is an option in the monitor configuration menu.
      If not you can configure the MMM-Screen-Powersave-Notification module to only hide all modules and show the black background instead of turning the hdmi off (hideInsteadShutoff option)

      posted in Troubleshooting
      wishmaster270
      wishmaster270
    • [MMM-Screen-Powersave-Notification] A module which (de)activates the screen based on delay and notifications

      Description:

      This module is inspired by https://github.com/mboskamp/MMM-PIR and https://github.com/mboskamp/MMM-PIR but is controlled by notifications;
      Based on “USER_PRESENCE”, “SCREEN_ON”, “SCREEN_OFF” and “SCREEN_TOGGLE” notifications the screen is controlled; By default “vcgencmd” command is used to turn the screen on or off and also to check the current status but it can be changed in the config file;
      After the configured delay (which can be changed during rutime with an “SCREEN_POWERSAVE” notification) the screen will be turned off if no “USER_PRESENCE” notification had been send;
      If needed custom scripts can be run after switching the screen on or off;

      Download:

      MMM-Screen-Powersave-Notification


      0.0.5

      • it now is possible to change to configured profile instead of shutting off the screen

      0.0.4

      • a new config option “hideInsteadOffShutdown” only hides/shows the modules instead of shutting off /on the display; the additional scripts can be used as if shutting down / on

      0.0.3

      • It is now possible to display an countdown if an module position is configured

      0.0.2

      • It is now possible to define different delays for different profiles (MMM-ProfileSwitcher)

      0.0.1

      • Supports “USER_PRESENCE”, “SCREEN_ON”, “SCREEN_OFF”, “SCREEN_TOGGLE” and “SCREEN_POWERSAVE” notifications
      • Scripts can be run after turning the screen on or off (i.e. to (de)activate a microphone)
      • Forced down/up is supported (i.e. to ignore an PIR event)
      posted in Utilities
      wishmaster270
      wishmaster270
    • RE: Stop mm from a touch button

      @harney Hi, I recently had the same problem and wrote a module to exactly do this job (MMM-TouchButton).

      posted in Tutorials
      wishmaster270
      wishmaster270
    • RE: PIR sensor to turn monitor off. Nothing works :(

      @elleclouds Black causes the display to turn off the backlight which saves energy. But it is surely less effective than switching the display to standby mode.

      posted in Troubleshooting
      wishmaster270
      wishmaster270
    • RE: Can't get pm2 to auto launch after reboot

      Hi,
      i had the same problem the last weeks.
      It looks like pm2 creates the startup script for systemd with wrong parameters.
      You should check if there exists a file “/etc/systemd/systemd/pm2-pi.service”
      In my case the file existed but contained the following lines:

      USER=root which should be USER=pi
      Environment=PM2_HOME=/root/.pm2 which should be Environment=PM2_HOME=/home/pi/.pm2
      PIDFile=/root/.pm2/pm2.pid which should be PIDFile=/home/pi/.pm2/pm2.pid

      If the file does not exist you can create it with:
      sudo pm2 startup systemd -u pi

      But you need to check the values again after creating it.
      In the end you can enable the script with:
      sudo systemd enable pm2-pi.service

      The parts in described by @Chris are needed as well

      posted in Troubleshooting
      wishmaster270
      wishmaster270
    • MMM-ProfileControl

      This is an Add-On module to MMM-ProfileSwitcher and is based on MMM-pages and MMM-page-indicator.

      I wanted to be able to specify pages on my mirror but also be able to have different profiles on each page (i.e. i wanted an calendar page where either the events of my wife or my ones are displayed).

      MMM-ProfileControl differs between horizontal profiles (pages) and vertical ones. If you do not specify different vertical profiles the vertical indicator can be hidden and the modules behavior is nearly the same as of MMM-pages.

      The current profile can be changed with different notifications either to a specific horizontal or vertical one or you can iterate through them.

      If you do not like the default icons of the indicators you can change them via configuration.

      The module also keeps track of profile changes that happen through other modules (CHANGED_PROFILE notification).

      Attention: At the moment there are problems with MMM-CalenderExt2. I am already in contact with eouia and i think i found an solution. In my personal setup i use an patched version that works fine.

      Because i only send notifications to MMM-ProfileSwitcher modules that did not work without my module will not work with it.

      Screenshots

      Page One / Profile Two

      Page two / Profile one

      Download

      MMM-ProfileControl


      Currently the following features are implemented:

      • Horizontal and vertical profile support
      • Indicator of the horizontal and vertical profile
      • All icons (horizontal, vertical, separator) can be changed in the configuration
      • Notifications to change either to a direct profile or rotate horizontal and vertical
      posted in Utilities
      wishmaster270
      wishmaster270

    Latest posts made by wishmaster270

    • RE: Wireless temperature sensor module ?.

      @jackyjoy123 Hi, i wrote a Temperature (MMM-Temperature) module that supports multiple sensors. Also the data can be received via notifications or by fetching the data via tcp (with the netcat command).
      Personally i use an HTU21 and BME280 sensors connected to ESP32 and ESP8266 boards. The data will be send to my MQTT Bridge (Mosquitto installed on the same Pi as the mirror). With help of the MMM-MQTTbridge module the values send via MQTT will be translated to notifications which will be send to my module.
      One of my sensors is powerd by a small battery thats why i use the deep sleep mode of the ESP8266 board and only send new values all 10 minutes others are powerd by permanently and send data every 10 seconds.
      All my sketches and some configs are included in the examples directory of the module.

      posted in Hardware
      wishmaster270
      wishmaster270
    • RE: Auto Black Screen (save mode of monitor?) after a few minutes

      @peterpang Hi, you need to run the editor with root privileges “sudo vi …” or “sudo nano …”

      posted in Troubleshooting
      wishmaster270
      wishmaster270
    • RE: Auto Black Screen (save mode of monitor?) after a few minutes

      @peterpang Hi, that’s the right file. Simply add it at the end before the closing "

      posted in Troubleshooting
      wishmaster270
      wishmaster270
    • RE: Auto Black Screen (save mode of monitor?) after a few minutes

      @peterpang Hi, Raspberry OS has an built in feature called screen blanking. Maybe that is the problem. You can disable it by adding a “consoleblank=0” to the line in “/boot/cmdline.txt” and reboot the pi.
      But i did not have this problem in my recent installations.

      posted in Troubleshooting
      wishmaster270
      wishmaster270
    • RE: Auto Black Screen (save mode of monitor?) after a few minutes

      @peterpang Hi,
      sdetweil wrote a script which can be used to disable the screensaver. You may look at GitHub.

      posted in Troubleshooting
      wishmaster270
      wishmaster270
    • RE: which module to listen to the radio on my MM ?

      @rikko14 Hi,
      i wrote a module to play radio streams on the mirror. You can control it either via touch or notification. An autoplay feature is implemented as well. You do not need to display the module to get it active.

      MMM-MplayerRadio

      As there had been a lot of problems with mplayer the last weeks i strongly suggest to use vlc instead. The readme contains an example configuration on howto change to vlc.

      posted in Troubleshooting
      wishmaster270
      wishmaster270
    • RE: Stop mm from a touch button

      @harney Hi, I recently had the same problem and wrote a module to exactly do this job (MMM-TouchButton).

      posted in Tutorials
      wishmaster270
      wishmaster270
    • RE: MMM-MplayerRadio - No sound

      @totofar Hi, there is already a issue open (see here) for this problem. I searched for a solution but three other guys and me could not find the reason. My current suggestion is to install vlc and use the custom command option to specify it as the player. The only disadvantage is that there is no stream info provided.

      posted in Bug Hunt
      wishmaster270
      wishmaster270
    • RE: MMM-MplayerRadio

      @robfer Hi, sure you can. The right class will be “.module.newsfeed”

      posted in Entertainment
      wishmaster270
      wishmaster270
    • RE: MMM-MplayerRadio

      @robfer Hi, normally there is some other module covering the buttons in such cases.
      You can solve this by setting z-index in your custom.css.
      The higher the index the more in the foreground the module will be.

      The following config is part of my custom.css file:

      .MMM-ImagesPhotos, .MMM-ImageSlideshow, .MMM-COVID19, .MMM-Spotify, .MMM-Temperature, .MMM-LEDStripControl {
          z-index: -1;
      }
      
      .MMM-MplayerRadio {
          z-index: 999;
      }
      
      posted in Entertainment
      wishmaster270
      wishmaster270