Netdata
The Netdata integration allows you to display information collected by Netdata.
Prerequisites
正在运行的 Netdata 实例,可从 Home Assistant 实例访问。有关设置 Netdata 的更多信息,请查看他们的文档。
Setup
获取配置传感器的详细信息有点棘手,因为 Netdata 对所需的“element:”值使用不同的名称。要获取“data_group:”的值,请使用 Netdata 的 Web 界面。 “1.”标记“data_group:”的名称。 “2.”是在 Home Assistant 中显示的元素的名称。显示的名称可能与可用指标的名称不同。
要检查“element:”名称是否与 Netdata 前端中的名称匹配,请将“curl”与 Netdata 实例的 IP 地址、其端口和“data_group”一起使用:
dimension_names:前端显示的名称。dimension_ids:用于element的名称。
或者,您可以在浏览器中浏览到内置的 Netdata API“http://[Netdata_Instance]:19999/api/v1/allmetrics?format=json”,然后搜索 Netdata 前端中标识的“data_group”。在下面的示例 JSON 中,数据组是“system.load”。
Once the data_group "system.load" and the element "load15" have been identified from the JSON it can be configured in your configuration.yaml file.
After changing the configuration.yaml file, restart Home Assistant to apply the changes. The integration is shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.
Configuration
Add the following to your configuration.yaml.

