How to Blink a Light

Friends are interested in group decision making and set the goal of collaboratively choosing to turn on or off a lamp. I volunteer my own. >> remote control

My first thought is to use a microcontroller with wifi radio access and a usb wall-wart for power.

See ESP8266 Programming

On second thought, I could add an extra endpoint to a Sinatra server I already expose to the internet and have it run a restricted set of Hue CLI commands to operate the ceiling light in the office where I most often zoom. >> sinatra hue cli

A command line interface to philips hue. github

Philips Hue Unofficial Reference Documentation. site

Quickly create web applications in Ruby. sinatra

The "light" endpoint is further qualified by mode options, on and off, or the property choices, red, green, blue and white. These can be invoked with curl or by external wiki links. on , off

curl http://search.fed.wiki.org:3030/light/red curl http://search.fed.wiki.org:3030/light/green curl http://search.fed.wiki.org:3030/light/blue curl http://search.fed.wiki.org:3030/light/white

Please accept my request to reserve operation to brief periods of testing or demonstration periods where the lamp's behavior can be observed via zoom.

Site Owned by: Ward Cunningham