Wireless Doorbell - (Raspberry PI & Amazon Dash)





Introduction: Wireless Doorbell - (Raspberry PI & Amazon Dash)

About: I am passionate about technology, cycling and art. This would explain why my bike has more computing power than your average office. I'm an editor for pocketables.com and xda-developers.com . Follow me throu...

What does it do? (see video)

When the button is pressed, Raspberry discovers new device logging on the wireless network. This way- it can recognise the button being pressed and pass the information about this fact to your mobile (or a device of your choice)

In this project you will see how to change the Amazon Dash into a wireless doorbell.
(Video tutorial link in the last step)

Things you'll need for this project:

Amazon Dash Button - Amazon offers WIFI buttons in USA which can be set up to skip the Amazon functionality, and make it work as a wireless button or a switch.

Tasker - Android app, which allows you to automate everyday tasks, we will be using this framework to display notification on the mobile

AutoRemote - Tasker plugin which allows communitcation between mobile and raspberry

Raspberry Pi - micro computer which will scan network for WIFI button presses - has to be connected to the network (via WIFI or LAN)

Step 1: Setting Up WIFI Button

Connect the button to WIFI

  1. Press the button for 5 sec to enter the device into a WIFI broadcast mode.
  2. Open your mobile (or any wifi device) and look for the Amazon Configure Me
  3. Once connected to the device open a web browser and navigate to
  4. Select your network and enter your password
  5. Your button now is ready to rock

Step 2: Setting Up Raspberry PI

Looking up the MAC of your buttons

Please make sure you have following libraries installed:

sudo apt-get install tcpdump

sudo apt-get install arp-scan

sudo pip3 install scapy-python3

Use Doorbell.py script to find out MAC for your button - see comments in the script.

Script has been updated and modified for Python 3

Setting up the scrip responsible for intercepting button presses

We will need to modify the doorbell.py script, open it and replace YOUR BUTTON MAC GOES HERE with the MAC saved from the step above. Look for YOUR AR KEY GOES HERE - this is where the Autoremote keys will be pasted. I will show you how to obtain the keys in the next step.

If you have the new buttons JK29LP - please see this post for the correct python3 script:

Step 3: AutoRemote and Tasker


Open AR on your mobile and go to your personal URL (something like http://goo.gl/xXxXx). The address bar will contain the key we need for the doorbell.py - it will start with:


Copy the key (all after the = symbol) and replace the YOUR AR KEY GOES HERE in the script.


We are going to create a profile. Our condition is an EVENT-plugin- Autoremote and set the filter to AmazonGreen (or whatever message you have used in doorbell.py)

Create a Task that will display notification. Open Alert - Notify and type your information. This message will be displayed on your screen.

Profile is provided as a project file.

Step 4: End Tips

Your Raspberry is ready to intercept the button presses. It allows for one press every 6-10 sec, and multiple buttons can be pressed as well. As long as script is running - you can receive the notifications (consider running it at start)

Script should display below warning when operating:

WARNING: No route found for IPv6 destination :: (no default route?)

You can peel of the default label using a sharp tool and glue it other way around or use it as stencil to generate your own. (see picture)

If you want to run this script at startup use rc.local method, put sleep 10before the line with your script to allow the execution.

Full video tutorial on my YouTube channel:
Wireless Doorbell

Hack Your Day Contest

Second Prize in the
Hack Your Day Contest



  • Creative Misuse Contest

    Creative Misuse Contest
  • Clocks Contest

    Clocks Contest
  • Water Contest

    Water Contest

55 Discussions

Thank you all who voted for me!
Thanks to your kindness I was able to win 2nd prize in the contest! - You are awesome! I'm new to the website and I hope this will encourage you to share the great stuff you make!
Good luck!

Instructable updated, errors removed and script updated to python 3
See description.

Thanks for likes and votes


1 year ago

Hi I have this error :

pi@raspberrypi:~ $ python doorbell.py
Traceback (most recent call last):
File "doorbell.py", line 8, in <module>
import urllib.request
ImportError: No module named request

Do you have any idea to solve it?


3 replies

Hey, do you have an old or new button? Check this post out - it should help you:

Yes I have the new model : JK29PL
I already tried the modified version, same error.
Maybe I'm doying something wrong, here are the scripts I tried, if you could have a look :


Thanks a lot.

are you running this via python or python3 ? the message you get means the python is unable to find the correct library - which should be served with python3 already.


2 years ago

I used this article over a month ago to create my own 'hack' for it as a notification system. I am experiencing issues, though. It is used quite a lot so I am thinking because these buttons are not meant to be used so often they are failing quicker.

I have a system that has 6 buttons and when you click one I created a small one page app using node.js to detect the arp request and then flash a div on the screen (all on an rPi) you tap the touch screen on the flashing box to close it.

The problem is with the buttons one of them died completely, it does not do anything anymore, no light or anything.

Other times the rPi fails to detect the packets. I am using an rPi 3 with the built on wifi adapter so it's more reliable than the USB one. It would work great for 2-3 days then fail and need a reboot (with no real good reason) and then work for a couple more days and one or two buttons would fail. Now, it is not working at all.

I am wondering if anyone else had problems like this ?

3 replies

I found the best performance to be when RPI is wired to the router. Make sure you get good reception for your buttons, remember that only because your mobile/pc is in range doesn't mean that button is able to broadcast, the one that died - you can try to replace the battery. Dash specs say they aim for 1000 pushes per button battery wise.
I had to restart the script few times (usualy after few days) but im not sure what is the issue behind this one, rebooting your RPI daily with autoloading script seem to be the way to go

Well, they all would work great for a couple days, so I know the range is not the problem. This last time we had the problem it didnt work at all and I brought the button to the front room which is near the router also and it still didnt work.

I am likely going to revamp the system entirely and integrate the same function that the button provides into something else using the rPi.

I thought it worked so well but we're just having issue after issue, it's unfortunate that this didn't work out.

the only solution I can think of would be flic.io but with the steep price tag, it may be a little too much to ask for

Very nice! Curious about the Bounty and Tide logos on the buttons?

3 replies

I'm planning on using one to use as a notifier for our washing machine as it doesn't have a buzzer built in so my Tide branded one is perfect for that!

Are you trying to mod the button into the washing machine? -I would like to see this in action:) cool idea. If this is the case a lot of devices could be IoT enabled this way:)

These are default stickers. Can be removed. Amazon dash comes with several brands stickers meant to make it easier to order products. In my guide they have obviously no influence :) although I could eat a bounty bar now:!

This is such a great ible! I'm making one right now. My wife just asked if it would be possible to add an electric door lock to the equation; any thoughts or suggestions? I'm a retired electronics guy but I'm a noob at coding!

1 reply

I can't see why not. It would be a matter of powering a electro magnet on/off when button is pressed so a relay could take care of this and a hall sensor could assure that you get a feedback once door is open or closed


2 years ago

Python3 version works great! :D I had to modify it because I am not using appspot, but it works very well for my purposes. Thank you again!

1 reply

I got (the first of) my buttons today. So that was pretty quick.

I'm off to start using one! For... something. :)

1 reply

All issues fixed with the new script (python 3) see description and file attached