Iphone entity missing for sending push messages

Hi Community!

Last weekend, I decided to migrate my (outdated, 6 months not updated) HASS installation from HASSBIAN to HassOS 3.12.
I migrated to one of the latest versions (0.108.0) of HASS.
In that same weekend, i also had to replace my broken iPhone with a new one.

The migration to HassOS went perfectly fine, except for the fact that i am not able anymore to send push messages to my ios device anymore. The ios entities seem to be missing in the entity list.
I am not sure if it has to do with my iPhone replacement, or the new HASS setup.

The Home Assistant Companion app (2.0.0) is installed on my iPhone and seems to work perfectly fine.
In the integrations screen in HASS, i see “Mobile App: iPhone from Marcel”, sensors like battery level are displayed correctly.

In my HASS entity list, I would expect to see an entity like ios or mobile_app_, but in fact for my iPhone there are only sensors and a devicetracker available.

I have tried to uninstall and reinstalled the companion app a few times. Registered and unregistered it with HASS a few times.
I removed duplicate iPhone entries from known_devices.yaml and from the “integrations” view. Rebooted my Raspberry a few times. So far, nothing seems to work out.

Who can give me a push in the right direction on how to be able to receive ios push messages again?

If you look under services then notify is your phone listed?

If it is you can send a test message with the following


{"title":"Hello ...","message":"This is a test message"}

Hi Neil.
Unfortunately it’s not. That is the entire point actually. It only shows notify.notify
I have tried it with another device (my ipad). Same result. I’ve loaded all required modules (ios, default_config, mobile_app). I am not sure what the “Home Assistant IOS” in “Integrations” should display, but in my case it shows “No devices”.

It should like mine below.

mobile app

I have had the same issues in the past. Deleting the integrations, if they are there, then press the “Reset” button in red at the bottom of the app then starting over from scratch.

I had tried that yesterday already. Will try it again today.
Can you show me a screenshot of your “Home Assistant IOS” integration?

Mine says: no devices (see below)

Below my mobile_app integrations:
Integrations

As said, i will try your suggestion again today, and will let you know.

Thanks.

Here are my integrations

phone1 phone2

I would delete yours then reset the app settings in the bottom of the app and start again. Restart HA once you have got back in via the app.

BTW - you need to remove the iOS integration that you have. It was moved over to Mobile App a while ago and that iOS is not used anymore.

Regarding:

BTW - you need to remove the iOS integration that you have. It was moved over to Mobile App a while ago and that iOS is not used anymore

I was following this guide that mentions that you need to load the ios component if you make use of actionable notifications, which I do.
For now, i have disabled it.

Did what you suggested. Deleted the integrations. Reset the companion app, restarted HA.
Reloaded the mobile_app integration, registered iPhone.
Same issue. See below:

I have no idea anymore. Any smart suggestions left from your end? :slight_smile:

Did you delete the old iOS integration that you had ?

From memory the settings are stored in “.storage” which may be hidden for you.You could delete any mobile.app files in there then start over again with onboarding.

Yes. The old ios integration is deleted.
I removed the mobile_app integration as well. Unregistered the ios companion app.
in the .storage folder, i removed the mobile_app file.
I restarted HASS
Next, enabled the mobile_app integration in the configuration.yaml again.
Restarted HASS again. Registered by iPhone companion app again.
Still, no notify.mobile_app entry… :frowning:

edit:
In the app, went to notification settings. The push-id was empty.
I pushed the “recover” button, a new push-id got created. I was optimistic for a few seconds.
Unfortunatley no change, still no notify.mobile_app service.

Did you rewtart after you registere the mobile app? For me the notigy service only shows up once I restart HA after I registered with the app.

You don’t need to add the integration - it should get added once onboarding has been done.

Delete the mobile_app files in .storage then reset the app using the red “reset” button at the bottom then log in again. Restart HA then check again.

No. I didn’t.
Now after the restart it finally works!! Great.
What a hassle :slight_smile:

You 're the best. Thanks man
:clap:

My first try for fixing any computer problem “did you try to restart?” :rofl:

Haha. Yes, but that wouldn’t have helped without removing that file and re-registering the modules :slight_smile:

Huh! What about me :cry:

Fresh install on new phone worked and the next phone (Both iPhone12) did not pickup up 6 of the sensors including Home/Away. Tried removing the integration and the app. Restarting HA, reinstalling the app and checking the settings to be sure everything was allowed before entering credentials and restarting HA again. No joy. Does anyone know how to delete the sensor files in a Docker install?

The fitness sensors were missing. I had restored IOS and then did the HA setup including the fitness sensors. I later removed and re-added the App and the sensors were turned off. I didn’t understand that the sensors are not created until they are passed from the Fitness app and HA doesn’t pass them until configured to do so. I expect they will show up when I get off the sofa!