r/homeassistant • u/Standard_Record_2300 • 5h ago
🖼️ Show & Tell Update on the light console with motorized faders
In September I posted a console I built for my house lights, with motorized faders that move when a light changes. It got a lot more attention than I expected, with a lot of people asking me to sell it. It's since become a real product, the F4. It still runs locally on Home Assistant, and it now works with Hue and Lutron too.
The first batch of 20 sold out to people who had signed up early. Batch 2 ships in Q2 next year and is $1,700, shipping included in the US and Canada: https://sacrebleu.studio
That's the ad part. The rest is is some of the things I learned along the way, especially controlling motorized faders, in case it's useful to anyone building something similar.
1. Making the faders quiet
If you watched the first video with sound, the faders were loud (the exact feedback I got was that they sounded like a toaster).
Each fader is a 100 mm Alps pot with a DC motor and a belt. The firmware reads the pot at about 300 Hz, works out where the fader is and how fast it's moving, and corrects the motor. The noise came from these frequent speed corrections.
The fix was feedforward. I now measure how much drive each fader needs to move at a given speed, so the firmware can put out roughly the right drive from the start, and the loop only has to correct the small error left over. It's now quiet enough that the loudest thing is the click of the belt when a move starts and stops.
2. Moving four faders in sync
When I added the knob to move a whole room at once, I quickly realized how hard it is to get four faders to move together. My first version gave each fader a target and let it get there. Each one got there at its own pace, and in the middle of a turn they spread out by up to 2 cm.
Part of it is that no two individual faders are alike. Every fader has it's own small differences in its motor and track friction, so each one needs a different amount of drive to get moving and to keep moving, different again going up and going down. So every fader is measured on its own and driven from its own friction profile!
The other part was changing what the knob actually controls. It sets a speed instead of a position. The faders stay within about half a millimeter of each other during travel.
3. Lights that don't dim
Not every light dims. A smart plug or an on/off switch has two states, and I needed a clever way to handle them without a fader that pretends to dim.
On those, the motor gives the fader the feel of a switch. Push it away from its end and the motor pushes back, harder the further you go. Past about a quarter of the travel it gives way, clicks, and snaps to the other end. The resistance is made entirely by the motor.
It only snaps when driven by hand. When the light changes from your phone or an automation, the fader takes the normal, quiet move instead. A snap is satisfying when you do it and startling when it comes out of nowhere.
4. Connected lights that get turned off at the wall
Unless every switch in your house is a smart one, someone will eventually flip a wall switch and cut power to a smart bulb. The bulb drops off the network, and Home Assistant can take a while to notice (up to 1 min in my case). Meanwhile the fader still thinks the light is there.
So the console checks the lights itself. It reads each light's MAC address from Home Assistant's device registry over the same WebSocket it already uses, finds the light's current IP with a unicast ARP request, and asks it once a second. A bulb that's gone shows as Disconnected in about 2 seconds, against 45 to 60 for Home Assistant with WiZ bulbs. It works with any Wi-Fi light, since they all answer ARP.
Happy to answer questions!


