• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

BirdNET-PI-chart on MM2

Scheduled Pinned Locked Moved Education
35 Posts 5 Posters 9.2k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    lmhmm
    last edited by Aug 23, 2023, 7:54 PM

    Hi,

    I’m interested this and have just set it up on another pi. I am very interested in getting on my mm!

    Shall I wait for the module or how did you get it via Smart Web Display?

    I’m a beginner.

    B T 2 Replies Last reply Aug 23, 2023, 11:47 PM Reply Quote 0
    • B Offline
      bhepler Module Developer @lmhmm
      last edited by Aug 23, 2023, 11:47 PM

      @lmhmm - The key difference will be, IMHO, which data you want to display. If you want to display the chart from the first post from your own BirdNET-Pi installation, then go with the smart web display. My module will display everyone’s BirdNET hits around you, not just your own.

      @thgmirror can probably walk you through setting up the smart web display.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bhepler Module Developer
        last edited by Aug 24, 2023, 3:38 AM

        Okay, version 0.1.0 is ready. I think. Give it a go and let me know if you encounter any problems.

        MMM-BirdNET on GitHub

        T 1 Reply Last reply Aug 24, 2023, 7:55 AM Reply Quote 0
        • T Offline
          thgmirror @bhepler
          last edited by Aug 24, 2023, 7:55 AM

          @bhepler 404 when I try the link

          B 1 Reply Last reply Aug 25, 2023, 2:45 AM Reply Quote 0
          • T Offline
            thgmirror @lmhmm
            last edited by thgmirror Aug 24, 2023, 3:43 PM Aug 24, 2023, 3:06 PM

            @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
            
            L 1 Reply Last reply Aug 24, 2023, 6:33 PM Reply Quote 0
            • L Offline
              lmhmm @thgmirror
              last edited by Aug 24, 2023, 6:33 PM

              @thgmirror Blimey that’s a comprehensive answer!

              I’ll have to go my homework. I appreciate your comprehensive reply.

              Many thanks,

              Lorraine

              1 Reply Last reply Reply Quote 0
              • B Offline
                bhepler Module Developer @thgmirror
                last edited by Aug 25, 2023, 2:45 AM

                @thgmirror - Sorry about that. Somehow, the repository was marked private. I’ve fixed it and it should work for you now.

                L 1 Reply Last reply Sep 3, 2023, 7:14 AM Reply Quote 0
                • L Offline
                  lmhmm @bhepler
                  last edited by Sep 3, 2023, 7:14 AM

                  @bhepler hello, I’ve successfully installed your module MMM-BirdNET and set the map to terrain and my Co ordinates etc.

                  So while I get up a nice map, there don’t seem to be any stations or dots showing at all. Just a map.

                  Also there’s no activity, just a map shows and nothing else.

                  Can you advise?

                  Lorraine

                  B 1 Reply Last reply Sep 6, 2023, 1:52 AM Reply Quote 0
                  • B Offline
                    bhepler Module Developer @lmhmm
                    last edited by Sep 6, 2023, 1:52 AM

                    @lmhmm - Absolutely. Let’s get you fixed up. Could you please post the relevant portion of your config.js? I want to try it on my test system and see if I can duplicate your problem.

                    L 3 Replies Last reply Sep 10, 2023, 7:20 PM Reply Quote 0
                    • L Offline
                      lmhmm @bhepler
                      last edited by Sep 10, 2023, 7:20 PM

                      @bhepler Hello Brian,

                      Please see the map and config. I have updated the module also and my mirror is up to date 2.24

                      Lorraine

                      Err not sure how to add the pictures?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy