Core: After update to 0.60 Hass.IO doesn't load in iOS devices

Created on 19 Dec 2017  路  22Comments  路  Source: home-assistant/core

Hello.

After update to 0.60 Hass.IO doesn't load in iOS devices. It doesn't work by Safari or APP.
It worked correctly in version 0.59.X before last update.
In others devices like Windows, MAC or Android works fine.
The problem is that it doesn't load the main screen, I attached screenshots.
No errors in the logs file about that

If more information is necessary, tell me

Thank you so much

Regards

UPDATE:

I have resolved it provisionally force javascript to es5 version in configuration.yaml file, because with auto or latest opcions it doesn't work

Add these lines to the file configuration.yaml

frontend:
 javascript_version: es5

Versions:

Hass.IO 0.60 (Raspberry 3)
iOS: 10.3.3
App Home Assistant 1.1.1 (latest version available)

app
web safari

Most helpful comment

I have the same problem!

All 22 comments

I have the same problem!

Hello.
I have tested some things and i think that is a javascript problem.
I have resolved it provisionally force to es5 version in configuration.yaml file, because with auto or latest opcions doesn't work

frontend:
  javascript_version: es5

I hope it helps to achieve a version compatible with all platforms

Regards

You add this code to the configuration.yaml i understand this right??

frontend: javascript_version: es5

Yes, that is correct
This is the link to the documentation of the frontend component:
https://home-assistant.io/components/frontend/

Regards

Ok thanks i test it when i at home

This might help too: https://home-assistant.io/faq/#after-upgrading-your-browser-login-gets-stuck

I not using chrome an the problem is in the app too and there is no option the clear the cookies

It works But now is the problem my 2 sensors show me nothing
img_5139
馃槶馃槶馃槶

I not using chrome an the problem is in the app too and there is no option the clear the cookies

It can affect all browsers as mentioned.

If that's a Mi Flora then it a possible duplicate of #10790.

Yes its a miflora sensor but it works before the update to 0.60

@chillhahn do you have any errors in your log file?

There were no changes to the miflora component recently, so the problem must come from some other change...

No nothing errors it loads the data normaly in the log
img_5147

The only thing what i change is first i update the hass.io and the second is that i add this code
frontend: javascript_version: es5
to the configuration file that i can see the ui and nothing else

Forcing the javascript version as mentioned by SirSheik fixed the issue for me as well. As a note, I tried deleting all cookies prior to forcing the javascript and that did not work.

Maybe this issue went off-topic. I think the real issue here is that javascript_version: auto does not serve correctly the legacy Javascript to Safari on iOS 10.

Configuring the frontend to es5 will disable the new code forr all the devices, not only for the old ones.

Seems to only affect ios 10. Ios 11 device loads hass ok. Unfortunately, 32bit ios devices are stuck at ios10 end of life.

Same issue is described here #11201
I don鈥檛 agree that only iOS 10 is affected, my iPad is running iOS 11 and is not working with javascript_version: auto. Only es5 is working.

I have added the javascript_version: es5 to my config, but still getting:
ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting

I can confirm that javascript_version: es5 fixes the issue in Safari on my MBP and in the iOS app. I had to kill the iOS app before history would load.

I did open up the developer console in Safari _without_ the javascript_version: es5 setting. Here's a screen cap of what I found.

devconsole

Can confirm it affects iPhone 6 with iOS 11.2.1

Was this page helpful?
0 / 5 - 0 ratings