pucherot / Pi.Alert

WIFI / LAN intruder detector. Check the devices connected and alert you with unknown devices. It also warns of the disconnection of "always connected" devices
GNU General Public License v3.0
1.98k stars 121 forks source link

Use openwrt router's DHCP lease table #159

Open milindpatel63 opened 2 years ago

milindpatel63 commented 2 years ago

I am using an openwrt based router as a DHCP server in my network. Any way to use it's DHCP leases, like pihole....

Has anyone done a similar setup with other routers?

SupportingIT commented 2 years ago

I was wondering if there is an api to allow leases to be added and removed or a way to add them into the db with a simple php script. I use Mikrotik devices, and there is the abiolity to run script on events like leases which I curently use to add a static dns entry, but could easily pass this info on to something like Pi.Alert.