Increase update interval of system monitor

I would want to see faster (and customizable) update intervals for the integration systemmonitor, particularly the network throughput in/out.

Currently, it updates at 30 second intervals. Personally I would like to set this to 10 second intervals.

do you not know about scan interval? All sensors can take this option.

sensor:
  - platform: systemmonitor
    scan_interval: 10
    resources:
      - type: disk_use_percent
        arg: /home
      - type: memory_free
3 Likes

I know about scan_interval but definitely did not know that it applied to all sensors.

Are there other options like this that apply to large scopes but aren’t documented as such?

That’s not 100% true, but it should be. The updater component, for example, has a hardcoded update time of 24 hours. The Synology DSM sensor used to have a hard coded 15 minute update time for years (since 0.32 anyway), and only got fixed 3 months ago.

According to the docs, any platform that requires polling should support the scan_interval option, but there are probably some lingering ones out there that still have this hardcoded.

1 Like