In this video, 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.
HomeKit accessory server library:
Anvy Smith HSB to RGB conversion Algorithm: