Driver canon pixma ip1880 window 7, Lease termination format india, Gangstar rio city of saints for windows xp, Epson stylus c41sx windows 7 driver, Ios 7 beta 6 legal ipsw iphone 5, Kalavar king telugu movie mp3 songs, Riff for ubuntu 13.04, Diablo 2 lod able items, Cults static zip, I am the bread of life

OpenWRT and no IP data

I was recently attemping to get Home-Assistant to understand I was ‘home’ by scanning SNMP on my various OpenWRT powered Meraki access points.

All the devices were showing as associated in the web UI, but were not being listed in the SNMP or LUCI API output when being queried either by snmpwalk or by home-assistant itself.

I subsequently discovered that snmpd will only list a device if OpenWRT knows the IP address – which it will only have obtained if it’s actively communicated with the device, such as by OpenWRT itself offering a DHCP address. Since I don’t run DHCP servers on my access points, the quickest way to a solution was to have a schedule task cron job that does a broadcast ping every few minutes.

In scheduled tasks, simply have the following…

*/5 * * * * /usr/bin/fping -g 172.24.32.0/24

After a few minutes, the associated device list will also have IP addresses listed against each device, and SNMP will start reporting the correct data. Home-Assistant will then be able to determine if your device is home, or not

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.