Hey guys,
Not sure what’s happening here. I’m trying to set up another iPhone with HA, and it’s not getting a PUSH ID from HA. I just keep getting a message saying “Not registered for remote notifications”.
I’ve tried uninstalling and reinstalling the app, and also deleted the ios.conf file. I’ve done this in every available order I can think off. Remove app, delete ios.conf, reboot iphone and HA, install app, and still no PUSH ID.
My other iphone (iPhone 7 Plus) is working fine, and I can send notifcations to it, but this one (iPhone 6) just wont work. I have all ticks, and have allowed everything.
When I look at the ios.conf file, and compared the 2 entries for each iPhone, I’ve noticed that the iPhone 6 (jacobs_iphone) doesn’t have a pushId entry, not does it have permission for notifications.
Below is my ios.conf in expanded form from jsonlint.com.
{
"devices": {
"chriss_iphone": {
"pushSounds": [],
"pushId": "REMOVED",
"battery": {
"level": 100,
"state": "Unplugged"
},
"pushToken": "This space intentionally left blank",
"app": {
"bundleIdentifer": "io.robbie.HomeAssistant",
"buildNumber": 4,
"versionNumber": "1.0.4"
},
"lastSeenAt": "2017-10-10T09:11:06.275721",
"device": {
"type": "iPhone 7 Plus",
"permanentID": "REMOVED",
"systemName": "iOS",
"model": "iPhone",
"name": "Chris's iPhone",
"systemVersion": "11.0.2",
"localizedModel": "iPhone"
},
"permissions": ["notifications", "location"],
"deviceId": "chriss_iphone"
},
"jacobs_iphone": {
"pushSounds": [],
"battery": {
"level": 88,
"state": "Unplugged"
},
"pushToken": "This space intentionally left blank",
"app": {
"bundleIdentifer": "io.robbie.HomeAssistant",
"buildNumber": 4,
"versionNumber": "1.0.4"
},
"lastSeenAt": "2017-10-10T09:08:50.411485",
"device": {
"type": "iPhone 6",
"permanentID": "REMOVED",
"systemName": "iOS",
"model": "iPhone",
"name": "Jacob's iPhone",
"systemVersion": "11.0.2",
"localizedModel": "iPhone"
},
"permissions": ["location"],
"deviceId": "jacobs_iphone"
}
}
}
Any help would be appreciated.