Nekmo / amazon-dash

Hack your Amazon Dash to run what you want.
MIT License
828 stars 67 forks source link

Any way of using as a presence detection for wifi devices on the network? #174

Open thefunkygibbon opened 3 years ago

thefunkygibbon commented 3 years ago

Put an x into all the boxes [ ] relevant to your issue (like this: [x])

What is the purpose of your issue?

So i was thinking, since this is just sniffing the network for the addition of specific mac addresses appearing and then informing Home Assistant (and others). I was wondering if it would be possible to do the same to alert HA that the person has Joined the network and then notify if they leave the network. Effectively becoming a better network presence sensor than using NMAP/ICMP

Nekmo commented 2 years ago

Yes, It can be used as a presence sensor :) However, if the device sends reconnection packets, the function could be executed several times.

chrissv commented 1 year ago

How would this work in practice? Wouldn't you have to keep pressing the Dash button to announce your "presence" ?