Coral TPU not detected by HA blue for Frigate

I’m having a similar problem. I am running HA on an old MacPro and VirtualBox. The device is seen by VB however when I include the detector in Frigate, it says it’s not there.


[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-11-01 05:33:57] frigate.app INFO : Starting Frigate (0.11.1-2eada21)
[2022-11-01 05:33:57] frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
[2022-11-01 05:33:57] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-11-01 05:33:57] peewee_migrate INFO : There is nothing to migrate
[2022-11-01 05:33:57] frigate.app INFO : Output process started: 213
[2022-11-01 05:33:57] frigate.mqtt INFO : Turning off detection for Dining via mqtt
[2022-11-01 05:33:57] frigate.mqtt INFO : Turning on snapshots for Front-door via mqtt
[2022-11-01 05:33:57] ws4py INFO : Using epoll
[2022-11-01 05:33:57] detector.coral INFO : Starting detection process: 212
[2022-11-01 05:33:57] frigate.edgetpu INFO : Attempting to load TPU as usb
[2022-11-01 05:33:57] frigate.mqtt INFO : Turning on snapshots for Garten-house via mqtt
[2022-11-01 05:33:57] frigate.mqtt INFO : Turning on snapshots for Garage via mqtt
[2022-11-01 05:33:57] frigate.app INFO : Camera processor started for Dining: 219
[2022-11-01 05:33:57] frigate.mqtt INFO : Turning on snapshots for Drive-way via mqtt
[2022-11-01 05:33:57] frigate.app INFO : Camera processor started for Garage: 222
[2022-11-01 05:33:57] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
Process detector:coral:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py”, line 160, in load_delegate
delegate = Delegate(library, options)
File “/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py”, line 119, in init
raise ValueError(capture.message)
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3.9/multiprocessing/process.py”, line 315, in _bootstrap
self.run()
File “/usr/lib/python3.9/multiprocessing/process.py”, line 108, in run
self._target(*self._args, **self._kwargs)
File “/opt/frigate/frigate/edgetpu.py”, line 135, in run_detector
object_detector = LocalObjectDetector(
File “/opt/frigate/frigate/edgetpu.py”, line 43, in init
edge_tpu_delegate = load_delegate(“libedgetpu.so.1.0”, device_config)
File “/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py”, line 162, in load_delegate
raise ValueError(‘Failed to load delegate from {}\n{}’.format(
ValueError: Failed to load delegate from libedgetpu.so.1.0
[2022-11-01 05:33:57] frigate.app INFO : Camera processor started for Front-door: 223
[2022-11-01 05:33:57] frigate.mqtt INFO : Turning on snapshots for Patio via mqtt
[2022-11-01 05:33:57] frigate.app INFO : Camera processor started for Garten-house: 225
[2022-11-01 05:33:57] frigate.app INFO : Camera processor started for Drive-way: 227
[2022-11-01 05:33:57] frigate.app INFO : Camera processor started for Patio: 229
[2022-11-01 05:33:57] frigate.app INFO : Capture process started for Dining: 232
[2022-11-01 05:33:57] frigate.app INFO : Capture process started for Garage: 233
[2022-11-01 05:33:57] frigate.app INFO : Capture process started for Front-door: 236
[2022-11-01 05:33:57] frigate.app INFO : Capture process started for Garten-house: 246
[2022-11-01 05:33:57] frigate.app INFO : Capture process started for Drive-way: 253
[2022-11-01 05:33:57] frigate.app INFO : Capture process started for Patio: 258
[2022-11-01 05:33:57] ws4py INFO : Using epoll

Removing the pass thru on VBox doesn’t work either.

Thought I had this working. Found that I had to load the VBox Extension Pack to get USB 3.0 loaded. Doesn’t seem to matter though.


If I delete the USB device Filters, no difference.
If I disable protection mode, no difference

Help!

I’m running HA on a HA blue. In order for Frigate addon to recognize my Coral USB I had to:

  1. Uninstall “Frigate” addon and replace it with “Frigate (Full Access)” addon.
  2. Unselect “Protection mode” on the Frigate (Full Access) addon page configuration->addons->Frigate (Full Access)

(I do not have any power issues. I’m running Coral on the top left USB and a Z-Wave controller on the bottom right.)

Also, remember that Frigate (Full Access) addon uses a different URL than the standard addon. The integration must probably be reinstalled in order to change the URL to http://ccab4aaf-frigate-fa:5000

1 Like

Thank you. I’m also running Full Access. My system is now working correctly. Seems the MacPro was cycling the USB port for some reason.

I alsao have the same issu, the Google coral is not reconized in Hardware…

The same problem, I´m running in Hass OS in a intel NUC, and it doesn´t recognize my USB Coral, I try in the 3 usb ports and nothing Any idea? Also I try using an usb powered hub and nothing :confused:

If you have problem with
ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
Coral USB and Frigate Full Access turn off security mode
frigate.edgetpu INFO : TPU found

Hate to revive an old thread, but I’m having the same issue. I have a powered USB hub, have tried all ports on the HA Blue, and still get “No EdgeTPU was detected”. Tried rebooting, tried disabling protection mode in Frigate (Full Access), no luck.

Any more ideas?

1 Like

I have the same problem, how did you get it working?

I had the same problem and fixed it by replacing the USB cable that came with the Coral. Now tried in both the RPI and my separate Frigate Server both can see the Coral without a USB powered hub or anything.

1 Like

Jup, that’s IT :slight_smile:

edit: Oh! and both my HaBlue’s 5v usb 4 ports are broke, so it works with the micro-usb OTG on the front with 4 port usb passive hub with conbeeII, aeotec z-wave and han/P1.

I’m having the same issue with NUC, HAOS, and Frigate. I have Frigate FA and protected mode off. Frigate is still complaining about not seeing the TPU. Is there a LED on the Coral? Also, what fixed your problem?

Welcome!
It’s been a while…hard to remember :frowning_face:
Yes the Coral has a led, blinking when working.
Add-on : Frigate(Full Access), protection mode - off
Edit: Mine is connected to a passive external 4port usb hub (in front) due to the HA Blue Odroid N2+ SBC 5V power to usb 4port usbs (in back) breaks by power spikes or switching your houses fuses off and on. Happened to both my HA Blues :cry: