Coral USB not detected during boot of PI4 (0.80/Home Assistant) - requires manual restart of Frigate
See original GitHub issueI’m running HASSOS (x64) on PI4 booting from SSD. Frigate Beta 0.8
Coral config:
detectors:
coral:
type: edgetpu
device: usb
When I reboot HASSOS, the coral device is not detected:
* Starting nginx nginx
...done.
Matplotlib is building the font cache; this may take a moment.
frigate.app INFO : Creating directory: /tmp/cache
frigate.app INFO : Camera processor started for Voordeur: 37
detector.coral INFO : Starting detection process: 35
frigate.edgetpu INFO : Attempting to load TPU as usb
frigate.app INFO : Capture process started for Voordeur: 39
ffmpeg.Voordeur.clips ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
ffmpeg.Voordeur.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5583d2ec10] moov atom not found
/media/frigate/recordings/Voordeur-20201215093539.mp4: Invalid data found when processing input
frigate.record INFO : bad file: Voordeur-20201215093539.mp4
frigate.edgetpu INFO : No EdgeTPU detected. Falling back to CPU.
Just restarting frigate will solve the problem:
* Starting nginx nginx
...done.
frigate.app INFO : Creating directory: /tmp/cache
detector.coral INFO : Starting detection process: 36
frigate.app INFO : Camera processor started for Voordeur: 39
frigate.edgetpu INFO : Attempting to load TPU as usb
frigate.edgetpu INFO : TPU found
frigate.app INFO : Capture process started for Voordeur: 41
ffmpeg.Voordeur.clips ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
ffmpeg.Voordeur.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b10edc10] moov atom not found
/media/frigate/recordings/Voordeur-20201215094501.mp4: Invalid data found when processing input
frigate.record INFO : bad file: Voordeur-20201215094501.mp4
Not sure if it is possible to do some retries when a previous run instance was using a coral device
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
frigate Coral USB not detected during boot of PI4 (0.80/Home ...
frigate Coral USB not detected during boot of PI4 (0.80/Home Assistant) - requires manual restart of Frigate Python. I'm running HASSOS (x64) on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Simple enough. I can add a fallback_to_cpu option that defaults to true if you dont have anything defined and defaults to false if you have the edge tpu defined.
RC4 will now completely exit the container if the detection process stops