You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2025. It is now read-only.
I've been trying to get home assistant (which imports this module) to send json data to IFTTT and it's not working correctly. Looking at their docs to get anything usable besides the event name (I could be wrong), you need to send it a different way
Note that the URL for the [Webhooks - Receive a web request with a JSON payload](https://ifttt.com/maker_webhooks/triggers/json_event) trigger is in a slightly different format than the regular IFTTT Webhook URL (https://maker.ifttt.com/trigger/{event}/with/key/{key} vs https://maker.ifttt.com/trigger/{event}/json/with/key/{key}).
If the URL of your web request does not include /json/ as above, the {{JsonPayload}} ingredient will be empty:
So it looks like this should have the /json/ path added if the intention is to be able to use any values
pyfttt/pyfttt/sending.py
Line 27 in fed3d8e
I've been trying to get home assistant (which imports this module) to send json data to IFTTT and it's not working correctly. Looking at their docs to get anything usable besides the event name (I could be wrong), you need to send it a different way
https://help.ifttt.com/hc/en-us/articles/4405029291163-Parsing-JSON-body-with-filter-code
Basically
So it looks like this should have the
/json/
path added if the intention is to be able to use any valuespyfttt/pyfttt/sending.py
Line 25 in fed3d8e
The text was updated successfully, but these errors were encountered: