4 ms·
I got an email about how to do the dash button thing, so I figured I'd post my response here as well. I use this project: https://github.com/hortinstein/node-da
by vollmond 9y ago
I got an email about how to do the dash button thing, so I figured I'd post my response here as well. I use this project: https://github.com/hortinstein/node-dash-button https://github.com/hortinstein/node-dash-button
Here's how it works:
1. Figure out the dash button's mac address by network sniffing
2. Set up the dash partially, so it tries to make an order (but don't specify in your account exactly what to order, so it never completes)
3. Sniff the network for that mac address, and run an arbitrary script when you see it (this is the actual action, like my data logging)
4. For good measure, block outgoing requests from that address in your firewall
It's not 100% reliable, but it's still pretty useful.