Home assistant #3
Replies: 7 comments 29 replies
-
What did you have in mind? It would be pretty straightforward to send out MQTT messages with detections - would that be a good first step? |
Beta Was this translation helpful? Give feedback.
-
Thanks for adding the new mqtt option!! Working great so far, but I do have one issue/question. I'm not sure how to save/use the mp3 data. I've tried saving it multiple ways (e.g. node-red file writes, manual emacs copy/write), but the resulting file does not play, either as a .mp3 or .wav file. Pretty sure I need to re-encode the data somehow. When I look at playable .mp3/.wav files, I see binary data in them (e.g. ### characters), but when I look at the mqtt data, it is all ascii. Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
Saving the file with base64 encoding did the trick! I'm having fun "re-tweeting" bird calls via inside house speakers :) Thanks for adding the mqtt option and thanks for the tip. |
Beta Was this translation helpful? Give feedback.
-
Love the new Weekly/Monthly/Annual reports! One other report idea, detection report by stream. I've got 6 streams happily running now, from cameras I have in different places in my backyard forest. It would be fun to see where the birds hang out the most. I would guess most people would only have 1 or 2 streams, so it might not be worth the effort, feel free to pass on this idea. |
Beta Was this translation helpful? Give feedback.
-
I would like a setting in the MQTT section to add 'retain' to the messages. This would allow me to reload the last detected bird when restarting HASS. Also hoping that the MQTT messages could include the occurrence score for the species as well so that I can set up automations in HASS rather than relying on the detection filters. |
Beta Was this translation helpful? Give feedback.
-
Comming back to this thread, this is what I was thinking originally about https://developers.home-assistant.io/docs/add-ons/tutorial/. Now that you have apprise and mqtt, maybe no need. |
Beta Was this translation helpful? Give feedback.
-
Hey, Okay here's a zip file which contains all you need to get it running as an add-on. You need to create a samba connecting and go to the addons folder, then unzip. Modify parts of the file that protain to ips etc (changed to a random one) and voila. |
Beta Was this translation helpful? Give feedback.
-
Now that you've managed the unfathomable, a step forward to getting a bird analysing add-on for HA. Cheers
Beta Was this translation helpful? Give feedback.
All reactions