Skip to content

Commit

Permalink
Fixes & improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
gSpotx2f committed Aug 3, 2024
1 parent 2ecaa5a commit cc8f125
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

include $(TOPDIR)/rules.mk

PKG_VERSION:=0.4.0-r2
PKG_VERSION:=0.4.1-r1
LUCI_TITLE:=Temperature sensors data for the LuCI status page
LUCI_DEPENDS:=+lua +luci-lib-nixio +luci-lib-jsonc
LUCI_PKGARCH:=all
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ OpenWrt >= 19.07.

**OpenWrt >= 21.02:**

wget --no-check-certificate -O /tmp/luci-app-temp-status_0.4.0-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-temp-status_0.4.0-r2_all.ipk
opkg install /tmp/luci-app-temp-status_0.4.0-r2_all.ipk
rm /tmp/luci-app-temp-status_0.4.0-r2_all.ipk
wget --no-check-certificate -O /tmp/luci-app-temp-status_0.4.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-temp-status_0.4.1-r1_all.ipk
opkg install /tmp/luci-app-temp-status_0.4.1-r1_all.ipk
rm /tmp/luci-app-temp-status_0.4.1-r1_all.ipk
/etc/init.d/rpcd reload

i18n-ru:

wget --no-check-certificate -O /tmp/luci-i18n-temp-status-ru_0.4.0-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-temp-status-ru_0.4.0-r2_all.ipk
opkg install /tmp/luci-i18n-temp-status-ru_0.4.0-r2_all.ipk
rm /tmp/luci-i18n-temp-status-ru_0.4.0-r2_all.ipk
wget --no-check-certificate -O /tmp/luci-i18n-temp-status-ru_0.4.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-temp-status-ru_0.4.1-r1_all.ipk
opkg install /tmp/luci-i18n-temp-status-ru_0.4.1-r1_all.ipk
rm /tmp/luci-i18n-temp-status-ru_0.4.1-r1_all.ipk

**OpenWrt 19.07:**

Expand Down
3 changes: 3 additions & 0 deletions root/usr/libexec/rpcd/luci.temp-status
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ local function getHwmonData()
if tPointMax ~= nil then
tPoints["2"] = { type = "max", temp = tPointMax }
end
if deviceDirPath and (not tPoints or not next(tPoints)) then
tPoints = findTPoints(deviceDirPath) or tPoints
end
if sNumber ~= nil and temp ~= nil then
sources[#sources + 1] = {
number = sNumber,
Expand Down

0 comments on commit cc8f125

Please sign in to comment.