I’d like to share my small integration project called WLED Live View Proxy. It allows you to see a real-time preview of the current effect running on your WLED lights, similar to the built-in “peek” feature of WLED, directly within your Home Assistant dashboard.
Why did I make this? I wanted a secure and convenient way to remotely preview my lights directly from Home Assistant without using iframes or exposing the WLED interface externally. So I built a secure websocket proxy and a simple-to-use Lovelace card.
The project is fully open-source and available via HACS:
to hear your suggestions and feedback! If you like the project, don’t forget to star it on GitHub!
WLED Live View Proxy v0.2.1 — Now with JSON Command Support and Gradient Rotation!
Hi again, Home Assistant community!
I’m excited to share an update to my small project — WLED Live View Proxy. With version 0.2.1, it gets two major new features that make it even more powerful and flexible:
What’s New:
JSON API Command Service
You can now send direct WLED JSON API commands (like setting segments, presets, or activating Nightlight mode) via a built-in service: wled_liveviewproxy.send_command — great for automations and scripts! Includes full state return if you add "v": true.
Gradient Rotation
The Lovelace card now supports changing the direction of the gradient, in addition to brightness.
Under the Hood:
Improved debug logging across all modules
Optimized WebSocket command handling and cleanup
Updated LitElement CDN with better styling compatibility
You can install the latest version via HACS or update from the repo:
A sample dashboard configuration is available here: docs/demo.yaml
Thanks to everyone who tried it out! I’d love to hear how you’re using it, and as always — suggestions and feedback are welcome If you find the integration useful, give it a star on GitHub to support the project!
Yes, this integration should work perfectly with your A1-SLWF-03 LED controller — as long as it’s flashed with WLED firmware.
It communicates directly via the WLED JSON API, so hardware brand doesn’t matter — only that WLED is running.
No other WLED integration is required
This integration works independently and gives you live preview, WebSocket control, and advanced JSON commands.
Optional: Use alongside the official WLED integration
You can also install the official WLED integration if you want:
Built-in entity support (segment brightness, effect dropdowns, etc)
UI-based controls for light entities
Both integrations work great together — no conflicts.
v0.2.2 is out!
The wled-ws-card.js card now works fully offline — no more CDN or external imports required.
Perfect for offline setups and improved reliability in your dashboards.
Hi @danishru, I want to send a JSON API command to my WLED device through a button on my dashboard. Unfortunately, I wasn’t able to get it to work with a script. Can you provide an example how the wled_liveviewproxy.send_command is implemented ?
Hi Marcel, thanks for using the integration!
You can use the wled_liveviewproxy.send_command service to send JSON API commands via a button or script in Home Assistant.
A full example is available in the documentation here:
Just want to say thank you for this integration. This is so much easier/less complicated than my previous solution of using a reverse proxy and an iframe, which also stopped working with WLED 15.
Now the real interest is to use service. I have to redo some tests because last try (earlier version of the wled liveview), it was giving me some performances issue in HA core. The script was sending every second a json update to the wled based on the power injection to the grid. I will do a second trial