I've created "gesture" control for my LIFX smart bulb with NodeMCU,

I’ve created “gesture” control for my LIFX smart bulb with NodeMCU, range sensor and Raspberry Pi, and here is how I’ve done it.
http://lab.ra100.net/control-lifx-nodemcu-and-range-sensor