MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Beh
    3. Posts
    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
    • Beh's Mirror

      Hey guys! Here’s my mirror:

      It’s a mirror with a 27’’ display.

      I wrote a blog post about my mirror here. You can find some more pictures and a more or less detailed explanation of how I built it. :)
      I also added a detailed list of the parts to the blog post and added some links to where I bought them.

      I used WAGO connectors for the wiring - to save space in the body. Here’s a photo from the back side of my mirror:

      0_1478812694949_img_9484.jpg

      Here’s a picture of the final mirror:

      0_1478812579339_img_9493.jpg

      The mirror is right next to the entry door of my flat, so I have alle the necessary informations right there before I leave.

      For detailed information please read the blog post or ask me in this thread. ;)

      Greetings!
      B.

      posted in Show your Mirror
      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
    • RE: Independent display controller based on PIR sensor.

      @bibi No, it’s more like having it added to the autostart (like on windows). Then it’s running as a service in the background, which can be controlled via systemd’s systemctl command.

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

      Example configurations for wiring are shown here:

      http://www.raspberrypi-spy.co.uk/2013/01/cheap-pir-sensors-and-the-raspberry-pi-part-1/

      and here:

      https://www.raspberrypi.org/learning/parent-detector/worksheet/

      I can’t really tell you the jumper and knob configurations, because I’m using a simple sensor like this:
      https://www.amazon.de/Keyestudio-Pyroelektrische-Infrarot-Bewegungssensor-Bewegungs-Sensor-Arduino/dp/B01GCRQJ0Y/ref=sr_1_9?ie=UTF8&qid=1478275900&sr=8-9&keywords=PIR+sensor

      Maybe you look in the PIR HOWTO thread or ask a question there:
      https://www.amazon.de/Keyestudio-Pyroelektrische-Infrarot-Bewegungssensor-Bewegungs-Sensor-Arduino/dp/B01GCRQJ0Y/ref=sr_1_9?ie=UTF8&qid=1478275900&sr=8-9&keywords=PIR+sensor

      posted in Utilities
      BehB
      Beh
    • Independent display controller based on PIR sensor.

      This is not really a module for the MagicMirror application itself, but I wrote it for my own mirror and I want to share it, if anybody has use for it.

      I wanted a turn-off-my-display-control that is independent from the MagicMirror application. It turns off the display after a given countdown time from the last time a motion was detected by a PIR sensor.
      So every time a motion is recognized, the countdown is set to the maximum countdown time. When no motion is noticed for that time, the display is set to sleep. When then a motion is detected, the display is turned on.

      I also provide a systemd service file, if you want to use it as a service.

      If you have use for it, I put it on GitHub:
      [card:deg0nz/MagicMirror-Display-Controller]

      NOTE:
      If you’re looking for an integrated (and probably easier to use) solution, please take a look at paviro’s awesome PIR-Sensor module.

      posted in Utilities
      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: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      Thank you @done :)

      currently, you can’t look for multiple IDs, but:

      Usually, the module gets data for all transportation systems and stations around a main station. For example, if you enter Alexanderplatz, it shows data for the s-bahn, underground, bus and tram stations as well, even if the station IDs for the real tram and bus stations are different than the ID for Alexanderplatz.

      And I think, I don’t get your question right… Can you give me an example? Which stations would you like to have in the radius?

      posted in Transport
      BehB
      Beh
    • 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: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      Thanks :)

      It seems that there exists data by DB, as they are mentioned on the HAFAS website as a costumer here.

      I was able to find a REST API for Deutsche Bahn on programmableweb.com and GitHub.

      Unfortunately it doesn’t seem to have a function to get just the departures. I’ll look into it. Maybe I can just switch the Fetcher for my module and make some tweaks to make it work.

      EDIT:

      OpenLok looks promising, btw.

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

      Hi,

      I wrote a module that shows departures in Berlin and the surrounding state Brandenburg. The module uses a REST API that fetches data from the “Verkehrsverbund Berlin Brandenburg” (VBB). A guy named Jannis Redmann wrote it. So these credits go to him. It provides live data with departure delays. You can have a look at it here.

      You can give a delay time for like “How long does it take to my next station?”. Delay times of the lines are considered and part of the calculation for the delay. A line is drawn at the time now + delay, so the focus is on the departures you’re able to reach in the given delay time.

      It looks like this:

      example from Alexanderplatz

      You can configure how many reachable and unreachable departures should be shown and turn the fading of both parts on and off. Some more options and multiple use of the module are available.

      It’s working for now, but needs some more tests and UI tweaks.

      Download :

      [card:deg0nz/MMM-PublicTransportBerlin]

      posted in Transport
      BehB
      Beh
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 9 / 10