Skip to content
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

Species Identification #40

Open
servebeer opened this issue Nov 29, 2023 · 7 comments
Open

Species Identification #40

servebeer opened this issue Nov 29, 2023 · 7 comments

Comments

@servebeer
Copy link

Ever since Ubiquity updated Protect to version UniFi OS 3.1.16, Frigate has quite identifying bird species. It still identifies ~50 "birds" a day, but it doesn't identify the actual species like it used to. I am not seeing any errors that would indicate way.

v/r
Jon

@yayitazale
Copy link

Ever since Ubiquity updated Protect to version UniFi OS 3.1.16, Frigate has quite identifying bird species. It still identifies ~50 "birds" a day, but it doesn't identify the actual species like it used to. I am not seeing any errors that would indicate way.

v/r Jon

Do you see something in the logs? Maybe is related to this and you just have to lower the threshold setting

@servebeer
Copy link
Author

The only error I am seeing is: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. I will adjust the threshold setting and see if that makes a difference.

@servebeer
Copy link
Author

I dropped the threshold down to 0.1 and I am still not getting any results.

@yayitazale
Copy link

It look like it is not connected to your frigate instance. Check if you have the configuration file correctly set up and also check the configuration of the cameras in the config file of frigate is you have enables the mqtt as it is described in the docs.

@servebeer
Copy link
Author

I am pretty sure that everything is configured correctly. I went back and looked at the config documentation, and made sure that mine matched:
config.yml

frigate:
frigate_url: http://192.168.100.69:5000
mqtt_server: 192.168.100.69:9001
mqtt_auth: false
main_topic: frigate
camera:
- birdcam
object: bird
classification:
model: model.tflite
threshold: 0.5
webui:
port: 7766
host: 0.0.0.0

I have checked that all of the IP addresses and port numbers in the config resolve correctly. As far as the camera config goes, I am using Ubiquity UniFi G3 Instants. Here is the camera config portion of the Frigate config.yml file:

frigate:
frigate_url: http://192.168.100.69:5000
mqtt_server: 192.168.100.69:9001
mqtt_auth: false
main_topic: frigate
camera:
- birdcam
object: bird
classification:
model: model.tflite
threshold: 0.5
webui:
port: 7766
host: 0.0.0.0

This setup worked for the past couple of months, and nothing changed except Ubiquity pushing an update to the camera app (UniFi Protect). I am not sure if firmware updates for the cameras accompanied this update or not.

@yayitazale
Copy link

yayitazale commented Dec 6, 2023 via email

@servebeer
Copy link
Author

Try without the port in the mqtt server Joseba Egia Larrinaga Enviado desde Proton Mail móvil

That appears to have the problem. Removing the port number from the mqtt line appears to have fixed the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants