All Projects → Nekmo → Amazon Dash

Nekmo / Amazon Dash

Licence: mit
Hack your Amazon Dash to run what you want.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Amazon Dash

Homeassistant Config
Stars: ✭ 211 (-69.99%)
Mutual labels:  home-assistant, home-automation, amazon, ifttt, iot
Home Assistant
Home-Assistant-Config
Stars: ✭ 182 (-74.11%)
Mutual labels:  home-assistant, home-automation, amazon, iot
Dasshio
Hass.io add-on to easily use Amazon Dash Buttons with Home Assistant
Stars: ✭ 140 (-80.09%)
Mutual labels:  home-automation, amazon, dash, iot
jarvis
Jarvis Home Automation
Stars: ✭ 81 (-88.48%)
Mutual labels:  home-automation, amazon, home-assistant, ifttt
Dsckeybusinterface
An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
Stars: ✭ 202 (-71.27%)
Mutual labels:  home-assistant, home-automation, openhab, iot
Home Assistantconfig
🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to ⭐ it. Updated FREQUENTLY!
Stars: ✭ 3,687 (+424.47%)
Mutual labels:  home-assistant, home-automation, amazon, iot
Homeassistant
Example Home Assistant Configs
Stars: ✭ 168 (-76.1%)
Mutual labels:  home-assistant, home-automation, iot
Home assistant files
Here are my Home Assistant configuration files
Stars: ✭ 159 (-77.38%)
Mutual labels:  home-assistant, home-automation, iot
Bruh2 Home Assistant Configuration
(OBSOLETE) BRUH2 Home Assistant Configuration
Stars: ✭ 205 (-70.84%)
Mutual labels:  home-assistant, home-automation, iot
Bruh3 Home Assistant Configuration
(OBSOLETE) BRUH3 Home Assistant Configuration
Stars: ✭ 347 (-50.64%)
Mutual labels:  home-assistant, home-automation, iot
Entity Controller
Entity and lighting controller for managing devices via timers, scripts, and sun-based time restrictions.
Stars: ✭ 156 (-77.81%)
Mutual labels:  home-assistant, home-automation, iot
Brad Homeassistant Config
Home Assistant configuration
Stars: ✭ 212 (-69.84%)
Mutual labels:  home-assistant, home-automation, iot
Miflora Mqtt Daemon
Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼🥀🏡🌳
Stars: ✭ 409 (-41.82%)
Mutual labels:  home-assistant, home-automation, openhab
Feature Requests
ESPHome Feature Request Tracker
Stars: ✭ 160 (-77.24%)
Mutual labels:  home-assistant, home-automation, iot
Esphome
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Stars: ✭ 4,324 (+515.08%)
Mutual labels:  home-assistant, home-automation, iot
Home Assistant Cli
💻 Command-line tool for Home Assistant
Stars: ✭ 243 (-65.43%)
Mutual labels:  home-assistant, home-automation, iot
Awesome Home Assistant
A curated list of amazingly awesome Home Assistant resources.
Stars: ✭ 3,487 (+396.02%)
Mutual labels:  home-assistant, home-automation, iot
Esphome Core
🚨 No longer used 🚨 - The C++ framework behind ESPHome
Stars: ✭ 545 (-22.48%)
Mutual labels:  home-assistant, home-automation, iot
Smart Home
Phodal's Smart Home Setup Guide:HomeBridge + Home Assistant + Amazon Echo
Stars: ✭ 149 (-78.81%)
Mutual labels:  home-assistant, home-automation, iot
Temper Esp8266
Temper is a compact temperature sensor based on ESP8266 and SHT30 with large 13x7 pixel led display.
Stars: ✭ 155 (-77.95%)
Mutual labels:  home-assistant, home-automation, iot

.. image:: https://raw.githubusercontent.com/Nekmo/amazon-dash/master/amazon-dash.png :width: 100%

|

