4 ms·
Missed this in the article, but how are you actually turning on/off the lights after this controller sends a "turn on" signal? Is this basically right : You ha
by jeffwass 11y ago
Missed this in the article, but how are you actually turning on/off the lights after this controller sends a "turn on" signal?
Is this basically right : You have some separate receiver that the light or other accessory plugs into, which senses the MQTT signal sent from the controller unique for its channel, and turns on its connected accessory? Were those receivers custom designed as well?
- StavrosK 11y agoThe lights plug in to some cheap RF-controlled plugs, and the sensor board sends the signal with the RF transmitter to turn the plugs on and off. I reverse-engineered the timings in this post: https://www.stavros.io/posts/how-remote-control-rf-devices-raspberry-pi/ https://www.stavros.io/posts/how-remote-control-rf-devices-r... Also, I designed this PCB that's basically a wifi-enabled ESP8266 LED controller: http://dirtypcbs.com/view.php?share=16892&accesskey=996a11f93e9b6f833112ceedd77168f7 http://dirtypcbs.com/view.php?share=16892&accesskey=996a11f9... This allows you to control 5050 LEDs and change their color/intensity/etc over MQTT. I'm going to write a thing to slowly fade them to max as night falls, and make them progressively redder as I get nearer bed time. I'm just waiting for the PCBs to arrive, the prototype works fine. You can subscribe to my blog to be notified when I write that post up as well.