Home Raspberry Pi Use Amazon Dash as smart light remote

Use Amazon Dash as smart light remote

Amazon Dash strikes again, this time as a remote!

I have talked about the Tasker and Yeelight integration before. The recent app update has broken few things. I have submitted my feedback to Yeelight hoping for some Tasker functionality to be restored in the next patch. This gave me some time to play with the Yeelight Smart RGB bulb and Raspberry PI.  I used Amazon Dash as smart light remote!

Amazon Dash as smart light remote

Amazon Dash as smart light remote

The Yeelight smart RGB bulb offers an excellent API. I talked about this more in this article. I’m taking an older project of mine where the Amazon Dash is able to communicate with Raspberry Pi. We can use this to control the Yeelight light.

Buy Yeelight RGB smart bulb

Buy it using these links to support NotEnoughTech.

There are few obstacles that I have to overcome. I only have a single button, therefore, if I want to use the Amazon Dash as a smart light remote I need to use it as a  toggle. I also know that the button will send multiple calls once pressed, so I have to take this into consideration.

I’m planning to use the Amazon Dash button in 3 modes. I have more than one button and the modes will include:

  • simple toggle (one button, single light)
  • groups (one button, multiple lights)
  • inline switching (multiple buttons, single light)

I think these scenarios would be the most desirable. Let me know if you can think of any additional functionality I could try with Yeelight RGB lightbulb and Amazon Dash.

As you can see the button is working nicely, with about 4 sec delay and about 10 sec cooldown between presses. It may not be perfect for each light switch out there, but it’s a great way to use your Amazon Dash as smart light remote.


The tutorial is ready, so click here to learn how to set this up. Enjoy it! If you want to get Yeelight Smart Bulb, use the links below, I get a small kickback for each purchase made!

Project Download

Download project files here. Bear in mind that Patreon supporters have early access to project files and videos.


Nothing says "Thank you" better than keeping my coffee jar topped up!


Support me on Patreon and get an early access to tutorial files and videos.


Bitcoin (BTC)

Use this QR to keep me caffeinated in style with crypto-currency


Add an SSD to Raspberry Pi 4 and turn it into a super-cooled NAS drive.

More HATs

Argon One

Enclose Raspberry Pi 4 inside this great case with custom I/O, cooling and GPIO

More cases on

Best Raspberry Pi Projects

How to use Raspberry PI as WOL (wake on lan) server

While you could wake up your PC from a mobile directly, having a dedicated server capable of doing so is the best solution. The reason is simple. You can hook up as many devices as you wish with a single endpoint. This is why Raspberry Pi is perfect for this.

Free wireless doorbell (Amazon Dash button hack)

The most terrifying situation I can imagine* is missing a parcel

Raspberry Pi NAS: (NAS-pi) Modding like a boss #part2

Plex and RAID1 NAS drive build log

MagPi – auto-downloader

Grab each edition of Mag Pi as soon as possible!


How to boot Raspberry Pi 4 from USB

How to set up and boot Raspberry Pi 4 from USB drive - headless guide.

Raspberry Pi Zero, Raspberry Pi 3A+ WiFi without keyboard or cables

Getting Raspberry Pi boards connected in seconds

Everything you need to start using JSON

It's JSON not Jason, just saying!

How to use Join App in NodeRED

The day finally comes where Join app is almost everywhere!

Driving LCD with Arduino and Raspberry Pi

Displaying things on an LCD screen is as easy as going through a cup of jellybeans while writing this tutorial!