Photo of Ward

Made by Ward / Displays / Robotics / Sensors / Voice / IoT

About the project

An RGB LED is controlled over WiFi using iPhone HomeKit app. HSB to RGB conversion model ESP32 WiFi provisioning and the way of adding new accessory to HomeKit app are discussed in details. HomeKit lightbulb example is discussed line by line.

Project info

Difficulty: Moderate

Platforms: Home AssistantEspressif

Estimated time: 2 hours

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

TinyPICO ESP32 development board TinyPICO ESP32 development board x 1

Software apps and online services

eclipse eclipse


ESP32 Homekit RGB LED Control

Tutorial Video Link: 


The only thing that I have changed from the source code is the PWM signal resolution to make it 13 bits. Nothing is quit special in this repository other than some code organization to make it more readable for me.

Planning to more features to this project in the future.




Photo of Ward


This is Ward Almasarani. An embedded systems engineer who is specialized in STM32, ESP32 and PCB design. I like building small electronic projects during my free time and share my work on YouTube and GitHub


Leave your feedback...