Open API - Advice

I’m developing a wearable tech device & I’d like to incorporate yeelight into it.

I need the yeelight to react to certain outputs from the wearable device.

For example when the wearer is hot, the wearable device sends message to yeelight to make it turn red.

As it’s an ‘add on’ for my product and I have no experience of yeelight developer tools I want to see what the community thinks the best solution would be?

Many thanks !