Package description
Project description
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
http://stackoverflow.com/questions/36215201/python-scapy-sniff-without-root
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
amazon-dash-0.1.3.tar.gz
(8.8 kB
view hashes)