Home Assistant Integration using Webhooks #1991
Unanswered
bubtheengineer
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Instead of defining the state and and unit of measurement couldn't you use the new |
Beta Was this translation helpful? Give feedback.
0 replies
-
This integration is using the speedtest webhook, and I don't see that data being sent as part of the json body. This is what I receive in HA when the webhook is called:
Also, parsing a string with uom into the HA sensor values is harder than using the int values, afaik. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure if this has been mentioned, but if you want to integrate the speedtest-tracker with Home Assistant there's a super simple way to do it using webhooks.
The only thing you need to change are the parts in <>. And create a unique webhook to link the two services together.
You'll configure a webhook in speedtest-tracker under notifications with the following URL:
https://<homeassistant>:<port>/api/webhook/<unique-webhook>
Then you add some template sensors to your HA config.yaml, like so:
And that's it! After restarting HA, run a speedtest and you'll start seeing the data show up in HA.
*Edited to add the state_class so you get measurement statistics calculated in HA
Beta Was this translation helpful? Give feedback.
All reactions