Emoncms History

The emoncms_history integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] makes it possible to transfer (write) details collected with Home Assistant to Emoncms.org or your local running Emoncms instance. It will send the data to a specific input node on Emoncms with the entity IDs as a key. Afterwards you can create feeds and dashboards in Emoncms with the collected data.

To use the emoncms_history integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] in your installation, add the following to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file. 在更改了configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。

# Example configuration.yaml entry
emoncms_history:
  api_key: YOUR_EMONCMS_WRITE_API_KEY
  url: https://emoncms.org
  inputnode: 19
  whitelist:
    - sensor.owm_temperature
    - sensor.owm_wind_speed

To read information from Emoncms to Home Assistant, you can use the emoncms integration.

Configuration Variables

api_key string Required

The write API key for your Emoncms user.

url string Required

The base URL of Emoncms, use https://emoncms.org for the cloud-based version. For self-hosted Emoncms or EmonPi you may need a URL of http://x.x.x.x/emoncms.

inputnode integer Required

Input node that will be used inside Emoncms. Please make sure you use a dedicated, not used before, node for this integration!

whitelist list Required

List of entity IDs you want to publish.

scan_interval integer (Optional, default: 30)

Defines, in seconds, how regularly the states of the whitelisted entities are being gathered and send to Emoncms.