Skip to content

Catbus daemon & tools for network presence (ARP, DHCP sniff, etc)

License

Notifications You must be signed in to change notification settings

ethulhu/catbus-networkpresence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catbus Network-Presence

A daemon to detect devices on a network and update Catbus accordingly.

Config

{
  "mqttBroker": "tcp://broker.local:1883",
  "devices": {
    "TV": {
      "mac": "aa:bb:cc:dd:ee:ff",
      "topic": "home/living-room/tv/power"
    }
  }
}

Methods

ARP scan

The daemon (and cmd/arp-scan tool) wraps arp-scan to detect devices that exist on the network, periodically polling.

Ping

TODO: ping devices that showed up on ARP scanning, to poll more frequently, to detect shutdowns faster.

DHCP sniff

TODO: implement a small DHCP server to pick up connects faster.

About

Catbus daemon & tools for network presence (ARP, DHCP sniff, etc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published