Go to file
matlen67 b0940783b6
Add files via upload
2018-11-28 19:24:15 +01:00
ansluta arduino code Add files via upload 2018-11-28 19:24:15 +01:00
NodeMCU spi-data.png Add files via upload 2018-11-26 21:10:00 +01:00
README.md Update README.md 2018-11-28 19:14:45 +01:00
WLC-24D.png Add files via upload 2018-11-27 03:50:24 +01:00
arduino_boardmanager.png Add files via upload 2018-11-27 04:02:12 +01:00
arduino_esp8266_config.png Add files via upload 2018-11-27 03:58:23 +01:00
connect_spi_NodeMCU_CC2500.pdf Add files via upload 2018-11-26 21:10:00 +01:00
fhem_dummy.png Add files via upload 2018-11-28 18:57:34 +01:00
prototype.jpg Add files via upload 2018-11-28 16:21:14 +01:00
webcontrol.jpg Add files via upload 2018-11-26 21:10:00 +01:00

README.md

ansluta-control

webcontrol Ikea Ansluta 2,4Ghz

This project was created to control the Ikea Omlopp/Utrusta lights by webbrowser or add it to a home automation system (FHEM)

I used folloing components:

Hardware:

Software:

Get your Ansluta address bytes

  • start Arduion ide, load project files
  • edit ansluta.ino -> set your SSID and Wlankey at row 40, 41
  • write project to nodeMCU
  • determine your nodeMCU IP and connect browser. example: 192.168.178.130/ansluta/getAddress
  • press button on original remote
  • note your AddressBytes
  • edit ansluta.ino -> set your AddressByteA and AddressByteB at row 54, 55
  • write project to nodeMCU

Control the lights via webbrowser

connect to the nodeMCU IP press button: off, 50% or 100% to toggle the lights

Control the lights via FHEM

create dummy switch and notify to call the url

define AnslutaButton0 dummy
attr AnslutaButton0 alias Ansluta lights off
attr AnslutaButton0 devStateIcon .*:FS20.on@grey
attr AnslutaButton0 room Ansluta
attr AnslutaButton0 webCmd off

define anslutaButton0_notify notify AnslutaButton0:off  { system("curl 192.168.178.130/ansluta/0") }

define AnslutaButton50 dummy
attr AnslutaButton50 alias Ansluta lights 50%
attr AnslutaButton50 devStateIcon .*:FS20.on@orange
attr AnslutaButton50 room Ansluta
attr AnslutaButton50 webCmd on

define ansluta50_notify notify AnslutaButton50:on { system("curl 192.168.178.130/ansluta/50") }

define AnslutaButton100 dummy
attr AnslutaButton100 alias Ansluta light 100%
attr AnslutaButton100 devStateIcon .*:FS20.on@yellow
attr AnslutaButton100 room Ansluta
attr AnslutaButton100 webCmd on

define ansluta100_notify notify AnslutaButton100:on { system("curl 192.168.178.130/ansluta/100") }