Now I don't know if I'll get a post out this week! So many edits...Updated some broken links and images. Added how to add the camera entity.
This commit is contained in:
@ -85,7 +85,7 @@ information that is pertinent to your own uses.
|
||||
|
||||
Here is how I've setup my MQTT payload from BirdNET-Pi Settings:
|
||||
|
||||

|
||||

|
||||
|
||||
Here it is in text form:
|
||||
|
||||
@ -304,6 +304,28 @@ For the rest of the mqtt payloads, we need HomeAssistant to create them as they
|
||||
code block to our HomeAssistant configuration file. To be clear, you _do not_ need to add the Wikipedia and Flickr sensors to
|
||||
HA's configuration file!
|
||||
|
||||
## Adding the Camera entity
|
||||
|
||||
Last but not least, we need to add a camera entity to ensure that the `sensor.birdpic` can actually be rendered visually.
|
||||
It's really easy to add this sensor, so this should be quick. Here's how:
|
||||
|
||||
1. In HomeAssistant, navigate to Settings > Devices & Services > Integrations
|
||||
2. Click "+ Add Integration" in the bottom right-hand corner. Alternatively, if you already have a camera integration
|
||||
enabled, look for the "Generic Camera" card and click "Add Entry"
|
||||
3. Name the sensor. In this case, I called it "BirdPicturesfromFlickr" and renamed the entity to `camera.birdnet_flickr`.
|
||||
4. You should now see a "Still Image URL" as the first of a few options on the screen. Enter the following into the still
|
||||
image field: `{{ state_attr('sensor.birdpic', 'image') }}` (This is the sensor we created in AppDaemon with the flickr url
|
||||
as the attribute).
|
||||
5. Stream Source and RTSP transport protocol can both be left blank.
|
||||
6. Authentication - select "digest".
|
||||
7. Username and Password can be left blank.
|
||||
8. Frame Rate - 2
|
||||
9. Leave the rest of the check boxes unchecked and click Submit
|
||||
|
||||
When you now click on the entity, you should see an image!
|
||||
|
||||

|
||||
|
||||
By this point, you should have successfully created 7 new sensors in HomeAssistant. In Part 2 of this article, we'll take a
|
||||
look at Home Assistant, see what these sensors look like, and create a rudimentary dashboard.
|
||||
|
||||
|
||||
@ -47,8 +47,8 @@ but I wanted to get this out there sooner than later!
|
||||
|
||||

