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
    • 1
    • 2
    • 3
    • 4
    • 3 / 4