AirDimmer – Touchless MQTT Dimmer
I built a touchless light dimmer using an ESP32 and a VL53L1X time-of-flight sensor.
Move your hand up and down in front of the sensor and the light brightness changes instantly.

Features
- Gesture-based brightness control
- MQTT integration (works with Home Assistant)
- Web configuration page
- Calibration system
Hardware
- ESP32 Dev Board
- VL53L1X Sensor
- Wiring diagram included in README
More information on GitHub.
Home Assistant Example
automation:
trigger:
- platform: mqtt
topic: "AirDimmer/setup/brightness_change" # <--- Change 'setup' to your device suffix
action:
- service: light.turn_on
target:
entity_id: light.test_airdimmer # <--- Your light entity ID
data:
brightness_step_pct: "{{ trigger.payload | float }}"
- service: mqtt.publish
data:
topic: "AirDimmer/setup/receiver" # <--- Change 'setup' to your device suffix
payload: "{{ state_attr('light.test_airdimmer', 'brightness') }}"