#How do I troubleshoot Frigate add-on not recognizing Coral Dual Edge TPU even though Home Assistant

1 messages · Page 1 of 1 (latest)

twilit marsh
#

I think not recognizing the TPUs is the cause of several errors.

So far I am having these problems:
1- Coral Dual Edge TPU are not recognized by Frigate but are recognized by Home Assistant.
2- Saving the Frigate configuration file renders error: “Unknown error”
3- Only two cameras show up on the display instead of the 7 I have listed in the configuration file.

System: Home Assistant OS on mini pc with Coral M.2 Dual Edge TPU installed in mini pc M.2 NVME slot via adapter. Home Assistant recognizes both TPU units as apex_0 and apex_1 yet Frigate does not and logs show this error:

frigate.detectors.plugins.edgetpu_tfl
No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.

Also, when I save the Frigate configuraiton file I get this error:
Unknown error

I’m following documentation found at: Home Assistant Integration
Home Assistant Add-on: Frigate (Full Access) http://ccab4aaf-frigate-fa:5000

Other post dealing with "No Dual Edge TPU Found" are different than my situation/setup.

Error Log @ https://paste.debian.net/1392848/

Configuration File @ https://dpaste.org/C8vnF

fresh oasis
#

I can't help with the Coral side of things, but unless you have an MQTT broker at mqtt.server.com, then that is not the correct MQTT host

#

you'd want to use the hostname of the MQTT broker add-on

twilit marsh
#

I have Mosquitto broker and under Hostname: core-mosquito.
So how do I convert that hostname to the url? or is it just host: core-mosquito.com?

fresh oasis
#

it would be just the hostname

twilit marsh
#

I thought Frigate recognized the Dual Edge TPU but I misread the logs. The TPUs are still not recognized.
If anyone has any suggestions I am all ears.
@fresh oasis Thanks for your help. Your suggestion along with deleting the first few lines in the config file since they were comments, helped fix the save file error.

hasty cobalt
#

Just to check, for the FA version, do you have protection disabled on the addon info page?

twilit marsh
#

Sorry, what is the FA version?

hasty cobalt
#

Sorry, Full access.

twilit marsh
#

I'm new to Frigate and Reolink so quite ignorant here. What is the Full Access?

hasty cobalt
#

You mention in your post that you're using the frigate addon (Full Access) version. That version (while it's not mandatory) often requires turning protection mode off in order to properly access the relevant hardware.

twilit marsh
#

Bingo! I failed to see that requirement. I did not have it disabled but just did and it found them. Awesome. Thanks.

hasty cobalt
#

Nice! I've raised an issue on this in the past (as the documentation doesn't make it clear that this is necessary in a lot of cases). May be worthwhile raising one as well.

twilit marsh
#

I will and will reference this post.

hasty cobalt
#

Also, I'm not sure about the edge TPU, but for me ('m using the Hailo 8L) it turned out that I didnt need the fa version at all, and installing ther standard version worked absolutely fine.

twilit marsh
#

I'll try that once I get this one going fully. On a side note, I looked around but couldn't find where to raise the issue ref: Protection Mode.

hasty cobalt
twilit marsh
#

Thanks, also, the standard version so far works just fine as well with the Coral Dual TPU's. Which as I understand it is better since it leaves the protection enabled.