Package: amazon-dash
Amazon-dash is still aliveAmazon has abandoned the Amazon-dash buttons, but this project wants to keep them alive. 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 DashHack 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 executescommands by command line,
calls a url and more. This program works well on aRaspberry PIor on computers
with few resources.InstallAmazon Dash:$sudopip3installamazon-dash# and after:$sudopython3-mamazon_dash.installAlso available onAURandFreeNAS. You can also usepip2andpython2if your system only has Python2, but Python 3 is the recommended version. See other installation
methodsin the documentation.Note:It may also be necessary to installtcpdumpon your system (in Debianapt install tcpdump).Usediscovery modeto know the mac of your Dash(Run the program, and then press any button):$sudoamazon-dashdiscoveryEditconfig file(/etc/amazon-dash.yml):# amazon-dash.yml# ---------------settings:delay:10devices:0C:47:C9:98:4A:12:# Command examplename:Herouser:nekmocmd:spotifyAC:63:BE:75:1B:6F:# SSH examplename:Tassimocmd:door --openssh:192.168.1.23:2222AC:63:BE:67:B2:F1:# Url Webhook examplename:Kit Katurl:'http://domain.com/path/to/webhook'method:postcontent-type:jsonbody:'{"mac":"AC:63:BE:67:B2:F1","action":"toggleLight"}'confirmation:send-tg40:B4:CD:67:A2:E1:# Home Assistant examplename:Fairyhomeassistant:hassio.localevent:toggle_kitchen_light18:74:2E:87:01:F2:# OpenHAB examplename:Doritosopenhab:192.168.1.140item:open_doorstate:"ON"confirmation:send-pb44:65:0D:75:A7:B2:# IFTTT examplename:Pompadourifttt:cdxxx-_gEJ3wdU04yyyzzzevent:pompadour_buttondata:{"value1":"Pompadourbutton"}confirmations:send-tg:service:telegramtoken:'402642618:QwGDgiKE3LqdkNAtBkq0UEeBoDdpZYw8b4h'to:24291592is_default:falsesend-pb:service:pushbullettoken:'o.BbbPYjJizbPr2gSWgXGmqNTt6T9Rew51'is_default:falseUPGRADEfromprevious versionsThe following execution methods are supported with your Amazon Dash button with this program:System commandCall urlHomeassistantOpenHABIFTTTAmazon-dash also allows you tosend a confirmationafter pressing a button. You will also receive a message in
case of failure.TelegramandPushbulletare supported.For more information seethe documentation of the configuration file.Run thedaemon:If you use aSystemdsystem(Debian 8+, Fedora 15+, Ubuntu 15.04+, Arch Linux 2012+, OpenSUSE 12.1+, and more)execute:$sudosystemctlstartamazon-dashTo run Amazon-dash atstartup:$sudosystemctlenableamazon-dashTo run Amazon-dash manually look atthe documentation.Avoid a connection to Amazon serversDecember 31 is the last day to block requests from your Amazon-dash buttons to Amazon servers. In 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. Alternatively you can block these domains:dash-button-na-aws-opf.amazon.com,0.amazon.pool.ntp.org,1.amazon.pool.ntp.org,2.amazon.pool.ntp.org,3.amazon.pool.ntp .org. However, it is recommended to block all requests from the buttons.DockerUsing Amazon Dash within docker is easy! First, pull the Docker image:$dockerpullnekmo/amazon-dash:latestThen, create a container and run Amazon Dash itself:$dockerrun-it--network=host\-v</full/path/path/to/amazon-dash.yml>:/config/amazon-dash.yml\nekmo/amazon-dash:latest\amazon-dashrun--ignore-perms--root-allowed\--config/config/amazon-dash.ymlJoin the communityDo you need ideas on how to use Amazon Dash? See what the community does with this project. Some examples:The Simpsons Random EpisodeShopping list in Google KeepPlay a audioSee all the examplesin the community.