Send notification if and when a network device loses connectivity

Tags: #<Tag:0x00007fc3fb05a5c0>

This blueprint monitors a group of network devices and sends a notification message to a specified mobile app if and when a device from the group loses network connectivity.

Get started

Click the badge to import this Blueprint: (needs Home Assistant Core 2021.3 or higher)

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Or import this Blueprint by using the forum topic / Gist URL:

The devices to be monitored are organised in a group, e.g. like this (in groups.yaml):

  name: server connectivity
  all: true

In turn, these binary sensors are configured to use the “ping” platform (in configuration.yaml):

# Binary sensors
  - platform: ping
    name: abc
  - platform: ping
    name: xyz
    host: ww.xx.yy.zz

Replace “abc”, “xyz” and “”, “ww.xx.yy.zz”, respectively, with the names and hostnames/IP addresses of your network devices to be monitored.


Maybe it’s better to put the blueprint on Github Gist, then you can also add a my button on your topic :wink:

Ok, thanks. Done!

I’ve updated your topic and I will include your blueprint in the community highlight :smiley:

What´s the advantage of this blueprint compared to a manual automation when having network devices already available as device_tracker entities e. g. by router integration (so not based on ping sensors)?

Don´t all those ping sensors put additional (but of course minimal) traffic to the network and devices?

Anyway I guess nice and pretty helpful especially for beginners without any existing “network monitoring system”.

It’s useful when you want to monitor network devices as a group, and you may have several of such groups, and you can’t or don’t want to use your router integration for this purpose. Sure, you can create manual automations, but then you can then do that for any blueprint.

Not all of the network devices are tracked by a router - some of these are remote devices outside your home network. And, yes, sure, additional pinging causes additional network traffic, but that’s rather minimal.

And, yes, this is meant as a quick-and-dirty solution to the network device tracking problem, which doesn’t require anything else.