Expose Edge TPU temperature
See original GitHub issueDescribe the request
Would it be possible to expose the temperature of the Edge TPU devices in frigate API? And then expose at as an entity in the Home Assistant integration?
I did not find it in the libedgetpu API, but it is available from sysfs in Millidegree Celsius:
root@hassio:~# docker exec -ti addon_ccab4aaf_frigate sh -c "cat /sys/class/apex/apex_*/temp"
66050
72300
Version of frigate N/A
Config file Include your full config file wrapped in triple back ticks.
detectors:
coral0:
type: edgetpu
device: pci:0
coral1:
type: edgetpu
device: pci:1
Frigate container logs N/A
Frigate stats N/A
FFprobe from your camera N/A
Screenshots N/A
Computer Hardware
- OS: Debian 10 amd64
- Install method: Home Assistant addon with supervisor
- Virtualization: KVM/Qemu
- Coral Version: Dual Edge TPU m.2 PCIe
- Network Setup: Wired
Camera Info: N/A
Additional context N/A
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Manage the PCIe module temperature
Learn how to read the temperature from the Edge TPU and configure frequency scaling when using the Edge TPU over PCIe interface.
Read more >Google Coral Edge TPU & Intel NCS2 Temperature Test
Learn how Intel Neural Compute Stick 2 and Google Coral Edge TPU ... on a customized image, which took brought the temperature up...
Read more >M.2 Accelerator with Dual Edge TPU datasheet
Operating temp: -40 to +85 °C. Description. The Coral M.2 Accelerator with Dual Edge TPU is an M.2 module (E-key) that includes two...
Read more >Accelerator Module datasheet
This is the first line that goes high at a specified Edge TPU junction temperature. Recommended for thermal management. Has internal 100k pull-down....
Read more >TPU Device temperature · Issue #102 · google-coral/edgetpu
Is there a way to know the temperature of the USB Accelerator?
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
I think the original request is still valid, as the sysfs node is not accessible to hass when it’s running in a separate container/host from frigate (and does not seem very portable in general).
Can you try adding this line in
configuration.yaml
?