MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. wishmaster270
    3. Best
    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: 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
      wishmaster270W
      wishmaster270
    • RE: Magic Mirror Module Development - Powershell embeded

      @nkc Hi,

      i think you can use my MMM-CommandToNotification module to call the script periodically and send it’s output as a notification.
      You then can use my MMM-ValuesByNotification module to display the value of the notification.

      posted in Development
      wishmaster270W
      wishmaster270
    • MMM-Temperature

      Description:

      This is a simple module which uses external scripts as data source to display the temperature and humidity of different sensors.
      As i use an HTU21 sensor a script to read the values is included already. There scripts to read data of DHT11, DHT22, BME280, DS18B20 included as of version 0.0.2.

      Download:

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


      Version 0.0.10

      • added a wrapper script to call the Python scripts within a virtual environment
      • updated the instructions and default values to use the new wrapper script

      Version 0.0.9

      • added support for SHTC3 sensors

      Version 0.0.8

      • use spawnSync instead of execSync to call the scripts now. execSync caused “Error: write EFAULT” exceptions so this change was necessary

      Version 0.0.7

      • The values send via notification now can be parsed if they are in JSON version 5 format, too

      Version 0.0.6

      • the bme280 scripts now supports setting the I2C address via command line

      Version 0.0.5

      • additional values like wind speed, uv and rain can be displayed now
        
      • modified some of the examples to get a more reliable wifi connection on the esp32 boards and added a new example
        

      Version 0.0.4

      This new version 0.0.4 provides the following features:

      • the values of sensors no can be updated in a single notification which has an json structure as payload. if the keys “temperature_c”, “temperature_f” or “humidity” are present the values get updated. if either “temperature_c” or “temperature_f” is missing but the other one is present the missing value is calculated automatically.

      Version 0.0.3

      This new version 0.0.3 provides the following features:

      • it is now possible to specify a useValueCnt for each sensor. If the sensor provides data less periodically than the updateInterval (i.e. because the sensor sends the data via MQTT less frequently) the data can be used multiple intervals before it gets invalidated and “na” will be displayed.
      • added an example of howto provide data of an DHT11 (or DHT21, DHT22) sensor connected to an ESP8266 board which uses MQTT and deep sleep.
      • added an example of howto provide data of an DHT11 (or DHT21, DHT22) sensor connected to an ESP8266 board which uses plain tcp

      Version 0.0.2

      This new version provides the following improvements:

      • The values of sensors now can be updated via notification now.
      • It is possible to hide the temperature and humidity section for either all sensors or specific ones.
      • There are now scripts included to read values of DHT11, DHT22, BME280, HTU21 or DS18B20 connected to the Raspberry Pi.
      • There are different examples of howto read values of sensors connected to micro controllers via plain TCP or MQTT (with help of the MMM-MQTTbridge module).
      • As every wrapper now gets specific css classes assign you can customize the colors more easy

      Version 0.0.1

      The initial release provides the following features

      • read temperature of sensors by calling scripts with arguments
      • multiple sensors with different data scripts can be added
      • sensors can be displayed with or without name
      • an example script to read the data of an HTU21 sensor attached to the I2C bus of the raspberry is included and will be used as default data source
      • an example of how to connect an HTU21 sensor to an ESP32 micro controller with build-in wifi is included also

      Screenshots

      posted in Utilities
      wishmaster270W
      wishmaster270
    • 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: electron-rebuild problems with MagicMirror 2.22.0

      @KristjanESPERANTO
      The problem with installing it in the module directory is that we need to compile the library against the electron version installed in the MagicMirror project.
      If electron-rebuild is installed in the module directory it might fail to detect the right electron version (which was the cause of the rebuild problems in the past).
      So the right way is to install electron-rebuild in the same project as electron and call it from there.

      It might be worth to think about adding it as a dependency in the main project.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Hi,
      i developed MMM-MplayerRadio a couple of years ago. It still should be functional.

      posted in Entertainment
      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
    • RE: Motion Sensor/PIR

      Hi,

      i wrote an complete example recently and added it to my module:
      HC-SR501 PIR Example

      I translated it to german language as well: HC-SR501 PIR Beispiel

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      @KristjanESPERANTO

      I have a docker installation running for development here on my notebook.
      Everytime a module needs “npm install” I exec to the container and run the command in the container cause there will be called the correct npm and node version in the container and not the ones I currently use on my notebook.
      In this case the directory structure is the same as with a locally installed MagicMirror and the postinstall script will work as excepted.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @wishmaster270 If you do a right click on the speaker symbol you can decide where to output the sound:

      speaker.png

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 3 / 7