SNMP polling just once

Hello

What I’m doing wrong?

Hassio latest version on Pi4
SNMP request of port state Up(1) Down (2)

sensor:
  - platform: snmp
    scan_interval: 5
    name: "WAN Interface"
    host: 192.168.1.1
    community: 'secret'
    baseoid: 1.3.6.1.2.1.2.2.1.8.12

I’m getting just a single sensor value after Hassio restart only, till next restart
Without scan_interval it acting just the same

I’m seeing this too. did you find a fix?

I am trying to get the number of pages printed by my FujiXerox printer every few hours.

The yaml below gives me the correct value. After printing a page, I can see the value update when I key in the IP address of the printer in a browser and in the admin consoles.

But the scan_interval command is ignored completely in HA. The value stays the same and only updates (correctly) each time HA is restarted.

Not sure what to do to fix this, either to pull the data from HA snmp or push the data from the printer. Is there a setting I need to insert or an automation that can be written to fire off the pulling of the data?

Have looked at all the threads that show up when I search for SNMP but can’t get any insights as to how to fix this.

Appreciate any help, thanks!

- platform: snmp
  name: "fujixerox_pages_printed"
  host: 192.168.1.62
  baseoid: 1.3.6.1.2.1.43.10.2.1.4.1.1
  version: 2c
  community: public
  accept_errors: true
  unit_of_measurement: "pages"
  scan_interval: 3600

Have discovered that my FujiXerox pushes out SNMP updates vs HA pulling for updates. As I print pages, the sensor is updated about 30 secs later. This has happened twice, as I printed twice, so it seems that the scan interval has no effect, which is totally fine given the push of status.

So, the issue is no longer an issue!