Python Amazon Dash
Hack your Amazon Dash to run what you want. Without welders. For the entire family.
- Install Amazon Dash:
sudo pip install amazon-dash
- Use discovery mode to know the mac of your Dash (Run the program, and then press the button):
sudo amazon-dash discovery
- Create a config file:
# amazon-dash.yml # --------------- settings: delay: 10 devices: 0C:47:C9:98:4A:12: name: Hero user: nekmo cmd: spotify 44:65:0D:48:FA:88: name: Pompadour user: nekmo cmd: kwrite
- Run the daemon:
sudo amazon-dash run
Why root is required
This program needs permission to open raw sockets on your system. You can set this permission using setcap, but you must be very careful about who can run the program. Raw sockets permission could allow scaling permissions on the system:
setcap cap_net_raw=eip /usr/bin/pythonX.X setcap cap_net_raw=eip /usr/bin/tcpdump
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.