Wow, I’m not sure how I missed this at first, then continued to miss it for 6 months! @Casper if you’re still around and looking for this, here’s what I’m using.
The webhooks posts to a PHP file on my server (it was my Pi, but I moved it to a VPS).
Basically PHP grabs the JSON POST by using
php://input, I trim any newlines and tabs from the input, then send it off to a Python script as the 1st argument, and Python will handle the rest.
My Python script is running a few libraries that PHP doesn’t have (or at least Python makes it easier), such as US Holidays and business days. That way I can filter certain alerts during certain times (such as a door opening while I’m at work, or my thermostat running while I’m at work (so 9-5 on a business day)). Then if I get an alert from IFTTT on my phone within this granular timescale, I can log into ST and turn off the tstat to help save energy.
I started doing this over a year ago before ST’s notifications were a thing, and it’s something I use to this day since I can have fine tuned alerts. Maybe it’s overkill? It works for me.
You could take this same logic and apply it to a Python script running the GPIO library to turn on a light or something on your Raspberry Pi as well. Or even turn the light on a blink(1) USB RGB. They have a great API to control the 2 LEDs in the device and make them any color you want. I love those things. Multiple LEDs and multiple colors that can be used for multiple meanings. With the ease of use of a USB.