Following my first iteration of the IKEA GRÖNÖ Lamp, I wanted it to be a bit… well less smart?
It’s all working well and good, but if one wants to turn the light on or off, one needs to open the Home-Assistant app/website to control it.
I wanted to add way to allow the light to be manually turned on/off if needed.
So I decided to use a spare HC-SR04 Ultrasonic sensor.
Now it is possible to simply “swipe” a hand above the light to turn it on or off, and it also updates its status on MQTT so Home-Assistant can be updated too.
The code can be downloaded from my github