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

    Posts

    Recent Best Controversial
    • RE: Calendar - maximumNumberOfDays

      @clumsy_ninja First, I just want to say you sent me down a really interesting rabbit hole.

      At first, I couldn’t get it to work. My development environment has the mirror mounted on the wall and I SSH into the Pi. I run a browser tab in Chrome with the developer options on so I can see the logs. This was surprisingly frustrating as I could not get the maximumNumberOfDays parameter to work. After much thrashing about, I discovered that the only way to get that parameter to work was to restart the mirror process, not just reload the browser page.

      So this configuration in my config.js works:

      {
      	module: 'calendar',
      	header: 'US Holidays',
      	position: 'top_left',
      	config: {
      		maximumNumberOfDays:120,
      		calendars: [
      			{
      			symbol: 'calendar-check-o ',
      			url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics',
      			},
      			{
      			symbol: 'imdb',
      			url: 'https://www.google.com/calendar/ical/pfutdblf1gi8jmfsvroh76f6jg%40group.calendar.google.com/public/basic.ics',
      			}
      		],
      	}
      },
      

      Which is all well and good, but the maximumNumberOfDays would not take effect until I restarted the mirror process: pm2 restart 0. After that, the mirror would show the correct events and refreshing the browser would also show the correct number of events. I’m guessing that the calendar module is creating a calendarfetcher at the beginning of the MagicMirror process and any changes to the config file will only take effect whenever the calendar interval hits (or when you restart the Mirror process). If you make your change and wait for the calendar module to refresh your calendar, your changes to the maximumNumberOfDays should take effect then.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: My mirror finally finished and installed

      @supersook - There are a few tools that can do this. I would recommend a router with a flush trim bit.

      Pull the acrylic out and very carefully lay it along the edge of a scrap piece of wood (a sheet of something would be ideal). The amount you want to remove from the acrylic should overhand the support sheet. Clamp it down good & hard.

      Set the depth so that the bearing rides along the support sheet and the bit trims the acrylic. Go fairly briskly as acrylic likes quick cuts. Slow cuts will have the bit rub against the acrylic and melt it. You may wish to practice on scrap a couple times first.

      posted in Show your Mirror
      bheplerB
      bhepler
    • RE: Bored during Quarantine

      @sgarg15 - I would recommend going through @Mykle1’s modules. Dude is a fiend with finding an API and creating a module around it. Just check out the list. Specifically, look at HumanClock, Lunartic and NatureCalendar.

      Beyond that, I suggest that you spend some quality time with the Modules -> Showcase section of the forums here.

      posted in General Discussion
      bheplerB
      bhepler
    • RE: Sun VS mirror

      FWIW, the professionals at TwoWayMirrors.com sell two way glass specifically for smart mirrors at 30% transparent. I have three of their mirrors and I’m quite pleased with them.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: How to implement specific module?

      @Jeff Installing new modules is a pretty easy process. In general, it goes like this:

      • Navigate to the modules directory at ~/MagicMirror/modules
      • Download the module code using git: git clone [url]
      • Run any commands that the module requires. This will vary by module
      • Update the config.js file to configure the new module. There should be an example in the module readme. sudo nano ~/MagicMirror/config/config.js
      • Restart your mirror so the new configuration will be implemented. npm restart
      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Upgrading Mirror Mark II

      @Cr4z33 - I can do better than guess. I bought it from www.twowaymirrors.com. They have a rep, @twowaymirrors who is on this forum every so often. They were great and I pretty much only use them at this point.

      It’s their 50% transmission model, I think. I’d have to check the receipt.

      posted in Show your Mirror
      bheplerB
      bhepler
    • RE: MM with multiple monitors - is it doable?

      I built a mirror with two monitors in it. I ended up running two separate instances of the Magic Mirror framework. Despite having a PC with the graphics horsepower to do it, I ran into a couple of problems.

      You can definitely stretch one mirror over two monitors. If you’re putting the monitors next to each other behind the frame, this will work somewhat. You’ll still have a line of no pixels straight down the middle of your mirror. So long as you don’t put anything in the center fields, this can work.

      I attempted to run two instances of the Magic Mirror framework from one device. That also resulted in failure. I could not programatically guarantee that each interface would be displayed on a particular monitor. Sometimes it would double up and both would be displayed on the left monitor, sometimes it would work, and sometimes they would both be in the right monitor.

      Now it has two devices running two instances and it works okay. At some point this summer I’m going to add a third monitor and run them all off of their own Raspi.

      posted in General Discussion
      bheplerB
      bhepler
    • RE: How to display the mirror remotely?

      Why aren’t you just hitting the mirror with a web browser? The browser will render the mirror more-or-less exactly as it will be displayed. You won’t be able to use any module with a peripheral, such as a microphone or IP camera. But for layout, fonts and the like it will speed things up immeasurably.

      Add your computer to the ipWhiteList and restart the mirror process. Point your browser at http://[mirror ip address]:8080

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Facial Recognition - customize your mirror for every user!

      @schlachtkreuzer6 Check out the tutorial I wrote for Motion & the mirror. Pretty much the part you’ll have to figure out is how to get a script to update the mirror. Motion can be configured to run a script, save a file, stream a video, etc. from an IP camera. There’s also a streaming server integrated into it, so you could probably put the contents of the IP camera into the stream from motion, and then use an IFRAME to display the stream’s output.

      In my research, I found a lot of information on the Motion software, including a couple that were specifically about running Motion on a Raspberry Pi as a security system. Once you have that configured, the next part is just figuring out how to send an alert to your mirror and how you want to display it.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Upgrading Mirror Mark II

      @hayman - Nope. Three pi, one for each monitor. One of them is acting as a gateway onto our secured network. It brokers the VPN connection and then provides DHCP and internet access to the other two. This way, all three Pi are connected to the internet via some VM in… Sydney, I think. It depends on how they have it configured this week.

      The network is the company product, so the mirror is a constant demonstration. (not that you can tell on the two monitors just playing video, but it’s the thought that counts).

      posted in Show your Mirror
      bheplerB
      bhepler
    • 1
    • 2
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 21 / 26