We’ve updated webhooks in triggers (both scheduled and reactive) to allow custom response templating. This feature now allows webhooks to properly post to many more endpoints, such as slack or discord. We’ve included a couple of basic templates to build from.
The templates need to be valid json in order to work, and allow a few values to passed in such as {{feed_id}}, or {{feed_name}}.
As an example, you could do something like this now on Adafruit IO:
{
"content": "The value: {{value}} for the feed:{{feed_name}} is too low."
}
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey