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?