MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. KirAsh4
    3. Best
    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: need help with config file

      You might want to read the README on the module:
      https://github.com/MichMich/MagicMirror/tree/master/modules/default/currentweather

      Basically, you need to go get your own API key for that to work.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Choosing mirror. 2 samples

      The only reason I ask is because you can do one of three things here:

      • pick the best reflective mirror and just deal with the lesser light shining through, or
      • use the lighter one and when you want to use it as a mirror, you can either:
        a) turn off all the modules, but the TV remains on, or
        b) turn off the TV all together

      Using the lighter one is contingent on how well it reflects when there’s nothing being displayed or the TV is completely turned off. But if it reflects better, then that may be the way to go.

      I realize the last option may be somewhat annoying but it would work. And turning off the modules is a piece of cake. Or you could even turn off the HDMI output on the rpi, but the TV remains on … although some (most?) TV will then also turn off the screen’s backlight if they don’t detect an HDMI signal. Mine does. It stays on for a few seconds then the backlight turns off. The TV is still on, but the screen is off completely.

      posted in Hardware
      KirAsh4K
      KirAsh4
    • RE: Weatherforecast Wunderground module question

      There shouldn’t be any reason to edit 'defaultmodules.js', that’s only specific to the default modules that MM comes with. Any modules that you install does not go in the default folder, but simply in MagicMirror/modules/<module_name> …

      posted in Development
      KirAsh4K
      KirAsh4
    • RE: Releasing stable

      @MichMich, unfortunately I can’t reproduce that. I’m using my own private Google calendar and it loads just fine.

      posted in Core System
      KirAsh4K
      KirAsh4
    • RE: Can't Get config.js

      The config.js file lives inside of the MagicMirror folder. Look in ~MagicMirror/config/ for a file named 'config.js.sample' and rename that to 'config.js'. Load up your mirror. Once that’s working, you can start customizing it.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Choosing mirror. 2 samples

      Yeah, I definitely like the lighter one better (specially with the TV completely off!), but you need to decide on the reflective property. If it doesn’t suit you (you can’t quite see the mustache hair), then you’ll have to figure something else out.

      posted in Hardware
      KirAsh4K
      KirAsh4
    • RE: Debugging

      For debugging purposes, I sprinkle 'Log.log("...")' statements in my code which I can then see in the console log. For example, in my calendar_monthly module, I have a 'debugging'flag that I can set which then outputs this bit in the console log:

      = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
      CALENDAR_MONTHLY IS IN DEBUG MODE!
      Remove 'debugging' option from config/config.js to disable.
                   Current moment(): 1466399977889 (11:19:37 pm)
      scheduleUpdate() delay set at: 1466402400000
        nextReload should happen at: 1466402400000 (12:00:00 am)
                        which is in: 40 minutes and 22 seconds.
                    midnight set at: 1466402400000 (12:00:00 am)
      = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
      

      That output helped a great deal when I needed to accurately calculate those values (and I couldn’t figure out why the delay I was setting wasn’t right.)

      Having log notifications like that helps. I tend to put them in places where I need to check for a value, or verify that a condition is being met, before the rest of the code continues on. It’s worth nothing that I load the running mirror remotely on my development desktop machine (through Chrome or Firefox) by going to my rpi’s IP and MM’s port. I don’t touch the actual running task on the rpi itself, once loaded, I leave it alone. When I make a change in the code, I can refresh my browser and see the results immediately without affecting the mirror itself. It’s not till I’m certain the code works that I will restart the npm process on the mirror. This has the added advantage that I can see the current running code on the mirror and compare it with what the new/changed code shows on my remote browser.

      As for the height/width part, those are being set in the main CSS file. Because it’s a fluid layout, there is no exact numbers, it’s all calculated at run-time based on the monitor’s resolution. So you’ll have to use the main layout “box” for the position that your module will be in, and then work within that. Setting fixed sizes will cause problems later down the road with folks who don’t have the same resolution as you.

      posted in Development
      KirAsh4K
      KirAsh4
    • RE: Developers running Windows 10.

      Yeah, I saw that too when using Edge. I need to spent some time looking into that, but I’m also working on other code … one thing at a time. :)

      posted in Core System
      KirAsh4K
      KirAsh4
    • RE: Temp suddenly showing 239 degrees

      That’s been in the 'develop' branch. Not pushed to 'master' yet. With this being a “biggie” for everyone who’s running the master branch, perhaps @MichMich might consider pushing it to the master branch sooner rather than later.

      And my apologies earlier for not having spotted it. I always run the develop branch. #livingontheedge :)

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Choosing mirror. 2 samples

      What you see there are laser cut wood pieces. The connectors and light cups are done on an Ultimaker 2.

      posted in Hardware
      KirAsh4K
      KirAsh4
    • 1
    • 2
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 13 / 16