Written mostly in bash script but some dependencies on curl and python3. Might try to remove python3 dependency at some point. Just used for JSON parsing/serializing.
This can already be achieved with Flic: http://flic.io Flic is a Bluetooth button which uses your smartphone to communicate with smart electronics. If you have Philips Hue or LIFX smart lights and a Logitech Harmony Hub (for IR), this would work straight out of the box! (Disclaimer: I am associated with Flic)