gSpotx2f / luci-app-temp-status

Temperature sensors data for the LuCI status page (OpenWrt webUI)
MIT License
115 stars 35 forks source link

luci-app-temp-status doesn't work with current main OpenWrt luci status page #6

Closed sppmasterspp closed 3 months ago

sppmasterspp commented 3 months ago

luci-app-temp-status doesn't work with current main OpenWrt snapshot luci status page. I've used this for quite a long time but yesterday I've updated the firmware of my router and then installed it but it doesn't show at all on Luci Status page.

OpenWrt SNAPSHOT, r27200+1-35819ca69a
 -----------------------------------------------------
root@QNAP:~# opkg info luci-app-temp-status
Package: luci-app-temp-status
Version: 0.4.1-r1
Depends: libc, lua, luci-lib-nixio, luci-lib-jsonc
Status: install user installed
Section: luci
Architecture: all
Size: 3702
Filename: luci-app-temp-status_0.4.1-r1_all.ipk
Description: Temperature sensors data for the LuCI status page
Installed-Time: 1723711249
root@QNAP:~# ls /sys/class/thermal
cooling_device0  cooling_device2  thermal_zone1    thermal_zone11   thermal_zone3    thermal_zone5    thermal_zone7    thermal_zone9
cooling_device1  thermal_zone0    thermal_zone10   thermal_zone2    thermal_zone4    thermal_zone6    thermal_zone8
root@QNAP:~# ls /sys/class/hwmon
hwmon0  hwmon1  hwmon2  hwmon3
root@QNAP:~# ls /sys/class/hwmon/hwmon0
device             of_node            subsystem          temp1_crit_alarm   temp1_lcrit        temp1_max          temp1_min          uevent
name               power              temp1_crit         temp1_input        temp1_lcrit_alarm  temp1_max_alarm    temp1_min_alarm
root@QNAP:~# lua /usr/libexec/rpcd/luci.temp-status call getTempStatus
{"1":[{"number":2,"sources":[{"number":0,"temp":67100,"tpoints":{"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone2","title":"nss1-thermal"},{"number":0,"sources":[{"number":0,"temp":65800,"tpoints":{"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone0","title":"nss-top-thermal"},{"number":9,"sources":[{"number":0,"temp":66100,"tpoints":{"1":{"temp":95000,"type":"passive"},"2":{"temp":100000,"type":"passive"},"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone9","title":"cluster-thermal"},{"number":7,"sources":[{"number":0,"temp":66100,"tpoints":{"1":{"temp":95000,"type":"passive"},"2":{"temp":100000,"type":"passive"},"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone7","title":"cpu2-thermal"},{"number":10,"sources":[{"number":0,"temp":66100,"tpoints":{"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone10","title":"wcss-phyb0-thermal"},{"number":5,"sources":[{"number":0,"temp":65200,"tpoints":{"1":{"temp":95000,"type":"passive"},"2":{"temp":100000,"type":"passive"},"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone5","title":"cpu0-thermal"},{"number":3,"sources":[{"number":0,"temp":64200,"tpoints":{"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone3","title":"wcss-phya0-thermal"},{"number":1,"sources":[{"number":0,"temp":67400,"tpoints":{"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone1","title":"nss0-thermal"},{"number":8,"sources":[{"number":0,"temp":66100,"tpoints":{"1":{"temp":95000,"type":"passive"},"2":{"temp":100000,"type":"passive"},"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone8","title":"cpu3-thermal"},{"number":11,"sources":[{"number":0,"temp":65200,"tpoints":{"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone11","title":"wcss-phyb1-thermal"},{"number":6,"sources":[{"number":0,"temp":66500,"tpoints":{"1":{"temp":95000,"type":"passive"},"2":{"temp":100000,"type":"passive"},"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone6","title":"cpu1-thermal"},{"number":4,"sources":[{"number":0,"temp":64500,"tpoints":{"0":{"temp":110000,"type":"critical"}}}],"item":"thermal_zone4","title":"wcss-phya1-thermal"}],"0":[{"number":2,"sources":[{"number":1,"item":"temp1_input","temp":70000}],"item":"hwmon2","title":"ath11k_hwmon"},{"number":0,"sources":[{"number":1,"item":"temp1_input","temp":66546,"tpoints":{"1":{"temp":"70000","type":"critical"},"2":{"temp":"60000","type":"max"}}}],"item":"hwmon0","title":"90000mdio100"},{"number":3,"sources":[{"number":1,"item":"temp1_input","temp":59000}],"item":"hwmon3","title":"ath11k_hwmon"},{"number":1,"sources":[{"number":1,"item":"temp1_input","temp":63910,"tpoints":{"1":{"temp":"70000","type":"critical"},"2":{"temp":"60000","type":"max"}}}],"item":"hwmon1","title":"90000mdio108"}]}root@QNAP:~#
gSpotx2f commented 3 months ago

Try clearing your browser cache. Yesterday's snapshot + luci-app-temp-status v0.4.1-r1 with your data works fine: 01

sppmasterspp commented 3 months ago

Try clearing your browser cache. Yesterday's snapshot + luci-app-temp-status v0.4.1-r1 with your data works fine: 01

Probably another issue because I cleared it several times, Doesn't work no matter the browser. I will take a look when I have some spare time and write back.

sppmasterspp commented 3 months ago

It's OK. I close this.