Luci Statistics page doesn,t show thermal graphs (BPI R4)

I have to compile my own firmware images, i keep them as stock as possible.
Always everything works as planned except the stats page for Thermal in luci.
It shows 4 icons.. but no graps.

The rest of the statistics do work as they should.

Anyone an idea what this could be ?

  • Can you provide details of the non-stock packages (and any config) you added or setup for your thermal stats?
  • Does it work on an image from downloads.openwrt.org or ones built at firmware-selector.openwrt.org
  • Device make/model?
  • OpenWrt version?
  • Did it work on a previous version?

You did install collectd-mod-thermal?

1 Like

I run on the BPI R4 and i build the firmware with all packages installed and all kmods installed and all user packages installed.
The thermal for CPU works on all stock firmware,s from downloads.openwrt.org.
Openwrt 6.6.79

I did install collectd-mod-thermal yes.

Perhaps I misunderstand these statements or you misused terms.

Are you saying you built some kind of mega image?

That's not an OpenWrt version number. Please provide the output of ubus call system board

I,m pretty sure i misused terms.
i did a make menuconfig and selected all packages and all kmods and all user packages.

root@OpenWrt:~# ubus call system board
{
        "kernel": "6.6.79",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 0",
        "model": "Bananapi BPI-R4",
        "board_name": "bananapi,bpi-r4",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "firmware_url": "https://downloads.openwrt.org/",
                "revision": "r28897-a76651a24a",
                "target": "mediatek/filogic",
                "description": "OpenWrt SNAPSHOT r28897-a76651a24a",
                "builddate": "1740476793"

Unless you can discover your conflict, I woud advice using the "official firmwares" from downloads.openwrt.org or making one at firmware-selector.openwrt.org - including only needed packages.

My personal advice: refrain from building these mega images.

i cannot use official firmwares. i have unsopported hardware for my ISP connection that prevents that..
So i guess i have to live with it..

Do you see temperatures being reported in one of these locations?
cat /sys/devices/virtual/thermal/thermal_zone*/temp
cat /sys/devices/virtual/thermal/cooling_device*/temp

1 Like

No.. it says no such file or directory. on both

Then there is no specific thermal support built in your device's kernel. It needs to be defined in the DTS.

You might have better luck with the generic sensors module for collectd, and also configuring lm-sensors package properly.

But it sounds strange that the thermal kernel functionality would work for the official builds for your router.

1 Like

As far as i know the BPI R4 should have thermal support.
it works with the snapshots.
I have lm-sensors and lm-sensors-detect installed.
If i only knew what i,m doing wrong here :wink:

Those are not for luci-statistics thermal page that uses collectd-mod-thermal to read CPU dta, but for the sensors page and collect-mod-sensors plugin (that uses lm-sensors).

CONFIG_PACKAGE_collectd-mod-sensors=y
CONFIG_PACKAGE_lm-sensors=y

Well, what are you doing differently than the official build? Are you missing some package that you need to add to the official build to get that to work?
(the default build does not even have LuCI statistics installed, so you are manually packages also there.)

1 Like

I changed to the official build 24.10.0 and now it is working.
Yet i still don,t understand why it isn,t working on the main branch...
Especially since i had all packages installed.. including collectd-mod-sensors
and lm-sensors

1 Like