处于群晖Docker中的HomeAssistant监控宿主机CPU温度

处于群晖Docker中的HomeAssistant监控宿主机CPU温度

解决方案

configuration.yaml中添加:

sensor:
- platform: file
  name: "Host Temperature" # 可以自定义
  file_path: /sys/class/hwmon/hwmon0/temp1_input
  value_template: "{{ int(value)/1000 }}"
  unit_of_measurement: "°C"

效果

在这里插入图片描述

相关推荐

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-11 18:30:02       66 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-11 18:30:02       70 阅读
  3. 在Django里面运行非项目文件

    2024-07-11 18:30:02       57 阅读
  4. Python语言-面向对象

    2024-07-11 18:30:02       68 阅读

热门阅读

  1. git撤销push

    2024-07-11 18:30:02       23 阅读
  2. 解决Spring Boot中的国际化与本地化问题

    2024-07-11 18:30:02       19 阅读
  3. Mongodb索引使用限制

    2024-07-11 18:30:02       25 阅读
  4. 数据建设实践之大数据平台(七)

    2024-07-11 18:30:02       25 阅读
  5. git revert怎么使用?

    2024-07-11 18:30:02       24 阅读
  6. Webpack配置及工作流程

    2024-07-11 18:30:02       21 阅读
  7. 如何理解李彦宏说的“不要卷模型,要卷应用”

    2024-07-11 18:30:02       22 阅读
  8. 谷歌广告投放策略 -- 业务&成本

    2024-07-11 18:30:02       18 阅读
  9. 表单代码示例

    2024-07-11 18:30:02       22 阅读
  10. Unity中短路法在背包系统的应用

    2024-07-11 18:30:02       17 阅读