CTO | Engineer | NZ 🇳🇿 | Kept in check by @mikethegirl
Apr 29, 2018 • 6 tweets • 1 min read
You know how HTTP GET requests are meant to be idempotent? Well, do I have the story for you ... a while back I added WiFi control to our garage doors with little Wemos D1s.
The Wemos expose a simple web page with a link that says "Toggle". The endpoint for the link activates a relay, which is hooked up to the push-button on the garage door, which makes the door raise/lower/halt.