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: Question about calendar

      In its simplest form:

          config: {
              calendars: [
                  {
                      url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                  },
                  {
                      url: 'https://calendar.google.com/calendar/ical/FILL_IN_YOUR_INFO'
                  },
              ],
          }
      

      To get your Google Calendar link, look in your calendar settings. You want to use the private ICAL address. Note that it will only display what is on the default calendar. The way Google split Birthdays from the default calendar makes it so those don’t show up (and they aren’t providing an ICAL link to the Birthdays one either - this is a major complaint from many.) And if you have multiple calendars created, you need to include each one separately.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: HowTo use different calendar?

      @DirkS, the 'repeatingCountTitle' was implemented by @MichMich (from a PR that a user created, I forgot who.) You may want to ask him.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Local host only shows NGINX server page.

      You need to append the port to the address. By default, MM2 runs on port 8080, so you want to load up 'http://localhost:8080'…

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: npm ERR! file support request

      You need to be inside of the MagicMirror folder for that to work.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Question about calendar

      You can import your Google Calendar into the Calendar module. On mine I have three calendar’s get are being pulled in and displayed: the default US Holidays one, my (private) personal Google calendar, and my Facebook Friends’ Birthdays calendar.

      however, if it’s the actual Google Calendar interface you are looking for, that does not exist … yet. You are welcome to write your own module and implement it, or you can make a module request. If there is enough interest, I’m sure someone will (help) write one.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: PIR-Sensor - put your mirror to sleep if not used

      Let me get home and get you the details on it. It a monitor we had sitting around at the office, some high end graphic Pro monitor that wasn’t being used anymore. I also have a test I want to perform on it, see if that makes a difference in what I’m seeing. Stay tuned.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: PIR-Sensor - put your mirror to sleep if not used

      That’s really odd that you have to go through all of that. On my rPi-3 with the most recent Raspbian Jessie release, I can use 'tvservice -o' and 'tvservice -p' and it just works. I don’t have to do anything else. It’s all running as the unprivileged user 'pi' (and without issuing 'sudo' before each command.) I wonder if it has something to do with the monitor and what it responds with when a signal is sent … Glad you figured it out though.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: readFileSync

      @MichMich said in readFileSync:

      The root argument refers to the root directory from which the static assets are to be served.

      That’s part of the answer I was looking for. Specifically, 'from which the static assets are to be served'. Now to figure out where those are, or where they are allowed to be rather. Basically I’m looking at it from a security stand point. Where is this thing going to allow a user to get to, to fetch a file.

      posted in Development
      KirAsh4K
      KirAsh4
    • RE: readFileSync

      No, it doesn’t have anything to do with the contents. It has to do with where that file resides on the physical system. For example, a request to a default Apache installation will look for a file in '/var/www/html/' or '$USER/public_html' or whatever the system admin has configured it as. In this case, this is a specific request through the Node.js system, being called by MM, so where does it look for that file? Within the user’s folder? Within MM’s installation folder? Within the actual module’s folder? Or does Node.js allow access to the entire file system? So that if I do a call such as:

      this.expressAp.use("/etc/passwd")
      

      will I actually get the contents of the system’s '/etc/passwd' file, or is going to try to read '/path/to/MM-install/etc/passwd' or some other path?

      posted in Development
      KirAsh4K
      KirAsh4
    • RE: readFileSync

      So then the question is still, where is that '/foobar' ? What’s that in relation to? The MM install? The module’s folder?

      posted in Development
      KirAsh4K
      KirAsh4
    • 1
    • 2
    • 62
    • 63
    • 64
    • 65
    • 66
    • 77
    • 78
    • 64 / 78