The homebridge config file example for a esp8266 relay switch with homekit
Ref Link: https://www.youtube.com/watch?v=MWYLtgmZU5k
Homebridge Plugin: https://www.npmjs.com/package/homebridge-http-switch-dafang
ESP8266 Wifi Relay Example Code: https://github.com/makesmartnet/esp8266-http-switch/blob/master/simple_http_switch.ino