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

    Posts

    Recent Best Controversial
    • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      I added a marquee effect for direction descriptions which would be too long for the table width. Unfortunately it renders quite slow on the Pi. The transition of the text is not very fluid, but I think it’s ok if you need the long directions.

      Here is a video of the marquee effect rendered by my computer connected to the mirror via wifi.

      posted in Transport
      BehB
      Beh
    • RE: *NEW LIST 29.06.2021* Two way community order for mirror glass for all european countries - Open until at least 10 people have entered

      @Goldjunge_Chriz

      Hi Chriz, long time no see! I’m building another mirror for a friend. I was one of the first ones to order your glass back in 2016 :D

      Please add another glass to the list with the following properties:

      • Size: 61 x 35,5 cm
      • Polished Edges
      • Shipping to Germany

      (Edit: Can’t remember if sub-cm measures are possible, if not, just round to 36)

      posted in Hardware
      BehB
      Beh
    • RE: Sync private iCloud calendar with MagicMirror

      @ildottore I configured the syncer config to only synchronize calendar events with the property item_types = ["VEVENT"]. The CalDav function only supports the items like "VEVENT" and "VTODO".

      I think, that iOS/macOS does not store the birthdays directly in the calendars but adds the birthdays via the Contacts.app to the Calendar.app.

      Maybe you can achieve showing birthdays by syncing the contacts with vdirsyncer as described in the docs here and somehow extract the birthdays. But I think this would be quite costly…

      Or you can use the MagicMirror module MMM-iCloud-Client maybe…

      posted in Tutorials
      BehB
      Beh
    • RE: Mobile app (bachelor thesis)

      Nice! Thanks!

      Gonna try it tonight.

      Where should I report issues? Do you have a GitHub repo for the app?

      posted in Development
      BehB
      Beh
    • RE: MMM-COVID19-SPARKLINE

      Awesome module! Thank you so much! I was just browsing around on this forum and immediately installed it. Good work.

      posted in Health
      BehB
      Beh
    • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      Hey @done,

      I’ll look into this tomorrow night. maybe this issue can be solved… I’ve got some ideas… I’ll keep you updated!

      posted in Transport
      BehB
      Beh
    • RE: Independent display controller based on PIR sensor.

      Ok, maybe I forgot that in the readme file, or it worked straghtaway on my Pi.
      I’m going to add sudo systemctl enable pir_sensor.service to the readme file!

      thanks for the hint :)

      posted in Utilities
      BehB
      Beh
    • RE: Multiple requests within one function

      As @strawberry-3-141 mentioned, the sendSocketNotification() function is called, before the callback function of your request is execuded and the content of data is created.

      You could either call the sendSocketNotification() function inside the callback function of the request or put the data variable into a promise (which is a much more elegant approach and produces good-readable asynchronous code).

      There are good explanations for promises, just google “promises simple explanation” (or similar).
      I can recommend this one: https://coligo.io/javascript-promises-plain-simple/

      Edit:
      Oh, and I would recommend the Bluebird.js library for promises. http://bluebirdjs.com/

      posted in Troubleshooting
      BehB
      Beh
    • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      To all users of this module:

      The transportation data in the background changed and I added support for this in the module. You should update the module asap.

      You can update it with these commands in the MMM-PublicTransportBerlin-folder:

      git pull
      npm install
      

      The npm install-command is very important, since the vbb-client module needs to be updated to use the new transport API.

      Greetings!

      posted in Transport
      BehB
      Beh
    • Integrate logging framework

      What do you think about using a logging framework like winston (the fork in the link seems to work with electron)?

      I don’t know if my debugging methods are wrong, but currently I’m debugging with a ssh session, having tail -f for error and out logs (or pm2 log) and via web browser console to my mirror’s IP on port 8080 to catch logs from the main application, the node_helper and a fetcher class.

      In my opinion this method kinda inconvenient. I’d like to have all logs (even the ones from fetcher modules and node_helper modules) in one place.

      If anyone has a better debugging method I’d appreciate any help and advice.
      If all of you are doing it like me, I’d start integrating a logging framework for the whole node.js application, which covers global logging over modules and make a PR when ready (and of course if @MichMich wants this).

      What do you think? Or do you have any advices for me?

      posted in Feature Requests
      BehB
      Beh
    • 1
    • 2
    • 3
    • 2 / 3