The next phase of usefullness is turning the light off. In this next version, we keep track of whether the light is on or off, and toggle it upon receiving a TCP connection.
|
|
This works, but it’s fairly crude. What would be better is defined protocol beyond just listening for connections.
Next: 2019-03-22 — Smart Plug Prototype 0.4