Smartphone turn on a LED (bluetooth) when sms is recieved

I know how to turn on a LED with my smartphone and a bluetooth (HC-05), but I want to turn on this LED when I recieve a SMS or a call. How I can do this? Thank you so much! Life is open source! :slight_smile:

You have posted on the french part of the forum
Ask a moderator to move your topic to the general part of the forum.
Our stay here but use french.