Skip to content

Docker for Synology. Amazon Dash Button hack, Python3 Scapy (Google Sheets & Calendar, IFTTT). Light weight Alpine-based.

Notifications You must be signed in to change notification settings

BernhardBruns/docker-amazon-dash-button-hack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork: add type "httpget" to make a simple http-get request e.g. for home assistant automatation

Build StatusDocker Automated build

This is a Docker Hub container for the Amazon Dash Button hack.

It sniffs the network to intercept Amazon Button communications with Amazon, thereby detecting button presses.

It can write to Google Sheets, Google Calendar and fire event in IFTTT.

I use it on my Synology for IoT calendar.

To run the container on Linux:

docker run \
    --net host \
    -it \
    --rm \
    -v $PWD/../amazon-dash-private:/amazon-dash-private:ro \
    andgineer/amazon-dash-button-hack

In folder ../amazone-dash-private you should have:

Examples of this files.

See details in User manual.

MacOS and Windows

You cannot sniff network from Docker containers running on MacOS and Windows because they do not run docker demon natively but use Virtual Machine to run it.

So to debug on MacOS and Windows:

. ./activate.sh
sudo python src/amazon_dash.py

Developers

We use collections.abc so min Python3.10

API docs

Scripts

To see list of scripts:

make help

About

Docker for Synology. Amazon Dash Button hack, Python3 Scapy (Google Sheets & Calendar, IFTTT). Light weight Alpine-based.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.3%
  • Shell 5.1%
  • Makefile 1.2%
  • Dockerfile 0.4%