HomeRaspberry PiUse 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.

Conclusion

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.

PayPal

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

Patreon

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

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

M5Paper

Programable, ESP32 based awesome dev platform with 4.7 e-ink display by M5Stack

More HATs

client-image
client-image

Argon One M.2

Enclose Raspberry Pi 4 inside this great case with custom I/O, cooling and GPIO and M.2 SSD support

More cases on

client-image
client-image

Best Raspberry Pi Projects

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

0
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.

Slow Internet Warning

0
From time to time my Internet grinds to a stop. Since Raspberry Pi 4 comes with a 1Gbps Ethernet, I decided to take advantage of it and create a reporting system in NodeRED that will monitor and report when the ISP is not keeping the contractual agreements. Works with Alexa, Google Home, Android and Windows 10.

How fast Raspberry Pi NAS is?

0
Let's see how fast Raspberry Pi NAS really is?

Argon18: Argon ONE SSD modification

0
Argon One case just got better - now you can boot it from USB without ruining the design thanks to Argon 18: Argon One SSD modification

HOW TO...

It took me 2 months to boot CM4 from NVMe

0
Complete beginners guide to Compute Module 4 boot from NVMe.

Raspberry Pi Zero 2 W vs other Zero boards

0
It's time to test the Raspberry Pi Zero 2 W against other Raspberry Pi boards from Zero series: power, WiFi, temperature and core performance

C/C++ and MicroPython SDK for Raspberry Pi Pico on Windows

0
A guide to SDK toolchain for Raspberry Pi Pico and C/C++ , Micropython on Windows.

A comprehensive guide to Grafana & InfluxDB

0
How to use Grafana and InfluxDB on Raspberry Pi for IoT sensors in home automation

How to boot Raspberry Pi 4 from USB

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