MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. thgmirror
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.
    • Profile
    • Following 0
    • Followers 1
    • Topics 12
    • Posts 130
    • Best 15
    • Controversial 0
    • Groups 0

    thgmirror

    @thgmirror

    17
    Reputation
    65
    Profile views
    130
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    thgmirror Unfollow Follow

    Best posts made by thgmirror

    • RE: [SOLVED] Displaying part of a website (Google Sheets Graph)

      Hi Simon,
      create a local html-file at the modules folder with the following content:
      f446e745-f8c1-4571-b08e-bca81be50bc9-image.png

      Name it as you like (mychart.html for example) and add the path to MMM-SmartWebDisplay instead of the URL you entered before:

      url: [“/modules/mychart.html”],

      Play around with the red-marked values…the exact data depends on the browser in use.
      This way is much easier than to adjust it directly in MMM-SmartWebDisplay.

      Greetings
      Thomas

      posted in Troubleshooting
      thgmirror
      thgmirror
    • RE: Help with framing!

      I asked a local kitchen-dealer for an old door of a kitchen cupboard with glass insert for my dashboard.
      Nobody would identify it as an old door if they don’t know the former use.

      posted in General Discussion
      thgmirror
      thgmirror
    • RE: PIR Sensor: false positive detections

      @stefan723 May be, a so called “Step Down” resp. “Step Up”-resistor is needed. The PI has built-in Step Down/Up functionality.
      The issue may arise due to interferencies from other parts around the sensor and the PI. First follow the idea of @Stefan723 and try to use short cables.
      Use Google to search for “Step Down/Up and Raspberry PI”.

      But I’m a programmer…not an electrician:-)

      posted in Hardware
      thgmirror
      thgmirror
    • RE: MMM-SORT still needs API key ?

      @sdetweil yes, I tried it but the parameter (margin/width/high etc.) drives me crazy…it was much easier for me to create a local html. And it is not time-critical. updating every 24 hours will be enough.

      Thomas

      posted in Troubleshooting
      thgmirror
      thgmirror
    • RE: Auto power on and off

      @natebrown enter crontab -e at the prompt and insert the data garbieflux mentioned.
      If you struggle with the syntax, you can use several internet-pages to define the rules:
      https://crontab-generator.org/
      or
      https://crontab.guru/ for exapmle

      I use
      @reboot sudo sh -c ‘echo none > /sys/class/leds/led0/trigger’
      @reboot sudo sh -c ‘echo 0 > /sys/class/leds/led0/brightness’
      @reboot sudo sh -c ‘echo none > /sys/class/leds/led1/trigger’
      @reboot sudo sh -c ‘echo 0 > /sys/class/leds/led1/brightness’
      to turn off the LEDs at my RPI 3+

      Btw, an # at the beginning of the line marks it as a comment.

      Or use a time-switch to turn on and off the whole construction.

      Thomas

      posted in Development
      thgmirror
      thgmirror
    • RE: [Default clock] Incorrect week number

      @sdetweil I just wanted to help @p1lspeda and to give a working example.

      posted in Bug Hunt
      thgmirror
      thgmirror
    • RE: PIR Sensor: false positive detections

      Didn’t I said, I’m not an electrician?
      It is not a step-down/up … it is called Pull-Up, resp Pull-Down.
      Please see here for detailed (german) explanation: https://www.elektronik-kompendium.de/sites/raspberry-pi/2006051.htm

      posted in Hardware
      thgmirror
      thgmirror
    • BirdNET-PI-chart on MM2

      Hi all,

      just want to spread this interesting citizen science project to this community: https://github.com/mcguirepr89/BirdNET-Pi
      Based on the sound birds make, they are identified and counted. I remember, some of you are fans of hummingbirds.

      I installed it at an extra RPI4 and managed to display the main diagram at my RPI3-dashboard:
      0f367496-98ea-46b2-b489-eb2e488e195e-image.png

      It is NOT a modul, just show a picture with Smartwebdisplay.

      posted in Education
      thgmirror
      thgmirror
    • RE: MMM-PublicTransportHafas does not update departure times after startup

      @Hinge for me it runs perfect.

      posted in Troubleshooting
      thgmirror
      thgmirror
    • Temperature of a RPI3

      Hi all,

      I made some investigations about the temperature of my PI…

      1. without any cooling - around 52 degrees Celsius
      2. with a heatsink from an old PC stuck with cable ties - around 42 degrees Celsius
      3. with heatsink and a fan, also from my old PC - around 30 degrees Celsius
        df5ca236-67ca-4e41-bf9b-db34b4db0961-image.png
        May be this is interesting for someone who use a PI in a close frame.
      posted in Hardware
      thgmirror
      thgmirror

    Latest posts made by thgmirror

    • RE: BirdNET-PI-chart on MM2

      @lmhmm
      Currently, I’m using an RPI4 with BirdNET-Pi outside in the garden and an RPI3b as MM2. Both are in the same WIFI-net. Best is to use the standard-installation of BirdNET-Pi and to use the recommended names.

      1. install MMM-EasyPix at MM2
      2. add MMM-EasyPix to your config.js with birdnet.png as the name of the picture
      3. add the following code to a file called
        makedownloadbirdnet.py at the root-folder of MM2
        sudo nano makedownloadbirdnet.py
      #!/usr/bin/python
      # coding:utf-8
      #
      import os
      import urllib.request
      import datetime
      
      current_date = datetime.date.today()
      
      url = "http://birdnetpi.local/Charts/Combo-"  + str(current_date) + ".png"
      nix = "/home/pi/MagicMirror/modules/keinbild.png"
      out = "/home/pi/MagicMirror/modules/MMM-EasyPix/pix/birdnet.png"
      
      # Prüfen, ob es bereits eine Datei out im Verzeichnis gibt
      if os.path.exists(out):
      #   alte Datei löschen
          os.remove(out)
      
      # Herunterladen der Datei
      try:
          urllib.request.urlretrieve(url, out)
      except:
          os.system(f'cp "{nix}" "{out}"')
      
      1. Create a small picture with a hint, that a chart is not available, name it keinbild.png and store it in the modules-folder at MM2.
      2. Create a cronjob at MM2:
      * * * * sudo python3 makedownloadbirdnet.py
      
      posted in Education
      thgmirror
      thgmirror
    • RE: MMM-PublicTransportHafas does not update departure times after startup

      @Hinge for me it runs perfect.

      posted in Troubleshooting
      thgmirror
      thgmirror
    • RE: BirdNET-PI-chart on MM2

      @bhepler 404 when I try the link

      posted in Education
      thgmirror
      thgmirror
    • RE: MMM-BirdNET

      @bhepler 404 when I try the link

      posted in Education
      thgmirror
      thgmirror
    • RE: BirdNET-PI-chart on MM2

      @cyberdie May be @bhepler can catch the pictures from BirdNET directly…

      posted in Education
      thgmirror
      thgmirror
    • RE: BirdNET-PI-chart on MM2

      @cyberdie @bhepler
      BirdNET-Pi itself offers pictures of the birds:-)

      posted in Education
      thgmirror
      thgmirror
    • RE: BirdNET-PI-chart on MM2

      Hi @bhepler,
      during installation for BirdNet-Pi at paragraph 25 you are asked to request a BirdweatherID to partizipate in a worldwide citizen sience. That was my idea…

      posted in Education
      thgmirror
      thgmirror
    • RE: BirdNET-PI-chart on MM2

      @bhepler If possible, can you implement to be part of the BirdNet-project? The goal of BirdNet is to collect data for their research. It would be nice not only see what kind of birds are around but also support the citizem sience.

      posted in Education
      thgmirror
      thgmirror
    • RE: BirdNET-PI-chart on MM2

      @bhepler I don’t really know who is there in the background, but if you look at the “about us” page at the smartphone-app, there is an email-address ending with “cornel”.
      May be they are very busy because I use the PI-version since one week and the gui changed two times…
      For me, it is enough to show the main-chart. BirdNet-Pi generates this chart as a png periodically. It may also be possible to change their used css to align the outcome more MM2-like, but I’m fine with it like it is.

      posted in Education
      thgmirror
      thgmirror
    • BirdNET-PI-chart on MM2

      Hi all,

      just want to spread this interesting citizen science project to this community: https://github.com/mcguirepr89/BirdNET-Pi
      Based on the sound birds make, they are identified and counted. I remember, some of you are fans of hummingbirds.

      I installed it at an extra RPI4 and managed to display the main diagram at my RPI3-dashboard:
      0f367496-98ea-46b2-b489-eb2e488e195e-image.png

      It is NOT a modul, just show a picture with Smartwebdisplay.

      posted in Education
      thgmirror
      thgmirror