So this began working late last week After 2 or 3 days being down but as of the weekend has gone down again. Haven’t made any config changes in a fortnight or so. I assume there’s changes or something happening server side which is making the service unreliable?
it works for the default_view ‘0’ 100% of the time. for the custom dashboards it’s different.
sometimes it works and sometimes it doesn’t. when i trigger it from services it doesn’t work then i trigger it again from services without the dashboard_path and then again with the dashboard_path it works. i will post a video of the working cast.
in this automation i first send the command without dashboard and then with a delat of 5 second with dashboard and that works. if i put the delay on 2 seconds it says connected but not show the page, with 5 seconds it works everytime. it should be fixed though but this is a work around for the time being.
Can confirm this works for me too. As expected, a “cannot find path xxx” is displayed following the first command, but five seconds later, I see the expected view.
This is not working for me, I get ‘Unable to view path xxx’ and it just stays on that page most of the time, I had 2 or 3 successes in the ~30 times I tested.
I believe the issue is the hosted app that the Nest loads is not always able to get the paths from my HA instance, even thought I change nothing it works sometimes, but most of the time not.
I might be wrong, but my theory is that there is a very short timeout on the app on the call to the HA instance app to retrieve the available paths, and due to my geographic region (South Africa), is causing the issues.
In my case, I need to turn off then on the hub, with a delay between them, to have it working. After 1 hour of testing, 100% of success.
Here is my code:
@radar, you might just have found the solution there… I have been calling ‘stop’ before trying to cast. Turning it off and on again seems to be working in the ~10 tests I just performed. I’ll continue testing over the next few days.
It seems I was a little too optimistic about the first workaround as it has stopped working for me. I’ve since changed to @radar’s approach and so far (after an hour) it’s been 100% successful, however custom cards are not showing.