SNMP poll on demand / interval

Since the scan_interval was removed from SNMP, i didn’t find time to fix my SNMP polling. Is it possible to change the polling interval and to start SNMP poll as action?

i have this code

  - platform: snmp
    host: !secret R740IdracIP
    port: 161
    community: !secret R740IdracSNMP
    name: "R740 PSU 1 Current"
    unique_id: r740_psu1c
    baseoid: 1.3.6.1.4.1.674.10892.5.4.600.30.1.6.1.1
    unit_of_measurement: A
    value_template: "{{((value | float) / 10) | float}}"
    accept_errors: true 
    default_value: 0 

What i want is the following:
If ping is on, then poll every 5 min
if ping is off, poll every 1 hour
and is it a way to start the polling when needed, on demand?

Hi Тони Станојоски,
This is the docs explanation. What you ask should be doable.
Common tasks - installation independent - Home Assistant.

1 Like

Well snmp is not an integration. I put the configuration into the configuration file as sensor. Before the change, there was the scan_interval parameter, not it is gone.

I already did that research, however there is nothing about the update interval in the documentation :frowning:

I found out this works… if you need this.