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

    Posts

    Recent Best Controversial
    • RE: Profile switching API

      Just thinking out loud here, but you should be able to have a button that cycles through profiles. It might even be possible to use the current Button module (I forgot who wrote it), and use that. Set up a case switch to change profiles. Something sort of like this:

      // Warning, pseudo code, will not run as-is
      
      var buttonCount = 0;
      var availableProfiles = 2;
      
      if (detect_button_press()) {
        buttonCount++;
        if (buttonCount > availableProfiles) buttonCount = 0;
      
        switch (buttonCount) {
          case 0:
            // Display profile for user 0
            break;
          case 1:
            // Display profile for user 1
            break;
          case 2:
            // Display profile for user 2
            break;
          default:
            // Display default profile
        }
      }
      

      Now you can push the button all day long. The only issue here is that you are cycling through the profiles, and for a household that has several, that can become a bit tedious.

      Another possibility is to count button presses, so you would switch profiles based on how many times one pushed the button, but that too has its limitations. It works great for single-click, double-click, and possibly a long-press, but anything after that and it gets problematic again. Profile cycling is by far the easiest to implement.

      posted in Requests
      KirAsh4K
      KirAsh4
    • RE: Facial Recognition - customize your mirror for every user!

      Take a look at the stock ~/MagicMiror/config/config.js.sample file. That should give you a good start.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: different ports

      Anything is possible, you just have to write the code to do that as it doesn’t exist at the moment.

      posted in Feature Requests
      KirAsh4K
      KirAsh4
    • RE: Dual Calendar feed

      You should be able to have both feeds within the same config section:

      {
          module: 'calendar',
          header: 'Current & Upcoming Events',
          position: 'top_left',
          config: {
              calendars: [
                  {
                      /* US Holidays */
                      symbol: 'calendar-check-o ',
                      url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                  },
                  {
                      /* Google Private Calendar */
                      symbol: 'calendar',
                      url: 'https://calendar.google.com/calendar/ical/[USER]%40gmail.com/[YOUR-PRIVATE-KEY/basic.ics'
                  },
                  {
                      /* Facebook Friends Birthdays Calendar */
                      symbol: 'birthday-cake',
                      url: 'webcal://www.facebook.com/ical/b.php?uid=[USER-ID]&key=[YOUR-PRIVATE-ID]'
                  }
              ],
          }
      },
      
      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Web interface for customization?

      That’s a question for @MichMich. As he mentioned above, he has a module on his to-do list, but it takes time to develop something like that. We all have busy schedules too. Catch-22.

      posted in General Discussion
      KirAsh4K
      KirAsh4
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      That generally means there’s an error and the module isn’t loading properly.

      posted in Sport
      KirAsh4K
      KirAsh4
    • Did you remember to update?

      So ten (11?) days ago I wrote that long tutorial on setting up an rpi3 from pulling it out of the box to having MM² running. At that time I updated everything on the rpi, including the firmware. Booted up that same rpi today only to find another firmware available. This is just a friendly reminder to remember to update your rpi every so often, both the packages through 'sudo apt-get update ; sudo apt-get upgrade' as well as the firmware with 'sudo rpi-update'.

      The latest firmware version is:

      $ /opt/vc/bin/vcgencmd version
      Jun 20 2016 18:13:27 
      Copyright (c) 2012 Broadcom
      version 460b39c674ef2ac89360e15331f97a2cb1388a44 (clean) (release)
      
      posted in Hardware
      KirAsh4K
      KirAsh4
    • RE: raspberry freezes

      They said they’re using a 5V/2.5A adapter. Makes me wonder if the rpi is getting hot. I spent weeks trying to figure out why the monitor connected to the rpi was flashing off and on every so often. Swapped it for a different rpi, same thing, so I figured it’s the monitor. Connected it to a different machine and it worked just fine. Connected the rpi to a different monitor and sure enough, that too started flashing on and off. Even after forcing a higher power signal on the rpi, didn’t fix it. Then I pulled the thing out of the acrylic case it came in and it stopped. The main processor was getting too hot. I’m probably going to redesign the case, 3D print a new one and incorporate a small fan. Should be fun.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: $9 C.H.I.P.

      No, it’s not something I’m actively doing. It was more of a fun evening thing and that’s it. I have other things I need to be doing.

      posted in Hardware
      KirAsh4K
      KirAsh4
    • RE: http request

      Welcome to Javascript security issues.

      posted in Development
      KirAsh4K
      KirAsh4
    • 1 / 1