.. image:: https://img.shields.io/github/workflow/status/Nekmo/amazon-dash/Tests.svg?style=flat-square&maxAge=2592000 :target: https://github.com/Nekmo/amazon-dash/actions?query=workflow%3ATests :alt: Latest Tests CI build status

.. image:: https://img.shields.io/pypi/v/amazon-dash.svg?style=flat-square :target: https://pypi.org/project/amazon-dash/ :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/pyversions/amazon-dash.svg?style=flat-square :target: https://pypi.org/project/amazon-dash/ :alt: Python versions

.. image:: https://img.shields.io/codeclimate/github/Nekmo/amazon-dash.svg?style=flat-square :target: https://codeclimate.com/github/Nekmo/amazon-dash :alt: Code Climate

.. image:: https://img.shields.io/codecov/c/github/Nekmo/amazon-dash/master.svg?style=flat-square :target: https://codecov.io/github/Nekmo/amazon-dash :alt: Test coverage

.. image:: https://img.shields.io/requires/github/Nekmo/amazon-dash.svg?style=flat-square :target: https://requires.io/github/Nekmo/amazon-dash/requirements/?branch=master :alt: Requirements Status

DEVELOPMENT BRANCH: The current branch is a development version. Go to the stable release by clicking on the master branch <https://github.com/Nekmo/amazon-dash/tree/master>_.

Amazon-dash is still alive ########################## Amazon has abandoned the Amazon-dash buttons, but this project wants to keep them alive <https://docs.nekmo.org/amazon-dash/future.html>_. However, we are looking for alternatives. If you have suggestions you are welcome to open an incident. All suggestions are welcome. You can open an issue with your suggestions.

Python Amazon Dash ################## Hack your Amazon Dash to run what you want. Without welders. For the entire family.

This program written in Python runs in daemon mode waiting for someone in the same network to press a configured Amazon Dash button. It is not necessary to know programming to use this program. Amazon-Dash executes commands by command line, calls a url and more. This program works well on a Raspberry PI or on computers with few resources.

  1. Install Amazon Dash:

.. code:: console

$ sudo pip3 install amazon-dash  # and after:
$ sudo python3 -m amazon_dash.install

Also available on AUR <https://aur.archlinux.org/packages/amazon-dash-git/>_ and FreeNAS <http://docs.nekmo.org/amazon-dash/installation.html#freenas>. You can also use pip2 and python2 if your system only has Python2, but Python 3 is the recommended version. See other installation methods in the documentation <http://docs.nekmo.org/amazon-dash/installation.html>.

Note: It may also be necessary to install tcpdump on your system (in Debian apt install tcpdump).

  1. Hack and configure Wi-Fi:

You must hack your button with the hack-device command <https://docs.nekmo.org/amazon-dash/rescue.html#hack>_ if you have never used it. Then you must configure the Wifi connection <https://docs.nekmo.org/amazon-dash/rescue.html#configure-wifi>_. You can skip this step if you have already configured the Wi-Fi connection to the router.

  1. Avoid a connection to Amazon servers

Since 2020 your buttons can be bricked in an update from Amazon servers. To continue using your buttons you must configure your router to block Internet connections from the buttons. More info in the Amazon-dash documentation <https://docs.nekmo.org/amazon-dash/block_connections.html>_.

  1. Use discovery mode to know the mac of your Dash (Run the program, and then press any button). You can skip this step if you already know the mac address:

.. code-block:: console

$ sudo amazon-dash discovery
  1. Edit config file (/etc/amazon-dash.yml):

.. code-block:: yaml

# amazon-dash.yml
# ---------------
settings:
  delay: 10
