dersimn / owrtwifi2mqtt

Using your OpenWRT Router's Wifi to detect if a person's smartphone is still in/near the apartment and publish via MQTT
74 stars 24 forks source link

only 13 devices sent to my broker. #15

Closed MattL0 closed 5 years ago

MattL0 commented 5 years ago

I only saw 13 different mac adress Is that normal?

The script works great for those ip.

thanks a lot

MattL0 commented 5 years ago

haaa sorry... I get it. This is only for wifi device.

Is there a possibility to expend this for all connected device?

dersimn commented 5 years ago

You could try to get your information about wired clients from the DHCP reservation list (same thing that is shown on the first 'Status' page of OpenWRT's LuCI).

That would only cover clients that are actually using DHCP and you won't find out if a client is gone, because clients only contact the DHCP when they arrive, not when they leave.

MattL0 commented 5 years ago

thanks !