Hi, this is my first post because i can’t find any solutions.
I’m trying to read some snmp values from my router.
I can run snmpwalk from my Desktop without any error:
C:\Users\\Desktop\SnmpWalk>SnmpWalk.exe -r:"192.168.1.1"
-v:3 -sn:"ha" -ap:"md5" -aw:"ha2024auth"
-pp:"AES256" -pw:"ha2024enc"
-os:"1.3.6.1.4.1.2356.11.1.75.36" -op:"1.3.6.1.4.1.2356.11.1.75.37"
SnmpWalk v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
OID=.1.3.6.1.4.1.2356.11.1.75.36.0, Type=Integer, Value=68130
Total: 1
my ha config looks like this:
- platform: snmp
name: Lancom-Router
host: 192.168.1.1
version: "3"
username: "ha"
auth_key: "ha2024auth"
auth_protocol: "hmac-md5"
priv_key: "ha2024enc"
priv_protocol: "aes-cfb-256"
baseoid: 1.3.6.1.4.1.2356.11.1.75.36
accept_errors: true
default_value: "10000"
I always get the default value and a timeout in the logs
2024-11-11 16:34:02.274 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform snmp is taking over 10 seconds.
2024-11-11 16:34:41.526 ERROR (MainThread) [homeassistant.components.snmp.sensor] Please check the details in the configuration file: No SNMP response received before timeout
I think I’m missing something and maybe someone can kindly help me
//Edit: If i switch to SNMP v2c everything works.