Skip to content
/ wledTR Public

A cross-platform Tauri WLED Controller

License

Notifications You must be signed in to change notification settings

0xk1f0/wledTR

Repository files navigation

wledTR

A cross-platform Tauri application for controlling WLED lights.

Why another App?

The official app is essentially just an embedding of the web interface that is hosted on the actual WLED-Device.

I find this suboptimal in most cases since it is not at all reliable for me and going through the JSON-API, which WLED does provide, makes the experience a lot better.

I think a tiny microcontroller should not be used to provide a web interface at all. An extensive API is about all that it should need and leave the "heavy-lifting" and data presentation to the client. This is of course my opinion and the WLED devs may have radically different views on this and that is fine. It is an awesome project nonetheless.

Unfortunately not all features are accessible via the API and there is also zero authentication required which is also something I dislike.

Features

Note

This project is in a very early development stage.
Supposed to be a learner project to get used to SvelteKit + Tauri 2.0

Expect bugs and unfinished stuff

  • Save Multiple Devices
  • Toggle light ON/OFF
  • Change color via color-wheel
  • Control Brightness via slider

How to Build

This repo includes a Makefile that should make the building process pretty streamlined.

Linux

Follow the instructions provided by Tauri, then run:

# initialize
make init
# build for linux
make linux

Android

Follow the instructions provided by Tauri.

This project uses a fixed set of libraries, make sure to install the following:

# using the sdkmanager utlitity
sdkmanager --install "build-tools;34.0.0"
sdkmanager --install "platforms;android-34"
sdkmanager --install "ndk;26.3.11579264"
sdkmanager --install "emulator"

Then run:

# initialize
make init
# build for linux
make android

Checklist

  • Basic Light Selection
  • Device State Recovery
  • Device Saving
  • Multiple Devices
  • Preset switching
  • Light Auto-Discover