This uses hap-nodejs
to simulate a HomeKit device, then delegates the behavior of that device to another service communicating via MQTT. One such use case is using non-HomeKit Tuya/Teckin smart plugs with HomeKit (see my other repo tuya_to_mqtt
). In the future, I'll also support colored lights and hook it up to a custom rig of addressable LEDs.