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 16.9k 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.
    • thgmirrorT Offline
      thgmirror
      last edited by thgmirror

      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.

      bheplerB 1 Reply Last reply Reply Quote 1
      • bheplerB Offline
        bhepler Module Developer @thgmirror
        last edited by

        @thgmirror Are these the people at Cornell? I reached out to these guys to see if I could build a module around their API to show local birds identified through their app. I never got a response from them.

        thgmirrorT 1 Reply Last reply Reply Quote 0
        • thgmirrorT Offline
          thgmirror @bhepler
          last edited by thgmirror

          @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.

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @thgmirror
            last edited by

            @thgmirror - With a little digging, I found the source URL that the map uses. I’m working on a module now. Once I get it going, I’ll see about adding the chart too.

            thgmirrorT 1 Reply Last reply Reply Quote 1
            • thgmirrorT Offline
              thgmirror @bhepler
              last edited by

              @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.

              bheplerB 1 Reply Last reply Reply Quote 0
              • bheplerB Offline
                bhepler Module Developer @thgmirror
                last edited by

                @thgmirror I’m not sure I understand. Their GitHub repository is an analysis application. I’m just planning on a display interface. Only slightly more involved than displaying Dad Jokes.

                If you mean submitting the module to be included in their Showroom section of their GitHub, then certainly.

                Did you mean integrating with the BirdNET-Pi app? That may be possible. But I’m not sure why your mirror would be listening to birds. But there are a lot of odd configurations out there.

                thgmirrorT 1 Reply Last reply Reply Quote 0
                • thgmirrorT Offline
                  thgmirror @bhepler
                  last edited by thgmirror

                  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…

                  1 Reply Last reply Reply Quote 0
                  • bheplerB Offline
                    bhepler Module Developer
                    last edited by

                    It’s coming along. Still much work to do.
                    BirdNET.PNG

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      cyberdie @bhepler
                      last edited by

                      @bhepler Looks good!
                      What a bout showing the last X birds identified with their corresponding pictures gathered from Flicker?

                      thgmirrorT bheplerB 2 Replies Last reply Reply Quote 0
                      • thgmirrorT Offline
                        thgmirror @cyberdie
                        last edited by

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

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          cyberdie @thgmirror
                          last edited by

                          @thgmirror Yes, i know. But showing them in an MM module is an interesting feature IMHO

                          thgmirrorT 1 Reply Last reply Reply Quote 0
                          • thgmirrorT Offline
                            thgmirror @cyberdie
                            last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • bheplerB Offline
                              bhepler Module Developer @cyberdie
                              last edited by

                              @cyberdie - I have an idea. Once I have it implemented I’ll post it and let you guys try it out.

                              C 1 Reply Last reply Reply Quote 1
                              • C Offline
                                cyberdie @bhepler
                                last edited by

                                @bhepler Awesome!

                                thgmirrorT 1 Reply Last reply Reply Quote 0
                                • thgmirrorT Offline
                                  thgmirror @cyberdie
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • L Offline
                                    lmhmm
                                    last edited by

                                    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.

                                    bheplerB thgmirrorT 2 Replies Last reply Reply Quote 0
                                    • bheplerB Offline
                                      bhepler Module Developer @lmhmm
                                      last edited by

                                      @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
                                      • bheplerB Offline
                                        bhepler Module Developer
                                        last edited by

                                        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

                                        thgmirrorT 1 Reply Last reply Reply Quote 0
                                        • thgmirrorT Offline
                                          thgmirror @bhepler
                                          last edited by

                                          @bhepler 404 when I try the link

                                          bheplerB 1 Reply Last reply Reply Quote 0
                                          • thgmirrorT Offline
                                            thgmirror @lmhmm
                                            last edited by thgmirror

                                            @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 Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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