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

    Posts

    Recent Best Controversial
    • RE: MMM-Remote -Control Known limitations

      @kurt I always wondered, too.
      While this may not solve your problem completely, did you consider removing modules in (reversed) order? This way, no re-order of modules has to be done hence the indices should be ok?! (Not tested)

      posted in Troubleshooting
      A
      Anhalter42
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      @Binog For me, the config looks fine. Just to be sure: you actually replaced “ip” in your URL with the actual IP, did you?

      posted in Utilities
      A
      Anhalter42
    • Android WebView with MM2-serveronly

      I try to display the MagicMirror site (server-only) in an android.webkit.WebView for a small Android-App. Unfortunately, nothing shows up except the black background. In actual browser apps like Chrome for Android or Firefox everything works fine.
      I’m using a no-name low-spec Android tablet with Android-version 4.2.2.
      Are there any Android gurus out there who can help me or has anybody tried to do something similar so far?

      posted in Troubleshooting
      A
      Anhalter42
    • RE: The current installation is 2 commits behind on the master branch.

      @AlexNY007 The description (content of readme) is displayed below of what you posted. However, there is indeed no explicit explanation of the update process. Just navigate into the folder (presumably cd MMM-Todoist), git pull and npm install. That should be sufficient.

      posted in Troubleshooting
      A
      Anhalter42
    • RE: Calendar module fetchInterval

      @cohron Just in case this helps you:
      If you want to change something / contribute to an existing project you have to fork it, change what you want to change and create a Pull-Request (which then gets reviewed and accepted/rejected).
      For developing your own module you just need to create a new project, i think. In case you didn’t see it, there is a handy template module you could use as base.

      posted in Development
      A
      Anhalter42
    • RE: Google home sdk

      @dasam FYI there is already another thread covering this, even though there is not much contribution by now: Using Google Assistant SDK

      posted in General Discussion
      A
      Anhalter42
    • RE: Magic mirror ipcam motorola

      @michael_klatt If it provides some sort of video interface via URL, then maybe you could use the iFrame module

      posted in Troubleshooting
      A
      Anhalter42
    • RE: The current installation is 2 commits behind on the master branch.

      @AlexNY007 It means there is an update ready to download and install. Its up to you if you want to update or not, but usually you want to update, especially on master branch where everything should be stable on release ;)
      Just look into the readme/description of the corresponding module. There you will usually find an explanation of how to update.

      In most cases this includes to cd into the module directory and git pull (sometimes npm install is required, too).

      posted in Troubleshooting
      A
      Anhalter42
    • RE: Calendar module fetchInterval

      @cohron Well… yes. Are you interested in implementing this? If you don’t rename the existing option fetchInterval (instead call the new options overwriteFetchInterval or something), it should be compatible with existing config files and therefore likely to be accepted.

      posted in Development
      A
      Anhalter42
    • RE: Calendar module fetchInterval

      @strawberry-3.141 Thx. Mh usually you are correct, but for example holidays as given in the example config of this module don’t change ever. There is no point in updating this hourly (unnecessary traffic for self and server). Instead, for something like this it would be sufficient to update yearly or even “never” (it updates at start and I guess you usually restart the mirror once a year).

      posted in Development
      A
      Anhalter42
    • RE: Calendar module fetchInterval

      I’m still interested in this. Does anyone know?

      As far as I can tell, no explicit restriction to the fetchInterval is implemented in this module. Assuming my observation is correct, this would imply that the actual max. value for fetchInterval is 2147483647 (~ 24.8 days) according to stackoverflow Why does setTimeout() “break” for large millisecond delay values?.

      posted in Development
      A
      Anhalter42
    • RE: MMM-Traffic does not work after latest update ??

      @ironman_DK said in MMM-Traffic does not work after latest update ??:

      how can I see where the error is in MMMTraffic.js is

      First of all, I’m glad you was able to solve the problem yourself :thumbsup:

      For the future, the line in which the error occurs is printed to the console. “MMM-Traffic.js:36” means you have to check the line 36 in file MMM-Traffic.js.

      posted in Troubleshooting
      A
      Anhalter42
    • RE: MMM-Traffic does not work after latest update ??

      I guess some error occurs within the module. So, it might be helpful to start the mirror with console (npm start dev) and post the related, occurring errors (all errors should be related else you got more problems :D) here.

      posted in Troubleshooting
      A
      Anhalter42
    • RE: resume()

      No intention to complain here, so no reason to argue about that.

      IMO, the two most obvious solutions are

      1. changing the behaviour, i.e. implement a check whether the module was visible before the call
      2. changing the description in the documentation so that it matches the behaviour

      The question is, how do you solve something like this here? Who decides which solution should be preferred and how do I trigger a fix (I dont want to dive into the main core code myself). Do you usually open an issue on github in such cases? Also, the author of this peace of code may have relevant information, but (as usual in open-source projects) its nearly impossible to find out who to contact…

      posted in Development
      A
      Anhalter42
    • resume()

      In the documentation it is stated: When a module will be shown after it was previously hidden (using the module.show() method), the resume() method will be called.

      For me “after it was previously hidden” means, that resume() should only get called when the module was hidden/not visible before and now changes its status to visible. I’ve tried this and it looks like the resume() method gets called even when the module was visible before. I’ve seen this behaviour while using the MMM-ProfileSwitcher. Switching between profiles that contain the same module (among others) triggers resume() on this module.

      (After quickly looking through the code, I’m pretty sure MMM-ProfileSwitcher uses standard .show() and .hide(), so it should be generalizable. If necessary, I can try to make a small minimal example.)

      posted in Development
      A
      Anhalter42
    • RE: Calendar no entries

      thanks both of you

      no bug, just me doing typos. Works like a charm :)
      solved

      posted in Troubleshooting
      A
      Anhalter42
    • Calendar no entries

      I’ve tried to include (local) holidays into the default caledar module. This is the file I want to use: www.ifeiertage.de/he-sk.ics.
      Unfortunately, it shows no entries, without any error message (in the “npm start dev” console). Using the example calendar http://www.calendarlabs.com/templates/ical/US-Holidays.ics or some random calendar like here works fine!

      Is there a reason why the calendar I want to use doesn’t work, while the others do? Or is this a bug?

      posted in Troubleshooting
      A
      Anhalter42
    • Calendar module fetchInterval

      Is the fetchInterval property of the standard calendar module really restricted to Possible values: 1000 - 86400000 like specified in the documentation? If so, two questions:

      1. Where do I find the code restricting it? I couldn’t find it while reading through the code.
      2. Why is it restricted? Is there any reason to limit the update interval at all? (especially, why giving an upper bound? The lower bound is somewhat reasonable…)

      Thx.

      posted in Development
      A
      Anhalter42
    • RE: Calendar Broadcast

      If you are already receiving CALENDAR_EVENTS notifications, you should be able to iterate over the payload of the notification and access the desired properties, because the documentation says “The event objects are stored in an array and contain the following fields: title, startDate, endDate, fullDayEvent, location and geo.”

      So, you could put the names of the persons as title and access them via the title field while iterating through the array. Then, you can show the picture of that person or whatever you want to do.

      If this doesn’t help, I suggest to rephrase your question. What have you already achieved in this context? What did you try that failed at the end (error messages)?

      posted in Development
      A
      Anhalter42
    • 1 / 1