Can someone please point me to the code behind the new webhooks feature?
I wanted to understand specifically how the templates and variables work.
Also I don’t find any results grepping the codebase for the variables that the doc says are used in the templates. That is: SPARK_EVENT_NAME, SPARK_EVENT_VALUE, SPARK_PUBLISHED_AT, SPARK_CORE_ID
Am I missing something? Or perhaps is the new code not up on GitHub?
My specific use case:
I have a single sensor successfully pushing data to firebase via a webhook.
For the next step, I’d like to parameterize the URL, so I wanted to check the implementation to see if that was feasible. I’ll experiment to try to figure it out, but I’d rather understand how it works.
Thanks for any pointers.