|
||||
|
||||
I've include the code for all the cards at the bottom of this post. You can find them [here]{{< ref
|
||||
"birdnet_homeassistant_part2.md#dashboard-yaml" >}}. This dashboard is pretty simple, it brings in almost all of the sensors
|
||||
I've included the code for all the cards at the bottom of this post. You can find them [here]({{< ref "birdnet_homeassistant_part2.md#dashboard-yaml" >}}).
|
||||
This dashboard is pretty simple, it brings in almost all of the sensors
|
||||
we created in the first post and organizes them in an as-pleasant-as-possible view. I'm definitely not a designer, so some of
|
||||
the colors could be worked on...
|
||||
|
||||
|
||||
BIN
content/posts/img/birdnet_camera_entity.png
Normal file
BIN
content/posts/img/birdnet_camera_entity.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 640 KiB |
@ -27,7 +27,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -29,7 +29,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
@ -169,7 +168,7 @@ The best way to do this is by just type e from any screen in the HomeAssistant U
|
||||
Update: 10/11/2023. A huge thanks to Mastodon User e_mobile2014 who found a broken link in this guide and pointed out that I never explained how to get the mqtt sensors into HomeAssistant!
|
||||
What you will need BirdNET-Pi HomeAssistant AppDaemon MQTT Broker (I use Mosquitto) Background In early 2023, at the height of the Raspberry Pi shortage I felt like a king with an extra Rpi laying around, not being used....</p>
|
||||
</div>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 11 min · 2296 words · Me</footer>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 12 min · 2484 words · Me</footer>
|
||||
<a class="entry-link" aria-label="post link to Creating a BirdNetPi Dashboard in HomeAssistant - Part 1" href="./posts/birdnet_homeassistant.html"></a>
|
||||
</article>
|
||||
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
@ -143,7 +142,7 @@ The best way to do this is by just type e from any screen in the HomeAssistant U
|
||||
Update: 10/11/2023. A huge thanks to Mastodon User e_mobile2014 who found a broken link in this guide and pointed out that I never explained how to get the mqtt sensors into HomeAssistant!
|
||||
What you will need BirdNET-Pi HomeAssistant AppDaemon MQTT Broker (I use Mosquitto) Background In early 2023, at the height of the Raspberry Pi shortage I felt like a king with an extra Rpi laying around, not being used....</p>
|
||||
</div>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 11 min · 2296 words · Me</footer>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 12 min · 2484 words · Me</footer>
|
||||
<a class="entry-link" aria-label="post link to Creating a BirdNetPi Dashboard in HomeAssistant - Part 1" href="./posts/birdnet_homeassistant.html"></a>
|
||||
</article>
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -29,7 +29,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
BIN
public/posts/img/birdnet_camera_entity.png
Normal file
BIN
public/posts/img/birdnet_camera_entity.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 640 KiB |
@ -29,7 +29,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -29,7 +29,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -29,7 +29,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
@ -128,7 +127,7 @@ The best way to do this is by just type e from any screen in the HomeAssistant U
|
||||
Update: 10/11/2023. A huge thanks to Mastodon User e_mobile2014 who found a broken link in this guide and pointed out that I never explained how to get the mqtt sensors into HomeAssistant!
|
||||
What you will need BirdNET-Pi HomeAssistant AppDaemon MQTT Broker (I use Mosquitto) Background In early 2023, at the height of the Raspberry Pi shortage I felt like a king with an extra Rpi laying around, not being used....</p>
|
||||
</div>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 11 min · 2296 words · Me</footer>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 12 min · 2484 words · Me</footer>
|
||||
<a class="entry-link" aria-label="post link to Creating a BirdNetPi Dashboard in HomeAssistant - Part 1" href="../posts/birdnet_homeassistant.html"></a>
|
||||
</article>
|
||||
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
@ -128,7 +127,7 @@ The best way to do this is by just type e from any screen in the HomeAssistant U
|
||||
Update: 10/11/2023. A huge thanks to Mastodon User e_mobile2014 who found a broken link in this guide and pointed out that I never explained how to get the mqtt sensors into HomeAssistant!
|
||||
What you will need BirdNET-Pi HomeAssistant AppDaemon MQTT Broker (I use Mosquitto) Background In early 2023, at the height of the Raspberry Pi shortage I felt like a king with an extra Rpi laying around, not being used....</p>
|
||||
</div>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 11 min · 2296 words · Me</footer>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 12 min · 2484 words · Me</footer>
|
||||
<a class="entry-link" aria-label="post link to Creating a BirdNetPi Dashboard in HomeAssistant - Part 1" href="../posts/birdnet_homeassistant.html"></a>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
@ -113,7 +112,7 @@ if (!doNotTrack) {
|
||||
Update: 10/11/2023. A huge thanks to Mastodon User e_mobile2014 who found a broken link in this guide and pointed out that I never explained how to get the mqtt sensors into HomeAssistant!
|
||||
What you will need BirdNET-Pi HomeAssistant AppDaemon MQTT Broker (I use Mosquitto) Background In early 2023, at the height of the Raspberry Pi shortage I felt like a king with an extra Rpi laying around, not being used....</p>
|
||||
</div>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 11 min · 2296 words · Me</footer>
|
||||
<footer class="entry-footer"><span title='2023-09-30 11:21:55 -0400 EDT'>September 30, 2023</span> · 12 min · 2484 words · Me</footer>
|
||||
<a class="entry-link" aria-label="post link to Creating a BirdNetPi Dashboard in HomeAssistant - Part 1" href="../posts/birdnet_homeassistant.html"></a>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
</style>
|
||||
</noscript>
|
||||
<script defer data-domain="selfhosted.rsmsn.co" src="https://analytics.rsmsn.co/js/script.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8VR5M0K20"></script>
|
||||
<script>
|
||||
var doNotTrack = false;
|
||||
|
||||
Reference in New Issue
Block a user