Emoncms

The emoncms sensor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [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 integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [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.

Configuration

To add the Emoncms integration to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

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