Posts

Showing posts from 2015

Tracking migraines and the world of the Internet of Things

I recently read a post by Ted Benson titled, How I Hacked Amazon’s $5 WiFi Button to track Baby Data, where he sniffs for the ARP request of an Amazon Dash Button to log data. The Amazon Elements Dash button cost only $4.99 so I ordered one immediately.

My idea is to use it to track when I have migraines to better pinpoint things that trigger it. Usually when I get a migraine I am not keen on trying to write it down (although I should) so I thought this may be an easy way to do it. Just press a button!

Once I received my button I started adapting Ted's code. The CloudStich service is incredibly easy to use! I signed up for an account, got a personal URL, and was ready to log information to Google spreadsheets!

Getting the Code to Run:
My biggest hurdle was getting requisite Python libraries installed on my Macbook Pro. To intercept network traffic for the Dash button, Python uses the the Scapy library.

from scapy.all import *
Even after installing scapy, when I tried to import it, I…