iOS Widget for Home Assistant via Scriptable

I’m running Home Assistant 2021.9.6 and iOS 15 with Scriptable App 1.6.6 and everything is working smoothly.

I can imagine two things:

A) If it never worked, I guess you misconfigured/forgot to edit the widget code (which is required)
B) If it worked in the past and now simply stopped working, I guess the HASS REST API or your access token is not responding/working correctly.

Things to check:

If you have access to a Mac, you can also test and debug the widget on your computer using this:
Download: Scriptable for Mac

If you are into it, you can also poke the REST API via CLI (or have a look here for an less-techi solution)
curl --insecure -H 'Authorization: Bearer *--{Your HASS Long-Lived Access Token here}--*' -H 'content-type: application/json' https://*--{HASS IP}--*/api/states

it should return a long list/string of sensors and their states.

3 Likes