Emoncms history


The emoncms_history component makes it possible to transfer 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 component in your installation, add the following to your configuration.yaml file:

# 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

Configuration Variables

api_key

(string)(Required)Your Emoncms write api key

url

(string)(Required)The root URL of your Emoncms installation. (Use https://emoncms.org for the cloud based version)

inputnode

(integer)(Required)Input node that will be used inside Emoncms. Please make sure you use a dedicated, not used before, node for this component!

whitelist

(list)(Required)List of entity IDs you want to publish.

scan_interval

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

Default value: 30