I wanted Home Assistant in my system tray, so I built Lilac
说明与用途
Lilac 是一个系统托盘应用,能够发现 Tuya/Smart Life 设备并通过本地网络直接控制,省去单独服务器或多应用的需求。
问题
Need a single tray app to control all Tuya/Smart Life devices without running a separate server.
结果
Lilac enables one‑click control of all Tuya/Smart Life gadgets from the system tray, eliminating the need for multiple apps or a dedicated server.
工作流
- Discover Tuya devices on LAN via UDP broadcasts
- Log into Smart Life using a QR code to obtain local keys
- Store keys in OS keychain
- Send commands to devices over LAN using local keys
- Fallback to cloud for devices not reachable locally
证据
Control your Tuya / Smart Life gadgets from the menu bar — over your own network.
It finds them on the network, logs into Smart Life once with a QR code to grab the local keys, and after that talks to the devices directly over the LAN.
The project is vibe‑coded. It was built in a long conversation between a human and an AI… It has a real test suite… but it is experimental — expect rough edges and read the code before trusting it with anything important.
- 记录日期: 2026-10-13T03:41:28.332Z