My iPhone is set to auto-update apps and this morning I find that the hassio companion app has been updated to a completely new version with breaking changes.
: this is very poor practice. If an app date requires complete new setup and has breaking changes it should be released as a new app, not as an update that could break existing installations - potentially when the user is far away from home and dependent on having working remote access.
Anyway, I was at home and the app went through its setup, but it hasnât recognised nabu casa. Now I am out of the house and I cannot connect to HA because the internal URL is in the external URL field and I cannot change it without getting an error.
Luckily I can still access HA through the browser, so nothing wrong with nabu casa.
Sorry youâve had a bad update experience. Releasing as a new app was discussed but I suspect supporting two apps wasnât going to happen.
Anyway here is what likely happened on your update:
The updated app requires always-on access to location data which since ios13 includes the wifi ssid in order to determine internal/external. It falls back to external.
If you add that internal access by allowing location it should detect nabu casa and that checkbox should become available once you enter your internal url.
It is possible it might take a restart of the app for the nabu checkbox to be available.
This all assumes that the app detected nabu during onboarding and set up the relevant webhook for you (you can check that ny going to the cloud integration in ha and looking for webhooks set up by mobile_app.
No luck.
I checked location services and it is set to âalwaysâ. The iphone is up to date and has been rebooted.
I reset the app, quit and started afresh. It found hass and recognised nabu casa after I authenticated. It had the local IP address in external url. Internal URL was blank.
I quit the app and disconnected from wifi so that it would try and access over 3G. When I launched the app it just reported a timeout. It still had the internal IP address in external url and the internal url was blank.
Unfortunately because Apple changed the iOS permissions with iOS 13 this is a bit more complicated:
Copy and paste whatâs in external URL to internal URL (while on your Wifi)
Possibly restart the app
You should now have the checkbox for âConnect via Cloudâ available, activate that.
Youâre done.
The reason for this is that during onboarding the app can no longer assume that it has access to SSIDs, so whatever is entered/detected will be set up as external URL. Whenever there is no Internal URL and with only External URL available the Cloud checkbox isnât active.
Thanks, that worked.
I donât recall seeing these incantations mentioned in the âGetting Startedâ guide for the app. That guide only gets you as far as connecting locally and makes no mention of the hoops that need to be jumped through to connect remotely. Or did I miss it?
hi @olbjan,
I am having the same issue, the Nabu Casa remote access check mark will not appear after trying the steps above. I have also tried reinstalling the app with no joy.
I was having the same issues, but I finally got it working this morning.
The change that finally made it work for me was to enable Remote Control in the Home Assistant Cloud configuration page. While youâre there, make sure the Webhooks are enabled too. I restarted my HA server just in case, but ymmv.
Even though the cloud was showing âConnectedâ, and I could access it fine from logging in via the nabu casa web page, this option was disabled.
I enabled that, restarted the iOS app, and lo and behold, the option for Connect via Cloud came up.
Other points:
Make sure you properly close the iOS app - donât just home-button back to the home screen. Make sure you swipe it up closed.
After enabling connect via cloud, I clicked Done, then restarted the app.
Then remove external IP address, so itâs now blank.
Only after doing all this, did I then disconnect from the wifi.
The first time I was not on the wifi I had to restart the app to make it connect via cloud. After that, itâs been fine.
Hope that helps someone. Iâve spent the last three days trying to get this working. But now it is
I still have the issue. I reinstalled app. Reconnected. While installing it says nabu casa recognized. Nabu casa works. However the app is not recognizing NC. Login from outside the network is not working. Sad. Any other way to trouble shoot that?
Now working for me too â used the same procedure as @harro (above)
Went to Configuration -> Home Assistant Cloud -> Remote Control and disabled it.
Restarted Home Assistant Server.
Went back to Config -> Home Assistant Cloud -> Remote Control and enabled it.
I went to App Configuration in the iOS app and did a Reset
I then did a Force Close of the iOS app and restarted it â it put me through the setup process again but then the âConnect via Cloudâ option was now listed.