A Perl script to integrate Hyperion, HomeBridge and lirc.
This Perl script will intercept IR commands via lirc (i.e. TV power on and TV power off) and will turn on/off Hyperion ambilight accordingly.
It does this via the homebridge-hyperion plugin within HomeBridge to ensure the switch states in HomeKit are accurate.