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

    Posts

    Recent Best Controversial
    • Commercial Smart Mirror?

      Tammax Smart Mirror Hits Kickstarter (video)

      http://flip.it/D_NZmu

      Has anyone seen this? Thoughts?

      posted in General Discussion
      lucallmonL
      lucallmon
    • RE: TV Show Time

      @vicdilou I think you have to have Sonarr running on the same machine as the mirror. Sonarr has to be started via the command line for the ical link to work. It’s working on mine. I just need to figure out how to make it run at boot.

      posted in Requests
      lucallmonL
      lucallmon
    • RE: Physical button

      you guys were no help. lol.

      This is what fixed it: https://www.raspberrypi.org/forums/viewtopic.php?t=68183&p=497867

      posted in Hardware
      lucallmonL
      lucallmon
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @zman3 It’s because there’s no guide. It’s just figure it out yourself. You know this isn’t a well-organized module when you look at how many posts/replies are in it.

      posted in System
      lucallmonL
      lucallmon
    • RE: My First Build, 24 Inch In A Custom Frame

      What mirror did you use? I mean, where did you get the mirror?

      posted in Show your Mirror
      lucallmonL
      lucallmon
    • RE: Physical button

      @Jopyth @KirAsh4 I have two buttons set up–1 to shutdown the pi, and another I was hoping to set it up to run “pm2 restart mm” to restart the MM. I have 2 separate .py scripts, 1 for each. And I edited the /etc/rc.local file to run the scripts at startup. I’m not sure what I’m doing wrong though. Here’s my rc.local file:

      #!/bin/sh -e
      #
      # rc.local
      #
      # This script is executed at the end of each multiuser runlevel.
      # Make sure that the script will "exit 0" on success or any other
      # value on error.
      #
      # In order to enable or disable this script just change the execution
      # bits.
      #
      # By default this script does nothing.
      
      # Print the IP address
      _IP=$(hostname -I) || true
      if [ "$_IP" ]; then
        printf "My IP address is %s\n" "$_IP"
      fi
      
      python /home/pi/.sd_button.py,
      
      python /home/pi/.rs_button.py
      
      exit 0
      
      

      the files .sd and .rs_button.py files are the ones. here is the .py for the shutdown that works on GPIO pin 25 and ground:

      #!/bin/python
      #This script was authored by AndrewH7 and belongs to him (www.instructables.com/member/AndrewH7)
      #You have permission to modify and use this script only for your own personal usage
      #You do not have permission to redistribute this script as your own work
      #Use this script at your own risk
      
      import RPi.GPIO as GPIO
      import os
      
      gpio_pin_number=25
      #Replace YOUR_CHOSEN_GPIO_NUMBER_HERE with the GPIO pin number you wish to use
      #Make sure you know which rapsberry pi revision you are using first
      #The line should look something like this e.g. "gpio_pin_number=7"
      
      GPIO.setmode(GPIO.BCM)
      #Use BCM pin numbering (i.e. the GPIO number, not pin number)
      #WARNING: this will change between Pi versions
      #Check yours first and adjust accordingly
      
      GPIO.setup(gpio_pin_number, GPIO.IN, pull_up_down=GPIO.PUD_UP)
      #It's very important the pin is an input to avoid short-circuits
      #The pull-up resistor means the pin is high by default
      
      try:
          GPIO.wait_for_edge(gpio_pin_number, GPIO.FALLING)
          #Use falling edge detection to see if pin is pulled
          #low to avoid repeated polling
          os.system("sudo shutdown -h now")
          #Send command to system to reboot
      except:
          pass
      
      GPIO.cleanup()
      #Revert all GPIO pins to their normal states (i.e. input = safe)
      
      

      and here is the one that doesn’t work:

      #!/bin/python
      #This script was authored by AndrewH7 and belongs to him (www.instructables.com/member/AndrewH7)
      #You have permission to modify and use this script only for your own personal usage
      #You do not have permission to redistribute this script as your own work
      #Use this script at your own risk
      
      import RPi.GPIO as GPIO
      import os
      
      gpio_pin_number=18
      #Replace YOUR_CHOSEN_GPIO_NUMBER_HERE with the GPIO pin number you wish to use
      #Make sure you know which rapsberry pi revision you are using first
      #The line should look something like this e.g. "gpio_pin_number=7"
      
      GPIO.setmode(GPIO.BCM)
      #Use BCM pin numbering (i.e. the GPIO number, not pin number)
      #WARNING: this will change between Pi versions
      #Check yours first and adjust accordingly
      
      GPIO.setup(gpio_pin_number, GPIO.IN, pull_up_down=GPIO.PUD_UP)
      #It's very important the pin is an input to avoid short-circuits
      #The pull-up resistor means the pin is high by default
      
      try:
          GPIO.wait_for_edge(gpio_pin_number, GPIO.FALLING)
          #Use falling edge detection to see if pin is pulled
          #low to avoid repeated polling
          os.system("sudo reboot")
          #Send command to system to reboot
      except:
          pass
      
      GPIO.cleanup()
      #Revert all GPIO pins to their normal states (i.e. input = safe)
      
      

      it’s essentially the same but it’s in GPIO 18 and ground. Also, I’ve alternated the pin and that didn’t change anything.

      Here’s what my pi currently looks like: https://goo.gl/photos/eJrMh8i9ZZHC4RCr8

      Any thoughts?

      posted in Hardware
      lucallmonL
      lucallmon
    • RE: Physical button

      @Jopyth how do you control multiple buttons? I have 2 connected but I can only get one to work.

      posted in Hardware
      lucallmonL
      lucallmon
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      I have found that this white screen that happens every day essentially freezes the entire Magic Mirror and I have to press CRTL+Q to restart. It doesn’t actually freeze the entire RPi.

      posted in System
      lucallmonL
      lucallmon
    • RE: Phone Notifications

      Has anyone had an issue with filling up your notifications and then no new notifications come through at all?

      posted in Utilities
      lucallmonL
      lucallmon
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @Gunwoody I gave up on it too. The git is not user friendly and there’s no step by step guide. Pit that together and I’ll come back.

      posted in System
      lucallmonL
      lucallmon
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      alt text
      https://goo.gl/photos/dFMRL8JkvE5XWvaN7

      This is what I get when I wake up and the monitor was supposed to go off at night and then turns back on in the morning. This happens every morning. Essentially, the monitor signal cuts but it never actually turns off or enters a low power state as it does when I actually shut down the Pi. This only happens when it’s overnight. When I do a trial off for a few minutes, it doesn’t do it. I think it might be the crappy old monitor, but I don’t know. Any thoughts?

      posted in System
      lucallmonL
      lucallmon
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      @ianperrin @cowboysdude

      posted in System
      lucallmonL
      lucallmon
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      Firstly, thanks for making such an awesome module!

      However, I can get it to work with all of my modules except one… I can’t get it to work with MMM-Instagram. I have it set up just like all of my other modules, but this one just ignores the scheduler script and always runs, never following the code. Here is the module code in config.js:

      		{
      		      	module: 'MMM-Instagram',
      		        position: 'top_right',
      			classes: 'scheduler',
      		        config: {
      				module_schedule: [
      					{from: '0 5 * * 1-5', to: '0 9 * * 1-5'},
      					{from: '0 17 * * 1-5', to: '0 22 * * 1-5'},
      					{from: '0 6 * * 6-7', to: '0 24 * * 6-7'}
      				],
      		                access_token: '//ACCESS_TOKEN//',
      		                count: 200,
      		                min_timestamp: 0,
      		                animationSpeed: 2500,
                      		updateInterval: 12000
      			}
      		},
      
      

      any thoughts? here’s a picture of what it looks like when the scheduler is active: https://goo.gl/photos/K3S6HA7m61j5iSEe8

      posted in System
      lucallmonL
      lucallmon
    • RE: Simple Music Player Module

      Is there a way to link the music directory to a thumb drive instead of having it in the modules folder on the SD card?

      posted in Entertainment
      lucallmonL
      lucallmon
    • RE: Not really a mirror at all - but is really helpful

      Could you please write a more detailed Readme file on how to install and how to make adjustments to MMM-Remote-Control? I’d like to do this for a display in my kitchen as well but I’m a NOOB and some of the stuff you mention just doesn’t make sense to me. Thanks.

      posted in Showcase
      lucallmonL
      lucallmon
    • RE: Modules size

      @cowboysdude thanks for the help. This is actually what worked for me:

       body {
      	cursor: help
       }
       
       .region.top.left {
      	width: 375px
      }
      
      posted in Troubleshooting
      lucallmonL
      lucallmon
    • RE: Modules size

      @cowboysdude could you post a copy of your custom.css file so I can see what you are talking about? Right now, my ‘body’ in the file is blank.

      posted in Troubleshooting
      lucallmonL
      lucallmon
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      Ok. So, I’ve decided to give up on this. The Readme files are not user-friendly. There is no step-by-step guide for install. I originally got very excited about this and if I could see it working, I might still again. However, I’m no programmer; I’m just the end user. So, good luck and let me know if you ever put out a video demo of it working and create a more user-friendly step-by-step install guide.

      posted in System
      lucallmonL
      lucallmon
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      Setting up the AWS IoT service… what support plan to choose? Basic is free right? I’m not paying $30 for developer. Is this even required?

      posted in System
      lucallmonL
      lucallmon
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 5 / 6