devices:
  0C:47:C9:98:4A:12: # Command example
    name: Hero
    user: nekmo
    cmd: spotify
  AC:63:BE:75:1B:6F: # SSH example
    name: Tassimo
    cmd: door --open
    ssh: 192.168.1.23:2222
  AC:63:BE:67:B2:F1: # Url Webhook example
    name: Kit Kat
    url: 'http://domain.com/path/to/webhook'
    method: post
    content-type: json
    body: '{"mac": "AC:63:BE:67:B2:F1", "action": "toggleLight"}'
    confirmation: send-tg
  40:B4:CD:67:A2:E1: # Home Assistant example
    name: Fairy
    homeassistant: hassio.local
    event: toggle_kitchen_light
  18:74:2E:87:01:F2: # OpenHAB example
    name: Doritos
    openhab: 192.168.1.140
    item: open_door
    state: "ON"
    confirmation: send-pb
  44:65:0D:75:A7:B2: # IFTTT example
    name: Pompadour
    ifttt: cdxxx-_gEJ3wdU04yyyzzz
    event: pompadour_button
    data: {"value1": "Pompadour button"}
confirmations:
  send-tg:
    service: telegram
    token: '402642618:QwGDgiKE3LqdkNAtBkq0UEeBoDdpZYw8b4h'
    to: 24291592
    is_default: false
  send-pb:
    service: pushbullet
    token: 'o.BbbPYjJizbPr2gSWgXGmqNTt6T9Rew51'
    is_default: false

UPGRADE from previous versions <http://docs.nekmo.org/amazon-dash/installation.html>_

The following execution methods are supported with your Amazon Dash button with this program:

================================ ================================ ================================ .. image:: https://goo.gl/VqgMZJ .. image:: https://goo.gl/a6TS7X .. image:: https://goo.gl/zrjisq System command_ Call url_ Homeassistant_ .. image:: https://goo.gl/Cq4bYC .. image:: https://goo.gl/L7ng8k OpenHAB_ IFTTT_ ================================ ================================ ================================

Amazon-dash also allows you to send a confirmation after pressing a button. You will also receive a message in case of failure. Telegram and Pushbullet are supported.

For more information see the documentation of the configuration file <http://docs.nekmo.org/amazon-dash/config_file.html>_.

  1. Run the daemon:

If you use a Systemd system (Debian 8+, Fedora 15+, Ubuntu 15.04+, Arch Linux 2012+, OpenSUSE 12.1+, and more) execute:

.. code-block:: console

$ sudo systemctl start amazon-dash

To run Amazon-dash at startup:

.. code-block:: console

$ sudo systemctl enable amazon-dash

To run Amazon-dash manually look at the documentation <http://docs.nekmo.org/amazon-dash/usage.html>_.

Docker

Using Amazon Dash within docker is easy! First, pull the Docker image:

.. code-block:: console

$ docker pull nekmo/amazon-dash:latest

Then, create a container and run Amazon Dash itself:

.. code-block:: console

$ docker run -it --network=host \
             -v </full/path/path/to/amazon-dash.yml>:/config/amazon-dash.yml \
             nekmo/amazon-dash:latest \
             amazon-dash run --ignore-perms --root-allowed \
                             --config /config/amazon-dash.yml

Join the community

Do you need ideas on how to use Amazon Dash? See what the community does with this project. Some examples:

  • The Simpsons Random Episode <http://docs.nekmo.org/amazon-dash/community.html#the-simpsons-random-episode>_
  • Shopping list in Google Keep <http://docs.nekmo.org/amazon-dash/community.html#shopping-list-in-google-keep>_
  • Play a audio <http://docs.nekmo.org/amazon-dash/community.html#play-a-audio>_

See all the examples in the community_.

.. _System command: http://docs.nekmo.org/amazon-dash/config_file.html#execute-cmd .. _Call url: http://docs.nekmo.org/amazon-dash/config_file.html#call-url .. _Homeassistant: http://docs.nekmo.org/amazon-dash/config_file.html#homeassistant-event .. _OpenHAB: http://docs.nekmo.org/amazon-dash/config_file.html#openhab-event .. _IFTTT: http://docs.nekmo.org/amazon-dash/config_file.html#ifttt-event .. _in the community: http://docs.nekmo.org/amazon-dash/community.html

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].