Raspberry Pi Integration with HomeKit .
Reads temperature ,humidity using the ESP8266 and publishes the values to the MQTT server .
The MQTT server publishes the HSV values from the homekit and is received by the ESP8266 through MQTT and drives the NeoPixel..
Refer : Mrz homeKit