I would like to read the CPU temperature sensor on a Raspberry Pi 4. The way to do this on other OS is to use the userspace utility vcgencmd measure_temp. There seems to be no OpenWrt package with vcgencmd. Has that ever been ported to OpenWrt? Alternatively is there a different way to read the CPU temperature?
That command works on my RPi4. Have you tried it?
Well yes it does. Never mind then.
cat /sys/class/thermal/thermal_zone0/temp can also read the temperature.