MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Twenty
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 1
    • Controversial 0
    • Groups 0

    Twenty

    @Twenty

    3
    Reputation
    410
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Twenty Unfollow Follow

    Best posts made by Twenty

    • Putting the Screen to Sleep while Away (No CEC or PIR)

      The monitor I chose wasn’t CEC-HDMI capable, so I was unable to turn on and off the monitor using simple commands. I wanted a way to keep it running while I was around and make sure it was saving power while I was away. I used two modules in conjunction for this: mm-pir-hide-all & MMM-NetworkScanner. I just set the configuration of MMM-NetworkScanner to send the same notification that mm-pir-hide-all expected from its associated PIR module. mm-pir-hide-all doesn’t need to be modified in any way.

      The important change to the recommended module code for the network scanner is in bold below. By doing this, the screen will go blank five minutes after your phone disconnects from your wifi, and it will start up again when your phone reconnects.

      {
              module: 'MMM-NetworkScanner',
              position: 'top_left', 
              config: {
                  devices: [
                          { ipAddress: "github.com", name: "Github", icon: "globe"},
                          { macAddress: "1a:1b:1c:1a:1b:1c", name: "Server", icon: "server"},
                          { macAddress: "2a:2b:2c:2a:2b:2c", name: "Desktop", icon: "desktop"},
                          { ipAddress: "10.1.1.10", name: "Laptop", icon: "laptop"},
                          { macAddress: "4a:4b:4c:4a:4b:4c", name: "Mobile", icon: "mobile"},
                      ],
                  showUnknown: false,
                  showOffline: true,
                  keepAlive: 300,
                  updateInterval: 5,
                  residents: "Mobile",
                  occupiedCMD: **{notification: "USER_PRESENCE", payload: true}**,
                  vacantCMD  : **{notification: "USER_PRESENCE", payload: false}**,
      
              }        
          },
      
      posted in Utilities
      T
      Twenty

    Latest posts made by Twenty

    • RE: Putting the Screen to Sleep while Away (No CEC or PIR)

      Good read! Those solutions still requires a button and/or a relay. My idea is just a minimalist approach to blanking the screen, perhaps if you have personal info on your calendar display. And you never have to think about it again, entirely automated.

      posted in Utilities
      T
      Twenty
    • RE: Putting the Screen to Sleep while Away (No CEC or PIR)

      But then the monitor doesn’t turn itself back on when I get home. So that doesn’t really help.

      posted in Utilities
      T
      Twenty
    • Putting the Screen to Sleep while Away (No CEC or PIR)

      The monitor I chose wasn’t CEC-HDMI capable, so I was unable to turn on and off the monitor using simple commands. I wanted a way to keep it running while I was around and make sure it was saving power while I was away. I used two modules in conjunction for this: mm-pir-hide-all & MMM-NetworkScanner. I just set the configuration of MMM-NetworkScanner to send the same notification that mm-pir-hide-all expected from its associated PIR module. mm-pir-hide-all doesn’t need to be modified in any way.

      The important change to the recommended module code for the network scanner is in bold below. By doing this, the screen will go blank five minutes after your phone disconnects from your wifi, and it will start up again when your phone reconnects.

      {
              module: 'MMM-NetworkScanner',
              position: 'top_left', 
              config: {
                  devices: [
                          { ipAddress: "github.com", name: "Github", icon: "globe"},
                          { macAddress: "1a:1b:1c:1a:1b:1c", name: "Server", icon: "server"},
                          { macAddress: "2a:2b:2c:2a:2b:2c", name: "Desktop", icon: "desktop"},
                          { ipAddress: "10.1.1.10", name: "Laptop", icon: "laptop"},
                          { macAddress: "4a:4b:4c:4a:4b:4c", name: "Mobile", icon: "mobile"},
                      ],
                  showUnknown: false,
                  showOffline: true,
                  keepAlive: 300,
                  updateInterval: 5,
                  residents: "Mobile",
                  occupiedCMD: **{notification: "USER_PRESENCE", payload: true}**,
                  vacantCMD  : **{notification: "USER_PRESENCE", payload: false}**,
      
              }        
          },
      
      posted in Utilities
      T
      Twenty
    • Default Calendar Module Off by a Day

      0_1518324322029_119b0e09-c82d-4736-9d15-abacc5663e24-image.png

      As you can see, everything is a day off. Any suggestions of how to fix this?

      posted in Troubleshooting
      T
      Twenty