Status of print API call?

Anyone know if the Slicer can broadcast/call API with a print status update?

What I’d like to do is change some WS2812 RGB LEDs depending on the status of the print (% finished, error, etc)

[Edit] Assuming WiFi of BLE comms.

Thoughts?

Thanks.