大家好,

我想知道你们是如何创建带有系统监控的卡的。

我一直在努力将一些东西放在一起,但我只是对外观感到满意。

所以我希望,如果你能分享你的爱芙蕾丝卡片,给我和其他人一些启发。

谢谢脸红:

23个喜欢

10个喜欢

图像
我认为这里可以使用一些仪表: slight_smile:

这是我的。

左上纸是一种自定义:按钮卡,只需单击按钮即可切换主题(使用Input_Select与FrontEnd.Set_Theme的自动化组合的场景中的按钮即可切换主题。

下面是一些特定领域的计数,如总传感器、自动化、脚本等。除了显示统计数据,这些还有与之相关的“秘密”操作——例如保持脚本图标将执行脚本。重载服务,同样适用于自动化等。

然后在这是一个镜头卡,一些统计数据。这些也有TAP_ACTION和HOLD_ACTIONS。持有数据库图标将调用Recorder.Purge服务保留最后3天。点击日志图标导航到/ dev-info / page,并持有它执行system_log.clear服务。Hold_Action for uptime图标执行homeassistant.restart服务,并点击版本图标导航到/ hassio /仪表板,因此图标加倍作为更新屏幕的快捷方式。

我的其他系统监控如处理器和磁盘使用的东西现在是一个标准的实体卡,我计划很快改变。

40岁的喜欢

呵呵。刚才意识到我的Raspi电源状态图标缺少:

4喜欢

@tom_l.
如果您使用的是“MDI:RaspberryPi”的图标,它现在已更改为“MDI:Raspberry-PI”

是的,我刚更新了sensor.py文件,一切正常。我还在github上发布了一个自定义组件的问题。

看起来真的很好
你能分享你的配置吗?


我的所有配置https://github.com/VirtualL/HomeAssistant-Config

6喜欢

我还在旧UI上,但如果CPU限制了我已经设置为电子邮件

哈索斯_Stats.

1就像

算上这个要求!

哇,没想到会有这么多回复。
真的很好地接近每个人,谢谢。

@SeanM我也想看看你的配置文件。
看起来非常有趣。

嘿,

你做了什么来获得CPU温度或者你是怎么添加它的?
有可能得到GPU的温度吗?我只是想知道这个新的流函数是否会很有趣或者它仍然在被CPU处理吗?

我刚刚在HA中使用了命令行传感器,下面是传感器的YAML:

-平台:command_line name: "RPi CPU温度" command: "cat /sys/class/thermal/thermal_zone0/temp" value_template: '{{value | multiply(0.001) | round(2)}}'

如果你能弄清楚你需要什么命令来获取GPU温度,那么你就可以添加它。然而,GPU可能是CPU的一部分,因为它们都是一个单一的芯片,如果是这样的话,温度将非常相似。

1就像

参见[从回避到惊讶(我的Lovelace设置)]

=)

1就像

从PI GPU温度的观察一年,它始终在CPU温度的1°内。我要删除传感器。

除了cpu负载外,coreos的cpu负载情况如何

你能告诉我们系统监视器的配置方法吗?
如何在此处获取Docker。
最后一个问题是如何得到2位的cpu负载因为我得到了小数点后的6位。

这里没什么原创,但我以为我会加入: slight_smile:

12喜欢

它干净、信息量大。你介意分享一下你的配置文件吗?

当然不是: slight_smile:

钟卡是由棕榈泉的主题但它并不总是在这个视图上更新(这是第一个),尽管它似乎在另一个测试视图上。我发布了这个问题,但没有人回答。

#================================ #=== #=== 系统  #=== #================================ 标题:系统信息图标:mdi: home-assistant卡片:-类型:垂直叠加卡:-类型:自定义:compact-custom-header main_config:真正的背景:var(——primary-background-color) active_tab_color:黄色tab_indicator_color:黄色notify_indicator_color:黄色notify_text_color:黑色菜单:show notifications: show voice: clock options: show clock_format: 24 clock_date: true date_locale: en-gb异常:—条件:user_agent: Mobile config: notifications: show voice: hide conditional_styles:—实体:notifications条件:state: false按钮:notifications:hide: true—type: custom:clock-card #=========== #=== System #===========—type: entities title: System show_header_toggle: false entities:—entity: sensor。installed_version name: Hassio安装版本图标:mdi:home-assistant - entity: sensor。latest_available_version名称:Hassio当前版本图标:mdi:home-assistant - type: divider - entity: sensor。图标:mdi:alpha-s-box-outline - type: divider - entity: sensor。last_boot_date_time图标:mdi:日历-实体:传感器。rpi_uptime图标:mdi:clock-start - entity: sensor。ha_uptime图标:mdi:home-assistant -类型:自定义:条形卡标题:处理器使用实体:传感器。processor_use高度:30px动画:“关闭”指示器:“关闭”严重性:—值:60颜色:绿色—值:85颜色:橙色—值:100颜色:红色—类型:自定义:bar-card标题:CPU Temp实体:传感器。cpu_temp动画:“off”指示器:“off”高度:30px严重性:—值:60颜色:绿色—值:70颜色:橙色—值:100颜色:红色—类型:自定义:bar-card标题:内存使用实体:传感器。memory_use_percent高度:30px动画:“关闭”指示器:“关闭”严重性:—值:60颜色:绿色—值:85颜色:橙色—值:100颜色:红色—类型:自定义:bar-card标题:磁盘使用实体:传感器。disk_use_percent高度:30px动画:“关闭”指示器:“关闭”严重性:—值:60颜色:绿色—值:85颜色:橙色—值:100颜色:红色—类型:分割器—实体:传感器。public_ip_address图标:mdi: ip网络  #====================================== #=== 我被玩弄和组件数量吗  #====================================== - 类型:垂直叠加卡 : #====================== #=== 我被玩弄了  #====================== - 类型:实体标题:我被玩弄show_header_toggle:假的实体:-实体:传感器。breaches_xxx name:xxx@x.com icon: mdi:at - entity: sensor.breaches_xxx name: xxx@x.com icon: mdi:at - entity: sensor.breaches_xxx name: xxx@x.com icon: mdi:at - entity: sensor.breaches_xxx name: xxx@x.com icon: mdi:at #============================= #=== Component Counts #============================= - type: glance title: Component Count columns: 4 entities: - entity: sensor.count_automations name: Automations icon: mdi:autorenew - entity: sensor.count_scripts name: Scripts icon: mdi:script-text-outline - entity: sensor.count_zones name: Zones icon: mdi:map-marker-radius - entity: sensor.count_device_trackers name: Device Trackers icon: mdi:map-marker - entity: sensor.count_switches name: Switches icon: mdi:light-switch - entity: sensor.count_sensors name: Sensors icon: mdi:resistor - entity: sensor.count_binary_sensors name: Binary Sensors icon: mdi:unfold-more-horizontal - entity: sensor.count_input_booleans name: Input Booleans icon: mdi:toggle-switch - entity: sensor.count_input_numbers name: Input Numbers icon: mdi:numeric - entity: sensor.count_input_texts name: Input Texts icon: mdi:alphabetical - entity: sensor.count_input_selects name: Input Select icon: mdi:view-list - entity: sensor.count_input_datetimes name: Input Date Times icon: mdi:calendar-clock #============================= #=== Custom Component Updates #============================= - type: vertical-stack cards: - type: custom:tracker-card title: trackers: - sensor.custom_card_tracker - sensor.custom_component_tracker
12喜欢