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:
Norm Rasmussen
2023-10-12 16:25:55 -04:00
parent 3643d189ee
commit 0a008b2c45
25 changed files with 58 additions and 35 deletions

View File

@ -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:
![Notification Settings](/posts/img/birdnet_mqtt_settings.png, "MQTT Settings in BirdNET-Pi")
![Notification Settings](../posts/img/birdnet_mqtt_settings.png)
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!
![HomeAssistant BirdNET Camera Entity](../posts/img/birdnet_camera_entity.png)
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.

View File

@ -47,8 +47,8 @@ but I wanted to get this out there sooner than later!
![HomeAssistant BirdNet-Pi Dashboard - Full View](../posts/img/birdnet-homeassistant-dash-full.png)
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...

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB