RepositoryC++
ph1p

ph1p/ikea-led-obegraensad

ESP32/Arduino hack for the ikea OBEGRÄNSAD led wall lamp

904sao
191fork
0issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: mqtt

#1 Repository của ngày

1
TINIX TRENDING·Chủ đề: arduino

#1 Repository của ngày

1
TINIX TRENDING·Chủ đề: esp32-arduino

#1 Repository của ngày

IKEA OBEGRÄNSAD Hack/Mod

Replace the controller of the IKEA OBEGRÄNSAD LED wall lamp with an ESP32 or ESP8266 and turn it into a Wi-Fi connected 16×16 pixel display: 40+ plugins, a web interface for live drawing, an HTTP and WebSocket API, MQTT with Home Assistant discovery, DDP and Art-Net.

📖 Documentation · Hardware · Home Assistant · HTTP API · Releases

[!WARNING] Use this code and these instructions at your own risk. Opening the lamp voids its warranty, and improper wiring can damage the device. Always unplug the lamp before you open it.

Drawing on the lamp from the Web GUI

Features

  • Web GUI to draw live, import images, build animations, rotate the display and change settings
  • 42 plugins: clocks (Pong, Smoke, Fractal, Big Clock), weather, games (Snake, Tetris, Breakout, Flappy Bird, Space Invaders), Game of Life, falling sand, fireworks, animations and more
  • Plugin scheduler that switches plugins every n seconds, also from the hardware button
  • Scheduled brightness to dim the display at night, plus a display on/off switch
  • Home Assistant via MQTT discovery: light, plugin select, message text, schedule switch and more
  • Scrolling messages and small graphs from any script or automation
  • DDP and Art-Net to stream frames from xLights, LedFx or your own scripts
  • OTA updates and Wi-Fi setup through a captive portal

Quick start

  1. Open the lamp and wire a microcontroller to the input pads of the lowest panel. Remove the original controller chip (U1). See Hardware.

  2. Flash the firmware with PlatformIO:

    git clone https://github.com/ph1p/ikea-led-obegraensad.git
    cd ikea-led-obegraensad
    pio run -e esp32dev -t upload
    

    Other boards: esp32c3, esp32s3, ESP32-wemos, nodemcuv2, d1_mini, d1_mini_pro-ota. See Flashing.

  3. Connect to Wi-Fi. On first boot the ESP32 opens a network called IKEA. Join it and pick your Wi-Fi in the captive portal. ESP8266 boards read the credentials from include/secrets.h. See Wi-Fi setup.

  4. Open the Web GUI at the IP address of the lamp. You find it in the serial monitor or your router.

https://github.com/user-attachments/assets/ddf91be1-2c95-4adc-b178-05b0781683cc

Hardware

Inside the lamp are four panels with 64 LEDs each. Only the lowest panel (1) matters: it has six input pads at the top edge and the original controller (U1) at the bottom, which you unsolder.

The four LED panels inside the lamp Input pads and the controller to unsolder

Input pads: VCC, CLA, CLK, DI (IN), EN, GND
PanelESP32ESP32-C3TTGO LoRa32NodeMCUv2Wemos D1 miniLolin D32 (Pro)Xiao ESP32S3
GNDGNDGNDGNDGNDGNDGNDGND
VCC5V5V5VVIN5VUSBVUSB
EN (PIN_ENABLE)GPIO26GPIO3IO22GPIO16 D0GPIO16 D0GPIO26D4 (GPIO5)
IN (PIN_DATA)GPIO27GPIO4IO23GPIO13 D7GPIO13 D7GPIO27D10 (MOSI)
CLK (PIN_CLOCK)GPIO14GPIO5IO02GPIO14 D5GPIO14 D5GPIO14D8 (SCK)
CLA (PIN_LATCH)GPIO12GPIO6IO15GPIO0 D3GPIO0 D3GPIO12D5 (GPIO6)
BUTTON one endGPIO16GPIO7IO21GPIO2 D4GPIO2 D4GPIO25D3 (GPIO4)
BUTTON other endGNDGNDGNDGNDGNDGNDGND

Pins are set in include/constants.h. The original button can also be used without extra wires, see issue #79.

ESP32 dev board pinout ESP32 dev board pinout (image by Otto Winter)

Home Assistant

Open Settings → MQTT / Home Assistant in the Web GUI, enter your broker and save. With discovery on, the lamp appears in Home Assistant as the device OBEGRÄNSAD LED, no YAML needed.

You can also use the HACS integration (websocket, no broker) or rest_command with the HTTP API. All three are described in the Home Assistant guide.

API

Everything the Web GUI does is available over HTTP, WebSocket and MQTT:

curl http://your-lamp/api/info                              # state, plugins, brightness
curl -X PATCH "http://your-lamp/api/plugin?id=7"            # switch plugin
curl -X PATCH "http://your-lamp/api/brightness?value=100"   # 0-255
curl -X PATCH "http://your-lamp/api/power?state=off"        # on, off, toggle
curl "http://your-lamp/api/message?text=Hello&repeat=3"     # scrolling message

Full reference

Troubleshooting

The display flickers, stays black or the board reboots in a loop? Usually the supply voltage drops. Power the matrix and the microcontroller from separate 5 V sources with a common ground. More in Troubleshooting.

Development

PathContents
src/firmware (C++, PlatformIO)
include/headers, plugins and constants.h with pins and features
frontend/Web GUI (SolidJS); pnpm build regenerates src/webgui.cpp
docs/this documentation (Vocs); pnpm dev for a local preview

Guides: Frontend, Writing a plugin, Contributing.

Suggestions and improvements are welcome. Open an issue or a pull request.

License

MIT

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
makerspet/oomwoo

Open-source vacuum robot cleaner

13.3k
Nov 26, 2026
RepositoryC++
esphome/esphome

ESPHome is a system to control your ESP32, ESP8266, BK72xx, RP2040 by simple yet powerful configuration files and control them remotely through Home Automation systems.

12.2k
Nov 27, 2026
RepositoryC++
FastLED/FastLED

The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github "issues" just for tracking library bugs / enhancements.

7.5k
Dec 2, 2026
RepositoryC++
cifertech/ESP32-DIV

ESP32DIV is a multi-purpose wireless offensive and defensive toolkit powered by an ESP32

4.4k
Sep 22, 2026
RepositoryC++
1technophile/OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.

4.1k
Nov 30, 2026
RepositoryRust
ruvnet/RuView

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

105.9k
Dec 2, 2026
RepositoryPython
blakeblackshear/frigate

NVR with realtime local object detection for IP cameras

38.1k
Nov 30, 2026
RepositoryC++
wled/WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP32 over WiFi!

19.2k
Dec 1, 2026
RepositoryC++
espressif/arduino-esp32

Arduino core for the ESP32 family of SoCs

17.8k
Dec 1, 2026