Skip to content

A quick and dirty command line tool to send push notifications when new devices are detected on the network.

License

Notifications You must be signed in to change notification settings

Justin-Credible/network-watcher-reporter

Repository files navigation

network-watcher-reporter

This is a quick and dirty command line tool used to take output from the Wireless Network Watcher (WNW) app and send push notifications when unidentified devices are found on the local network.

Pushes are sent using the Pushover API.

Overview

WNW has an option to execute an arbitrary executable when a new device is found. Unfortunately, it fires this command too often for me. It seems to fire after a device has been offline for a while, and then comes back online. This was undesirable for me, as I specifically wanted to get pushes when a new device is detected, but not for ones I was already aware of.

To achieve this, I set the User Text for each device entry in WNW with a description of the device. When new devices come online, this field is not set. This command line utility checks to see if the User Text field is empty, and if it is, will then send a push notification.

Usage

I've tested this with Wireless Network Watcher v1.97.

  1. Build this project using Visual Studio 2015
  2. Place the binary network-watcher-reporter.exe and network-watcher-reporter.exe.config at your preferred location
  3. Edit the configuration file to set your preferred log file path as well as Pushover API token/user.
  4. Open Wireless Network Watcher
  5. Go to Options → Advanced Options
  6. Set your network adapter and IP address range
  7. Enable Activate the beep/tray balloon alert only if the device is detected in the first time
  8. Set Background scan interval to your preferred time
  9. Enable Execute the following command when a new device is detected with the following command line, adjusting the path as necessary:

D:\network-watcher-reporter.exe "%device_name%" "%mac_addr%" "%user_text%" "%adapter_company%" "%ip_addr%"

About

A quick and dirty command line tool to send push notifications when new devices are detected on the network.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages