r/BirdNET_Analyzer • u/Bird-Report • Jul 11 '24
BirdnetPi + Instagram
I wanted an easy way to share my Birdnet Pi data on Instagram, so I wrote a few python scripts that automatically upload “Bird Reports” to Instagram Reels every night.
The scripts scan the /todays_detections.php?ajax_detections=true data to create the daily bird report.
I’m interested in the bird that chirps first, what species were most active throughout the day and what bird chirps last. And if there is any late night activity like an owl.
Here’s the basic way the scripts work. It scans the detections.php and creates the text for the narration. I send that text over to ElevenLabs API for voice narration. The script then creates an image page for each bird detected. I add a random SUNO AI music track. Then it’s uploaded to Instagram Reels. Each morning, I wake up and watch my “Bird News” on Instagram. It’s wild to see the trends.
https://www.instagram.com/the.bird.report
Just wanted to share what’s possible with all the data that Birdnet collects.
4
u/Edogmad Jul 12 '24
So cool! Would you be willing to share your code?
1
u/Mark_M535 Jul 12 '24
Maybe the MQTT notifications sent to a device and that device counts species/generates graph/photo.
I'm using Home Assistant BirdNET-Pi addon and through Home Assistant Samba share I can access the Birdnet database/graphs as a mapped network drive. Technically through Home Assistant a script could be made to send data to Instagram/FB API.
3
u/MysteriousPromise464 Jul 12 '24
This is awesome, congrats!
2
u/MapleTrust Jul 12 '24
Hi friend. Great job sending bioacoustics to Instagram! MushLove.
2
u/Killzo Jul 17 '24
Neat. Where are you getting the bird images from?
1
u/mynamefromreddit Jul 12 '24
This is incredible, congrats
1
u/RafaWu Jul 12 '24
Love it 😍
1
u/cykio Jul 13 '24
Very cool, would love to see the code for it.
1
u/shibaku73 Sep 25 '24
Would so love to see the code for this for my own birdnet installation.