Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Solving a serious conflict issue brought on my IOS 2.0 App dropping all my xiaomi devices

$
0
0

@Stewface wrote:

Hi everyone,

I’ve run into a serious issue which seems to be caused (but not the root of) problems as soon as I activated notifications on iOS app 2.0.

All was working well with the old app, I tested the new app never got it working properly (due to lack of time to experiment and get everything going) but alas I got a new iphone and my hand was forced to get the new app (thanks apple…) as i’ve lost notifications on my phone currently and needed to get them back.

Everything was working pretty seemlessly with HASS but as soon as I add the few extra lines of code I need for notifications to work everything went up in smoke.

notify:
  - name: iOSApps
    platform: ios
    target: 'd9gIxbnZNUQ:APA91bHywcwTljAl2eKPZacgPRPHwtgMg0DZ1e2io97uqekrev0mobvSm8pOTXa0HDv0jV2A6R3glhMq79QpnQS5DtGUnwRNF38HmG80tdDiuwf6HW0D651jIa5AUP__DtMwXXXXXXXX'``

My wifes phone is setup in there exactly the same using the old ios app with notifications working perfectly (and still works even after these new lines of code break everything)

Strangely as soon as this line is added and I reboot, all my xiaomi devices drop off, 8 temp sensors, 2 gateways, 5 motion sensors, 10 door/window (says it can’t discover the gateway), that’s the main issue, but also my intergrations for broadlink RF stop and as well as some issues with my solar inverter (fronius)

More frustratingly is the fact that I can’t seem to backtrack and remove the code and get them to be discovered, soon as I do that the problem remains, (and then I lose notifications too) sometimes even after restoring a old backup over the top with the last backup with xiaomi sensors working it doesn’t solve it.

I can get them back with a fresh install (on a blank SD) and update then restoring a backup (strangely not when doing a restore over the top of it after its broken) then as soon as I add the notifty IOS line it all breaks and I need to wipe the card, download and install a fresh hass version.

Things i’ve attempted to debug (with my limited knowledge)

  1. Slowly removing intergrations & lines of the configuration on the broken install (without success) getting back to an almost fresh install (that still doesn’t work)
  2. Upgrading to latest version
  3. Installing the App + notifications & Xiaomi devices on a fresh install (which does work!) but with dozens of devices and customisations it would take days to install everything piece by piece.

P.S. @robbiet480 I’m sure this has nothing to do with your coding of the incredible app you have put together and more so some sloppy integration work ive done at some point in time that has for some reason come to light now.

Anyone heard of anything like this, here is a summary of what i’ve got in hass:

bwalarm
duckdns
hass cloud
alexa
mqtt

8x sonos
broadlink rf
xiaomi:
8x temp
12x door/window
5x motion
1x curtain
iotawatt power sensor
fronius solar inverter
2x sony bravia tvs
6x hikvision cameras
1x magichome LED light (Via tasmota)
10x sonoff via tasmota lights
2x diakin climate
dozens of automations

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>