smokeping to home assistant - monitor wan latency with rest sensors

hey all,

sharing a small project that exposes smokeping latency data to home assistant via rest sensors. if you’re already running smokeping and want that data in HA for dashboards or automations, this might save you some time.

what it does

  • lightweight python api that reads smokeping rrd files and serves json
  • ha polls it with rest sensors (default 60s interval)
  • supports multiple wan connections (i use it to compare fios vs comcast)
  • tracks latency and packet loss per target
  • includes binary sensors for wan health status
  • example automations for alerts when things degrade

resource usage (tested on a raspberry pi 3):

  • memory: ~19mb (about 2% of the pi’s ram)
  • cpu: basically nothing
  • ha side: 120 requests/hour, around 60kb/hour total
    links
  • github: GitHub - rplancha/smokeping-ha
  • needs: python 3.9+, rrdtool, smokeping with rrd data

repo has the api script, systemd service, ha sensor configs, mushroom dashboard cards, and alerting automations.