atiderko / esp8266-ansulta-alexa

A cheep solution to control your IKEA OMLOPP and UTRUSTA lights by Amazon's Alexa.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alexa ESP8266 Ansulta controller

A cheep solution to control your IKEA OMLOPP and UTRUSTA lights by Amazon's Alexa.

How to use:

  1. Buy and connect the hardware
  2. Build and flash the software
  3. Configure your module

Hardware

  • You should already have Ansulta remote Control link
  • Mini USB power charger.
  • WeMos D1-mini from aliexpress.com or similar.
  • Wireless-transceiver-modul CC2500 from aliexpress.com.
  • If you want it modular, you can use adapter boards. But you can connect the ESP8266 and CC2500 directly.

My module topMy module bottomConnection scheme

Software

Configuration

  1. On first start an AP for web configuration portal is launched with SSID "AnsultaAP". Take your smartphone to connect to this AP. Once connected you can select your WiFi enter password and name for device shown in Alexa.
  2. First option: name of the lamp, second option: timeout for motion detection (0: disable), third option: light intensity if motion (PIN: D0) and light (PIN: A0) sensor connected.
  3. After the module is successful connected to WiFi you have to push the button (several times if needed) on your Ansulta Remote Control.
  4. If the address was learned the modules tries to switch them in follow order: 50% - 1s - 100% - 1s - 50% - 1s - OFF.

The LED on ESP should be now off and not blink!

  1. Let search Alexa for Smart Home devices. I use it with Amazon Echo Plus.
  2. That's all. You can now switch and dim (50% and 100%) the lights in your kitchen by Alexa.

If WiFi is not connected or Ansulta address not learned the LED glow or blink. You can reset the settings by pushing the reset button twice. The ESP starts again with AP for web configuration portal. Repeat all configuration steps again.

References to used code

Thanks for support

About

A cheep solution to control your IKEA OMLOPP and UTRUSTA lights by Amazon's Alexa.

License:MIT License


Languages

Language:C++ 96.6%Language:C 3.4%