I am trying to take data from an ifttt webhook and display/update a sensor.
I am using the Mojio ifttt to report on our vehicle location when a trip completes, and I want to display the car location and trip info in HA. If I can create a device_tracker from the webhook’s body data that would be great, but I’d be fine with just a sensor to display address/time/etc.
My IFTTT is running without issue. I’m properly integrated to IFTTT, since I am successfully sending events to IFTTT in other automations. But I cannot get things to work with HA consuming the webhook.
This is my json body being posted with my nabucasa url:
But all those examples seem to be sending event data in the body. I have data fields I want turned into a sensor or device_tracker. Is there a way to just create a new entity with the body of the webhook? or send it in mqtt and have that create a sensor? Any help or advice would be appreciated, I feel like I’m close, but I can’t figure out how to access that data, all the examples I’m finding are just firing off events in HA.
I’ve been trying your first approach for a while (mostly because IFTTT seems to be having issues, can’t update a recipie) but this approach does look simpler and more direct. I’m going to try this out, thanks so much for the help!
Is there another step to register the ifttt webhook? My logs still show me getting the same unregistered webhook. Is there more to do to register then just creating an automation to handle the incoming data?
2020-01-06 18:40:33 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 7e0312k2h43b89e2b348eb641e2a0c1e2jkh21l34u118c97c47e6fejl1231hjg2j8
The log has a big long randomized string in that warning message (the one above is redacted). Do I need to register that value somewhere?
Because I have a similar problem I thought is better to ask here instead of opening another thread. I have a script called “netflix” which works when i run it. I’m trying to setup IFTTT to run the script when i say “Ok google, XXXX”. I have managed the communication between IFTTT and HA but i’m getting the following errors. (I know I have to learn to read the errors but as new with scripts I don’t see where the problem is). Any help?