Emoncms

The emoncms sensor integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] creates sensors for the feeds available in your local or cloud based version of Emoncms.

To write information from Home Assistant to Emoncms, you can use the emoncms_history integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more].

Prerequisites

To use this service, you need an Emoncms account and an API key. You can find the API key in your local or cloud-based Emoncms account settings.

配置

要将 Emoncms integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:

手动配置步骤

如果上述 My 按钮不起作用,您也可以手动执行以下步骤:

URL

The URL of the Emoncms server starting with the protocol (http or https). For cloud installations, use https://emoncms.org (trailing slash optional). For local installations, use your local server address (e.g., http://localhost:8080). Ensure the server is accessible from your Home Assistant instance.

API key

The 32-character read-only API key needed for authentication is found under “My Account > Read Only API Key” in Emoncms. The key should be a hexadecimal string. The read-and-write API key is not needed as this integration reads data from Emoncms. If you receive authentication errors, verify that you’ve copied the entire key correctly.

Sensors

  • energy in Wh, kWh
  • power in W
  • voltage in V
  • current in A
  • apparent power in VA
  • temperature in °C, °F or K
  • frequency in Hz
  • pressure in hPa