Hello.
I have a few questions before I could help.
What device do you want IFTTT to send a notification? Have you already setup an IFTTT recipe?
When should the green LED turn on and when should it turn off?
What is the code that you have tried with and what was the error?