Skip to content

jjmonteiro/ha-net-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge GitHub release

Network Monitor Sensor

The Network Monitor integration for Home Assistant allows you to monitor the number of devices connected to your local network. This custom sensor leverages the power of network scanning tools to provide real-time data on the number of active devices within a specified IP range.

Features

  • Custom IP Range: Specify the IP range to scan, allowing for tailored monitoring of different network segments. Supports multiple formats, including CIDR notation and custom-defined ranges, separated by commas.
  • Real-Time Monitoring: Regularly updates the count of devices on your network, helping you keep track of connected devices. The scanner can run immediately after completing, only pausing for the pre-defined scan interval.
  • Multiple Protocol: Utilizes both ICMP and ARP protocols scanning for maximum detection accuracy.

Use Cases

  • Network Security: Keep an eye on how many devices are connected to your network and detect unauthorized access.
  • Home Automation: Trigger automations based on the number of devices connected to your network.
  • Network Management: Monitor network congestion and usage patterns by tracking device counts over time.

Installation

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

This integration can also be easily installed via HACS by adding the repository url to your custom repositories list.

Configuration

To configure the Network Monitor sensor, add the following to your configuration.yaml:

sensor:
  - platform: net_monitor
    name: My Network Monitor  # Customize the sensor name
    ip_range: 192.168.1.1/24  # Replace with your network's IP range
    scan_interval:            # Optional: Set the interval between scans
      minutes: 5  
      seconds: 0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages