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

    Posts

    Recent Best Controversial
    • RE: Stop the screensaver!

      I realize how (super) old this topic is, but for anyone who stumbles across it and still dealing with this, xscreensaver really is the easiest solution.

      sudo apt-get install xscreensaver

      Just change the screen saver in there to no screen saver, and you’re sorted.

      posted in General Discussion
      rcollieR
      rcollie
    • RE: Issue with White list IP(s) not working :(

      Nice one.

      posted in Troubleshooting
      rcollieR
      rcollie
    • RE: Changing ipwhitelist prevents Mirror from loading correctly

      @psteimann I’m still not understanding your intent. I’ve posted a solution (really a workaround), so I’m not clear as to whether you’re trying to help solve a problem that I’ve already solved, or if you are asking for help.

      posted in Troubleshooting
      rcollieR
      rcollie
    • RE: Changing ipwhitelist prevents Mirror from loading correctly

      @psteimann I may have misunderstood. Are you asking for help or offering suggestions?

      posted in Troubleshooting
      rcollieR
      rcollie
    • RE: Changing ipwhitelist prevents Mirror from loading correctly

      Mine looks like this:

      var config = {
      port: 8080,
      ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.0/28”, “::ffff:192.168.2.0/28”, “::ffff:192.168.3.0/28”, “192.168.2.219”, “192.168.2.3”, “192.168.2.72”, “192.168.2.78”],

      language: “en”,
      timeFormat: 12,
      units: “imperial”,

      modules: [
      
      posted in Troubleshooting
      rcollieR
      rcollie
    • RE: Hiding temp from the default currentweather.js module

      You’re a legend. Thanks

      posted in Development
      rcollieR
      rcollie
    • RE: Hiding temp from the default currentweather.js module

      Thanks @Mykie1. What would I do to also remove the weather icon?

      posted in Development
      rcollieR
      rcollie
    • Hiding temp from the default currentweather.js module

      Hey gang

      I’ve been banging my head against a wall here. I’ve been trying to get rid of (or at least hide) the current outdoor temp from the default currentweather.js module. I’m still relatively new to java so there’s a point where I go cross-eyed when it comes to something more complex like this one.

      In the end, I want to either add it to the left of the temp in the forecast.io module made by @dmcinnes, or stick it above it.

      I can’t figure out which sections go with which item. Would someone take pity on me and help me understand the breaks in the sections?

      For sake of ease, here’s the guts of the file.
      modedit: code removed to avoid irritating other users

      posted in Development
      rcollieR
      rcollie
    • RE: Changing ipwhitelist prevents Mirror from loading correctly

      Alright… Well… It makes no sense (not that it has thus far anyway) but I was playing with different configurations of ipwhitelist today, and all of the sudden

      var config = {
      		port: 8080,
      		ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.0/28", "::ffff:192.168.2.0/28", "::ffff:192.168.3.0/28", "192.168.2.219"],
      

      worked. The computer I’m working from is the last IP. Literally changed nothing else.

      As far as I can figure just adding mine the the end of the default, for some reason works. Changing anything else (tested by changing it a few more times before coming back to this) broke it again. So this is literally the only way I can get it to work. Which… makes absolutely no sense.

      I’m not going to question it anymore at this point. Just enjoy the fact that its working.

      Maybe this will do something for you too @pingywon Just replace the last IP with your own.

      posted in Troubleshooting
      rcollieR
      rcollie
    • RE: Changing ipwhitelist prevents Mirror from loading correctly

      I’m not running the dev.

      I also tried what you suggested Snille with no change.

      posted in Troubleshooting
      rcollieR
      rcollie
    • RE: Can I use a plasma TV for a MM?

      For me the weight would be an issue. However, you can use a standard TV wall mount to get around it. If you get rid of the exterior casing on the TV you can get a smaller “footprint” when paired with the mirror. Really though, like Sean said burn in will be your biggest enemy here. You could write something to have the modules swap places every now and then to try to prevent it, but given that there isn’t really much motion I think you’d end up regretting it. That said… it’s free. So, I figure you’ve got two options:

      1. It’s a free TV the’s going to be a screen behind a mirror. How worried about it do you need to get… who cares right?

      2. Sell it on Craigslist, Gumtree, eBay, etc and put the funds toward a cheap thinner LCD. That display is a 480 widescreen (from when people mistakenly thought DVD’s were HD and not SD like the VHS replacement they were… so 1995), so I don’t know how much you’d get for it these days. Regardless, money is money.

      posted in Hardware
      rcollieR
      rcollie
    • RE: Is there a solution to sunlight overpowering the display?

      Nothing short of a brighter display, or getting the display closer to the glass to eliminate the small gap. I bought a 40" commercial display on Craigslist for $100―one of the outdoor advertising see it from 6 miles away in direct light kind. I pulled everything out of the casing, and replaced the cabling with longer wires so I could mount the power supply and daughter board that had the inputs vertically against the back of the display. That cut down the weight a TON, and gave a much slimmer profile so I was able to get the screen even closer to the glass.

      posted in Hardware
      rcollieR
      rcollie
    • RE: E-Ink Display

      Unless your E-Ink display emits light (i.e., Kindle Paperwhite, etc) you wouldn’t see anything. Honestly though in my experience they wouldn’t put out enough light to be seen effectively. If anything you’d see a glow. If you do manage to find a really bright display I think the only way you’d be able to use it effectively (maybe) would be to apply a mirror window film directly to the surface, which would probably end up killing the device due to liquid damage.

      Really cool idea though. I think the refresh flash would be the killer for me.

      posted in Hardware
      rcollieR
      rcollie
    • RE: Changing ipwhitelist prevents Mirror from loading correctly

      I can copy and paste the contents of config.js, but the issue occurs on the unaltered sample as well. Any change made to ipwhitelist causes the issue. At present there’s nothing listed―it’s default. So, the issue doesn’t occur. If I change it to:

      var config = {
      port: 8080,
      ipWhitelist: [],

      the issue occurs. It happens with any, and all ip variations. Hence my reason for not copying and pasting each one―it doesn’t matter what I change it to.

      I haven’t looked at the electron logs, because I can’t find them. I assumed they’d be in ~/.config/Electron/ , but they aren’t. Are they located elsewhere, or do they have to be compiled or exported to a file?

      posted in Troubleshooting
      rcollieR
      rcollie
    • Changing ipwhitelist prevents Mirror from loading correctly

      Any changes I make to ipwhitelist prevent (or so it appears) MM from loading. This is true of anything I change it to other than the default. Everything seems to load normally―Pi boots up, desktop loads, launches MM. But, when the screen should load no modules populate. It just sits there… black… taunting me.

      I originally intended to use the whitelist filtering to tie into the Remote Control module, but that loads correctly. I can’t get it to allow access but I think that’s a result of whatever the hell is causing mirror to not load correctly.

      Any thoughts?

      So far I’ve tried every possible configuration, and variation of functioning (or should be) ip addresses, and/or ranges.

      I’ve tried including IPv6

      I’ve loaded a fresh, untouched config.js, made only changes to the whitelist and I get the same result.

      I’ve done everything I can think of short of reinstalling mirror and It’s dependancies.

      posted in Troubleshooting
      rcollieR
      rcollie
    • RE: Not updating after network lost

      The Pi may be turning off the wifi to conserve energy. So, you might need to turn off power management. Here’s a good walkthrough courtesy of modmypi (https://www.modmypi.com/blog/disable-wifi-power-management).

      If you are experiencing drop outs on your wifi interent connection, it could be that your dongle is turning itself off after an idle period. To stop your wifi dongle doing this, we need to disable its power management.

      Either SSH to your Pi, or login to its desktop and open up a terminal.

      First, make a backup of your existing interfaces file:

      sudo cp /etc/network/interfaces /etc/network/interfaces.backup

      Now edit the original interfaces file:

      sudo nano /etc/network/interfaces

      Assuming you haven’t edited this file before all you need to do is delete its entire contents, and copy the following into it:

      auto lo

      iface lo inet loopback
      iface eth0 inet dhcp

      auto wlan0
      allow-hotplug wlan0
      iface wlan0 inet dhcp
      wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
      wireless-power off
      iface default inet dhcp

      The important block of code here is:

      auto wlan0
      allow-hotplug wlan0
      iface wlan0 inet dhcp
      wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
      wireless-power off
      iface default inet dhcp

      So only add that section if you have a custom configuration for any other network interfaces.

      Now exit the nano editor and save your changes:

      Ctrl+x
      Y
      Enter

      Now reboot your raspberry pi:

      sudo reboot

      Once the raspberry pi has rebooted, check that the wifi dongle’s power management has been disabled by typing this command:

      iwconfig

      And checking for: “Power Management:off”

      posted in Troubleshooting
      rcollieR
      rcollie
    • 1 / 1