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

    Posts

    Recent Best Controversial
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      No, will not work. :-(

      posted in Utilities
      B
      Blackmirror
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      Hello,
      ‘default everyone’ has work
      But I can not start the MMM-Radio modul with profil-switch, but that was my idea.
      So, I switch to Profile Radio and the MMM-Radio module will work, all other module are default for everyone.

      Here the MMM-Button Module

       module: 'MMM-Buttons',
                          classes: 'default everyone',
       config: {
      minShortPressTime: 10,
               buttons: [
               {
               pin: 10,
               name: "Radio",
               longPress: {
                        notification: "PROFILE_SWITCH",
                      payload: {action: "default"}},
               shortPress: {
                      notification: "PROFILE_SWITCH",
                      payload: {action: "Radio"}}},
          {
              pin: 11,
              name: "Tagesschau",
              longPress: undefined,
             shortPress: {
                notification: "BUTTON_PRESSED"
               //   payload: {action: "SHUTDOWN"}
              }
          }
      ]
      

      }},

      posted in Utilities
      B
      Blackmirror
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      Hello,
      thanks for the modul,
      but when I start this module my magic mirror get blank.

          {
           module: 'MMM-Buttons',
           config: {
          minShortPressTime: 10,
                   buttons: [
                   {
                   pin: 10,
                   name: "Radio",
                   longPress: {
                            notification: "PROFILE_SWITCH",
                          payload: {action: "Radio_OFF"}},
                   shortPress: {
                          notification: "PROFILE_SWITCH",
                          payload: {action: "Radio"}}},
              {
                  pin: 11,
                  name: "Tagesschau",
                  longPress: undefined,
                 shortPress: {
                    notification: "BUTTON_PRESSED"
                   //   payload: {action: "SHUTDOWN"}
                  }
              }
          ]
      }},
      {
          module: 'MMM-ProfileSwitcher',
          config: {
          }
      },{
          module: 'MMM-RadioDe',
          classes: 'Radio',
          position: 'bottom_left', // This can be any of the regions.
          config: {
                                          // See 'Configuration options' for more$
                                          station: "hr3",
                                          // can be obtained in embed section of $
                                          api_key: 'XXX',
                                          //optional,
                                          height:"92", // in pixel
                                          width:"360", // in pixel
          }},
      
      posted in Utilities
      B
      Blackmirror
    • RE: MMM-PIR-Sensor with RelayPin and execute script

      Yes, the error code says, you have not enought whitespaces before the lines.

      posted in Troubleshooting
      B
      Blackmirror
    • RE: MMM-PIR-Sensor with RelayPin and execute script

      @nogE
      The MMM-PIR-Sensor module have not work at me.

      So i make a new datei this the name PIR.py in my home - ordner.
      And add python PIR.py in the rc.local
      After this was switch the PIR on the GPIO-Pin 13 the relay-pin 37. Add pin 32 i have a button to open the relay manual.

      posted in Troubleshooting
      B
      Blackmirror
    • RE: screensaver will not turn off

      thanks all.
      this works.

      posted in Troubleshooting
      B
      Blackmirror
    • RE: MMM-PIR-Sensor with RelayPin and execute script

      I have build in this python script in tho rc.local

      import RPi.GPIO as GPIO
      import time
      
      
      #Board Mode: Angabe der Pin-Nummer
      GPIO.setmode(GPIO.BOARD)
      
      #GPIO Pin definieren fuer den Dateneingang vom Sensor
      PIR_GPIO = 13
      Relay_GPIO = 37
      GPIO.setup(PIR_GPIO, GPIO.IN)
      GPIO.setup(Relay_GPIO, GPIO.OUT)
      GPIO.output(Relay_GPIO, True)
      GPIO.setup(32,GPIO.IN)
      
      read=0
      wait=0
      ein=0
      button=1
      
      while True :
         #PIR auslesen
         read = GPIO.input(PIR_GPIO)
         button = GPIO.input(32)
      
         if ((read==1 or button==0) and wait==0):
           GPIO.output(Relay_GPIO, False)
           wait=1
           ein=1
           time.sleep(0.5)
         elif ein==1 and button==0:
           ein=0
           time.sleep(0.5)
      
      posted in Troubleshooting
      B
      Blackmirror
    • screensaver will not turn off

      Hello,
      I have install the Magicmirror this the jessie manual,
      but the screensaver is still running after a few minutes.

      Anyone a idea how I can turn off the screensaver function

      posted in Troubleshooting
      B
      Blackmirror
    • MMM-Myvoiceradio with button

      Hello,
      I need help, I will use the MMM-Myvoiceradio module with buttons not this microphon.

      I have make buttone with MMM-Buttons for
      Sender+ to switch to the next sender and
      Sender- to switch to the previous sender
      VolumeUp to make a higher Volumen and
      VolumeDown to make a lower Volumen
      and radiostop for stop the radio.
      And have change the MMM-Myvoiceradio.js
      but nothing works.
      But I muss learn a lot of Javascript

      Module.register(“MMM-Myvoiceradio”,{

      // Default module config.
      // defaults: { text: “

      Sender1: BigFM
      Sender2: Einslive
      ”
      // },

      notificationReceived: function(notification, payload, sender) {
      var self = this;
      Sender = 0;
      If (notification === “Sender+”){
      Sender = Sender+1;
      If (Sender > 2){
      Sender = 1;
      }
      }
      If (notification === “Sender-”){
      Sender = Sender-1;
      If (Sender < 1){
      Sender = 2;
      }
      }

      if (Sender === 1){
      self.sendSocketNotification(‘einslive’, {});
      }
      if (Sender === 2){
      self.sendSocketNotification(‘bigfm’, {});
      }
      if (notification === “VolumeUp”){
      self.sendSocketNotification(‘VolumeUp’, {});
      if (notification === “VolumeDown”){
      self.sendSocketNotification(‘VolumeDown’, {});

      if (notification === “radiostop”){
      self.sendSocketNotification(‘radiostop’, {});
      }

      },

          // Override dom generator.
          getDom: function() {
                  var wrapper = document.createElement("div");
                  wrapper.innerHTML = this.config.text;
                  return wrapper;
          }
      

      });

      posted in Troubleshooting
      B
      Blackmirror
    • RE: MMM-Podcast: omxplayer still running. kill forced

      push down.
      No one can help me?

      posted in Troubleshooting
      B
      Blackmirror
    • 1 / 1