-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Within Home Assistant, enable ability to set up alerts for certain species #45
Comments
just found this project... even just posting the json of species identification back to a MQTT topic would be huge. I'm going to see if I can make that happen myself if I can find some time. |
As a quick, ungraceful hack I followed these steps to get it to publish the common name to a MQTT topic. |
Thank you for this. I'm running into issues getting apt to work inside the HA container so can't get nano or other text editors currently, I will have to mess around with it. This seems like an easy addition to the addon though hopefully we can get this added at some point! |
Sorry - I forgot HA does things a little different. Don't really use but have tinkered. If you have the terminal add-on installed, and can find the speciesid.py file (which I notice now I didn't specify above) you should be able to add the code. Fight with vi if you can't install nano (or it is not already installed). |
Thanks for specifying the file. I don't mind using vi if I have to (though would prefer nano) but it seems like the container within HA doesn't have permissions to download anything even though I'm root. I'm not great with docker so maybe I am missing something but seems like this is the case here and don't think I can change it since I don't have access to the Docker make file. I'm thinking I would have to install the container on a standalone server and edit it there (unless this change got pushed into the actual addon). EDIT: Yeah after hosting the docker container on my own server I can install nano and edit the file no problem. Also, I believe what you wrote has a space that shouldn't be there: |
In the logs of the HA addon, it shows species identification such as
Category(index=68, score=0.8046875, display_name='Cardinalis cardinalis', category_name='/m/01tgcy')
. It would be great if we could have this translated to Home Assistant in some way so that we can set up alerts to be identified if the bird of X species. I'm not sure if this falls under this addon specifically or would be under Frigate. Is this possible to do?The text was updated successfully, but these errors were encountered: