The statsd integration makes it possible to transfer all state changes to an external StatsD instance.

To use the statsd integration in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry

Configuration Variables

hoststringRequired, default: localhost

IP address of your StatsD host, e.g.,

portinteger(Optional, default: 8125)

Port to use.

prefixstring(Optional, default: hass)

Prefix to use.

rateinteger(Optional, default: 1)

The sample rate.

log_attributesboolean(Optional, default: false)

Log state and attribute changes. This changes the default stats path.


Map non-numerical values to numerical ones.

Full example:

# Example configuration.yaml entry
  prefix: home
  rate: 5
    cooling: 1
    heating: 10

StatsD supports various backends.