Node Red Experiences

So I finally finished reinventing (better, if I say so myself) in Node Red the Xiaomi dimming mechanism here: Finally - a cheap WIRELESS switch that dims! Xiaomi Switch Gen1

You hold down the button and the light dims/brightens gracefully (it transitions over 0.5s intervals, with fibonacci increments/decrements). The longer you hold the button down, the faster it dims/brightens. It alternates dimming and brightening. If the light is off, and you hold the button, it will brighten slowly from 1%.

I have tested it with LIFX and Lightify bulbs (single and groups) with satisfactory results.

3 Likes