Then I stumbled across the Sonoff devices by Itead, and learned that they were somewhat hackable via a custom firmware. Coincidentally I received the two devices on the same day my daughter was off sick, so when she had her nap, I got hacking.
The first bottleneck was discovering that the units I received did not have any headers. A little quick soldering later, and we had headers.
No headers mom :( |
Now we have headers! |
In hindsight I wish I had just purchased the FTDI programmer from Itead. It looks pretty neat.
After following the rest of the Tasmoto hardware instructions, and then the PlatformIO instructions, I was able to successfully flash both my units with the custom firmware.
I then created a Lambda function that sends a signal to CloudMQTT, and connected the two devices.
Voila!