User:Omegix/Notes/Amazon Dash Button

From Makers Local 256
Jump to: navigation, search

Born On:
10:24, 24 October 2020 (CDT)
Last Updated:
13:38, 25 October 2020 (CDT)


Notes for how to rescue and setup deprecated amazon dash buttons.

Sniff Network for SSID probes

Raspberry Pi Setup

  1. Add latest repo to pi for Kismet. The default Kismet repo that the Pi has will install a version of Kismet whose log outputs are inaccessible until the Kismet application closes.

Tasks to Complete

  • * Kismet to write to txt file during runtime
  • Specify Log File name and location
  • Continuously grep file
  • awk the lines surrounding the grep to see if the SSID matches the SSID probed for by the button
  • Clear log file without crashing kismet after a condition is met
  • call another script (maybe an IFTTT script?) when condition is met

tail -f /location/of/thefile | grep -i -E "foo|bar"

sudo kismet logging_enabled=true log_prefix=/tmp/kismet log_types=kismet log_title=KismetJeff -c wlan0