0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

暑いので OpenWrt デバイスの温度をモニタリングする

Last updated at Posted at 2025-07-07

この記事を書いた理由

シンガポールでは一年を通じて、最低気温 25℃、最高気温 32℃ くらい。

最高気温が 32℃ を超える日が続くと、「シンガポールよりも暑いのか 😵‍💫」と毎回思う。

そしてこの暑さの中、ルーターもかなり熱くなっている。

最近 2 回続けて Beszel をお勧めする記事を見かけたので、Beszel で OpenWrt 機器のモニタリングをしてみた。 🧐

どの程度まで熱くなるか

70℃ 近くまで熱くなっている。💀

Temperature Monitoring of OpenWrt Devices

おまけ

Beszel Hub のインストール方法

compose.yaml
services:
  beszel:
    image: henrygd/beszel
    container_name: beszel
    restart: unless-stopped
    ports:
      - 8090:8090
    volumes:
      - ./beszel_data:/beszel_data

OpenWrt での Beszel Agent のインストール方法

v0.12.8 で、インストールスクリプト install-agent.sh の OpenWrt に関する部分がかなり改善されたため、今ではとても簡単にインストールできます。

wget -qO /tmp/install-beszel-agent.sh https://get.beszel.dev
chmod +x /tmp/install-beszel-agent.sh
/tmp/install-beszel-agent.sh --auto-update
  • <public key> の値は Beszel Hub で確認できます。

    Beszel public key

個々の OpenWrt の web インターフェース上で温度を表示させたい場合

# opkgの場合
wget --no-check-certificate \
  -O /tmp/luci-app-temp-status_0.7.1-r2_all.ipk \
  https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-temp-status_0.7.1-r2_all.ipk

opkg install /tmp/luci-app-temp-status_0.7.1-r2_all.ipk
rm /tmp/luci-app-temp-status_0.7.1-r2_all.ipk
service rpcd restart
# apkの場合
wget --no-check-certificate \
  -O /tmp/luci-app-temp-status-0.7.1-r2.apk \
  https://github.com/gSpotx2f/packages-openwrt/raw/master/snapshot/luci-app-temp-status-0.7.1-r2.apk

apk add --allow-untrusted /tmp/luci-app-temp-status-0.7.1-r2.apk
rm /tmp/luci-app-temp-status-0.7.1-r2.apk
service rpcd restart
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?