Sign inSign up

juka/amazon-dashbutton

By juka

•Updated over 9 years ago

Docker image of a amazon dashbutton service

Image
1

1.3K

juka/amazon-dashbutton repository overview

⁠Amazon Dashbutton Hack with Python daemon in docker

⁠Installation

Generate your own config.json file (example⁠) and run this command afterwards:

docker run -d --name="dashbutton" --privileged --net=host -v $(pwd)/config.json:/app/config.json juka/amazon-dashbutton

⁠Find MAC addresses of dashbuttons

Run this command, to sniff buttons in your network:

docker exec -it dashbutton python find_button.py

⁠Compose example

Edit your local config.json file (example⁠) and generate a docker-compose.yaml, e.g.:

version: "2"
services:
  dashbutton:
    container_name: dashbutton
    image: juka/amazon-dashbutton:latest
    restart: always
    network_mode: host
    privileged: true
    volumes:
      - ./config.json:/app/config.json

⁠Sources & Inspiration:

Tag summary

Content type

Image

Digest

Size

267.6 MB

Last updated

over 9 years ago

docker pull juka/amazon-dashbutton