I am wanting to read the CPU temperature on each core, not sure how to do it in a node app.
To get the CPU temperature on iMX7, you can do something like this, as reported in Temperature Sensor (Linux):
But, to do that in a container you must map the /sys partition to your container.
Similarly as what you can do for the Debian Developer Tools for Torizon:
# docker run -it --rm -v /sys:/sys -v /dev:/dev torizon/arm32v7-debian-shell:2
Please try that and let me know if it worked.
thanks but thermal is not there on that path you mentioned
colibri-imx7-emmc-06674366:~$ cat /sys/devices/virtual/
bdi/ block/ graphics/ mem/ misc/ net/ pps/ sound/ tty/ vc/ vtconsole/ workqueue/
We have identified that there is really an issue with reading the temperature of the iMX7 on BSP 5, which, in turn, TorizonCore 5 is based on.
We are already working on it.
The issue was fixed in the latest nightly builds.
Can you test that to be sure at your side, please?