MQTT Update Period

  • Hi!

    I am running my Shelly 3EM as an MQTT-sensor in Home Assistant. However - the Shelly sends about 20 updates per minute and "value" (e.g power, voltage etc) which means that only one sensor, say L1 Power, results in 29 000 datapoints per hour.

    I have tried setting mqtt_update_period and update_period to different values, but it does not affect the above.

    Is there any way to change the update frequency sent from the Shelly?

  • Hi!

    I found a solution in Home Assistant after all. The filter module makes sure that we only record 1 value per minute to history, but as a new sensor called "Voltage - L1 Filtrerad".

    The "Recorder" module makes sure that we don't record any data at all to history for the original sensor.

    Sorry but the indentation went wacko when pasting.

    - platform: filter
        name: 'Voltage - L1 Filtrerad'
        entity_id: sensor.voltage_L1
        filters:
    - filter: time_throttle
            window_size: 00:01

    recorder:
      exclude:
        entities:
    - sensor.Voltage_L1