Full threadakerr·Philips Hue has local API access for this sort of thing. Works with non-Hue Zigbee accessories too.View on HN