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 |
Reference in New Issue
Block a user