diff --git a/content/posts/birdnet_homeassistant.md b/content/posts/birdnet_homeassistant.md index 04965ae..780b701 100644 --- a/content/posts/birdnet_homeassistant.md +++ b/content/posts/birdnet_homeassistant.md @@ -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. diff --git a/content/posts/birdnet_homeassistant_part2.md b/content/posts/birdnet_homeassistant_part2.md index 0d298ad..96e84bf 100644 --- a/content/posts/birdnet_homeassistant_part2.md +++ b/content/posts/birdnet_homeassistant_part2.md @@ -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... diff --git a/content/posts/img/birdnet_camera_entity.png b/content/posts/img/birdnet_camera_entity.png new file mode 100644 index 0000000..b77a93a Binary files /dev/null and b/content/posts/img/birdnet_camera_entity.png differ diff --git a/public/404.html b/public/404.html index 84799da..f5f69d9 100644 --- a/public/404.html +++ b/public/404.html @@ -27,7 +27,6 @@ -