MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. kai
    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 12
    • Posts 36
    • Groups 0

    Posts

    Recent Best Controversial
    • Sequel of MMM-PublicTransportBerlin only displays "Loading..."

      Hi there,
      my MMM-PublicTransportBerlin module refuses to load again. I did all the things of my previous post, but I didn’t succeed.
      But there is a difference this time: when I stop my magic mirror I am able to see some error messages concerning the module saying something like

      • “unhandled promise rejection” and

      • “error while fetching departures: FetchError: invalid json response body at http://bvg-apps-ext.hafas.de/bin/mgate.exe? reason: Unexpected end of JSON input”.

      My magic mirror is up and running, internet connection is available, all other modules are working fine. I didn’t do any changes before the error occurred…
      My NPM version is 6.14 - maybe this is too old?
      Does anyone know what the above error messages mean? What did I do wrong?

      Thank you very much.
      May the code be with you
      -kai

      posted in Troubleshooting
      kaiK
      kai
    • RE: MMM-PublicTransportBerlin only displays "Loading..."

      …thank you very much, @sdetweil :clapping_hands_light_skin_tone:

      posted in Troubleshooting
      kaiK
      kai
    • RE: MMM-PublicTransportBerlin only displays "Loading..."

      …re-install succeeded! I can see the departure dates again. :beaming_face_with_smiling_eyes:

      Thank you @MZ-BER and @sdetweil!
      (How do I add the nice “solved” icon to this issue?)

      May the code be with you
      -kai

      posted in Troubleshooting
      kaiK
      kai
    • RE: MMM-PublicTransportBerlin only displays "Loading..."

      Hi @MZ-BER,
      thanks a lot for the hint. I checked the connection (it’s a wired connection); it’s up and running.

      Maybe I should completely remove the module and re-install it…
      Does anyone know how to remove a module?
      Do I just need to delete the config part and the corresponding directory within the “modules” directory?

      Thank you very much.
      May the code be with you
      -kai

      posted in Troubleshooting
      kaiK
      kai
    • MMM-PublicTransportBerlin only displays "Loading..."

      Hi there,
      the MMM-PublicTransportBerlin module doesn’t update anymore since yesterday (last shown departure times at “my” station were 13:34).
      I restarted my mirror’s Raspi, and I changed the module’s configuration to see if other stations (station IDs) might work but no success. After the restart the module only displays “Loading…”; the update interval is set to 2 minutes. (Both my mirror and all its other modules are up to date and work fine.)
      I checked the BVG-rest API documentation as well as the REST API itself - it works fine using a playground like swagger. Hence it’s obviously not their problem, but mine… ;-)

      Does anybody currently have a similar problem and/or any ideas?

      Any hints appreciated. Thanks a lot.
      May the code be with you
      -kai

      posted in Troubleshooting
      kaiK
      kai
    • RE: MMM-PublicTransportBerlin: update wants to "commit" or "stash"

      @sdetweil Thank you very much!
      Update successful. :white_heavy_check_mark:

      posted in Troubleshooting
      kaiK
      kai
    • MMM-PublicTransportBerlin: update wants to "commit" or "stash"

      Hi there,
      today I wanted to update @Beh’s MMM-PublicTransportBerlin module (via “git pull” and “npm install”).
      The git pull says that it would change the file “package-lock.json”, and I should commit or stash my changes prior to the merge.
      I’ve never had a message like this during previous updates…

      Any hints appreciated. Thanks a lot.
      May the code be with you
      -kai

      posted in Troubleshooting
      kaiK
      kai
    • Highlight single calendar entries?

      Hi there,

      do you know if there is a possibility to highlight / colorize single calendar entries using the default calendar module?

      I have a birthday calendar that contains only all day events and I turned on the config’s “absolute” date mode to prevent displaying information like “in 7 hours” or “since 13 hours” (“urgency” is set to 0).
      I imagine something like “if calendar_date = today then highlight(calendar_date)” so that today’s birthdays of the list are accentuated. :-)

      Any hints appreciated. Thanks a lot.
      May the code be with you
      -kai

      posted in General Discussion
      kaiK
      kai
    • RE: Local .ics file access error

      Thank you very much @ashishtank for sharing this!
      Good to know! :-)

      posted in Troubleshooting
      kaiK
      kai
    • RE: Local .ics file access error

      Thanks a lot @lolo - you made my day!
      That was the crucial point: the modules directory. I now can access the file via url: "webcal://[MM-IP]/modules/file.ics"! :-)
      Thanks a lot again!!!

      posted in Troubleshooting
      kaiK
      kai
    • RE: Local .ics file access error

      Thanks a lot, @lolo
      Unfortunately this does not make any difference… using webcal://... displays “no appointments” within the calendar as well. The MM’s log says “Calendar error. Could not fetch calendar … 404: Not found”.

      posted in Troubleshooting
      kaiK
      kai
    • Local .ics file access error

      Hi there,
      I tried to access a local .ics file with the default calendar module. When I use an external URL within the calendar’s configuration there is no problem - the calendar entries are displayed on my magic mirror.
      If I download the same file and copy it into my magic mirror directory and change the calendar’s configuration to URL: "http://localhost:8080/file.ics" (or URL: "http://IP_of_MM:8080/file.ics") the calendar module does not show any entries. I tried both putting the file into the magic mirror’s root directory (like @Sean mentioned in topic 9092) and putting into a subdirectory (like @Shockwave mentioned in topic 467) but I did not succeed yet.
      When I try to access the file directly by entering the config’s URL into a browser (on another PC within the same network) I always get an error like “cannot get file.ics”; when quitting the magic mirror there are access errors / 404 errors displayed as well.

      Hence to my mind it is some kind of access / authorization error…?!?

      Any hints appreciated. Thanks a lot.
      May the code be with you
      -kai

      posted in Troubleshooting
      kaiK
      kai
    • Module for German "DSB" (electronic bulletin board)?

      Hi there,
      does anyone know if there is a module for the German “Digitales Schwarzes Brett” / DSBmobile (electronic bulletin board for schools)? I couldn’t find one within the 3rd party modules. (Maybe there are some other module sources?)
      I’m sorry I do not have any more information about it, our kids just use the DSBmobile app, and I saw that there is an API.

      It would be great if we could display supply teachers and changes of the class schedule on our magic mirror. :-)

      Any hints appreciated. Thanks a lot.
      May the code be with you
      -kai

      posted in General Discussion
      kaiK
      kai
    • npm patch 6.14.8 -> 6.14.9 ?

      Hi there,
      I’m a newbie here. My magic mirrors run on Raspberrys and have version 2.13. Since a few days I get the hint to update npm:

      npm_update.png

      May I just update npm or do I have to pay attention to something?
      Thank you very much in advance.

      May the code be with you!
      -kai

      posted in General Discussion
      kaiK
      kai
    • RE: MMM-WeasleyClock: authorization error

      @lavolp3 thanks a lot, you made my day!
      That was it… user/password and certificates is too much security. ;-)
      I adjusted the MMM-WeasleyClock’s password configuration and it works!

      posted in Troubleshooting
      kaiK
      kai
    • MMM-WeasleyClock: authorization error

      Hi there,
      I’m a newbie here and I do not know if this is the right place for this post. So please apologize for possibly bothering you…

      I realized my first magic mirror on a Raspi a few weeks ago and it worked instantly without any errors! (Thanks a lot to Michael Teeuw and all of you!!!)
      I was so thrilled that I wanted to setup a second one with just the “Weasley Clock” for my youngsters - no sooner said then done. I set up my own MQTT broker (mosquitto) and installed the MMM-WeasleyClock. The broker is up and running and the installed owntracks apps on our mobile phones have been connected successfully.

      When I start the magic mirror it crashes as soon as I include the MMM-WeasleyClock module. To my mind this is not a magic mirror error because there is no error when I remove the MMM-WeasleyClock module.
      I set up mosquitto with TLS/certificates, ACL and user/passwords. Hence I think that I have a bad configuration of the MMM-WeasleyClock module:

      MMM-Weasley.png

      Please accept my apologies if this is not the the right forum (and close/delete this issue).
      Any hints highly appreciated. Thank you very much in advance.

      May the code be with you!
      -kai

      posted in Troubleshooting
      kaiK
      kai
    • 1 / 1