Making a locked 433 MHz remote scriptable
Three motorized blinds only answered their own remote, and it uses rolling codes, so a recorded button press won't replay. I paired an ESP32 with a 433 MHz radio to each blind as an extra remote. Now a server works out sunrise and sunset each day and sends the commands.
Built and debugged in a day. The worst bug: the board stopped booting once the radio was wired in, because the radio held one of the ESP32's boot pins high. Moving one wire fixed it. Single commands sometimes went unheard, so each one now goes out 8 times.
If a command can't go out on time, it's skipped and I get a text.
Read the full build log, with parts, wiring and every step.
- Radio
- ESP32 + CC1101, 433.42 MHz
- Schedule
- Sun times from NOAA's formulas, systemd timers
- Link
- MQTT, login required, local network only
- Code
- github.com/punctuatedoxygen/blinds-fw
The blinds controller on battery power
The controller needs USB power today. I'm writing my own firmware so it sleeps between commands and runs for months on one battery.
Part one, the radio encoder, is done. Across about 21,000 tests its output matches an established open-source library to the microsecond. Code and design notes are on GitHub.
- LoRa packet loggerA Heltec LoRa board on the Meshtastic mesh, plus a Linux service that records every packet it hears with its signal strength.
- Local device controlCommand-line tools that drive lights, a ceiling fan and an AV system directly over the local network, without the vendors' apps or cloud.
- SMS gatewayA Linux service that sends and receives texts with no SIM card or paid SMS service, and never sends a message twice when it retries. In use since September.
- USB audio fault isolationBit-exact recordings and USB packet captures cleared the laptop and dock and traced an audio dropout to the receiver's USB input.
You email me what the device should do. I send back a plan in milestones, each with an hours estimate and a test for "done". I bill $65 an hour. A deposit starts it, and every week you get a video of the thing working.
At the end you get the hardware, the code, the wiring notes and the setup docs. You own all of it once the final invoice is paid.
Start a project
Email what the device should do, your timeline and a rough budget. I reply within a day.
tanner@staus.dev