Wiki source code of Reset Home Assistant
Last modified by Normann P. Nielsen on 2020/01/19 21:13
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{info}}I wanted to reset my Home Assistent due to the fact, that icloud was moved from the device_tracker to its own domain. See [[https://www.home-assistant.io/blog/2019/12/11/release-103/]] and [[https://github.com/home-assistant/home-assistant/pull/29144]] | ||
| 2 | |||
| 3 | This gave me new identities for some apple devices, typically padded with _n | ||
| 4 | |||
| 5 | Combined with the facts that I have had 3 Apple and 1 Google Mobiel device that last 1,5 year. | ||
| 6 | |||
| 7 | I remember that switching from [[openHab 2>>Main.information-technology.openhab]] to Home Assistant was due to few/no releases; - well in HA theres a lot, and a lot of breaking changes....{{/info}} | ||
| 8 | |||
| 9 | {{success}}Doing the stuff below has though we a valueable lesson or 2 regarding keeping and eye on entities and renaming them to suitable names that provides info on person, type and integration.{{/success}} | ||
| 10 | |||
| 11 | = So I deleted = | ||
| 12 | |||
| 13 | .cloud | ||
| 14 | |||
| 15 | .storage | ||
| 16 | |||
| 17 | home-assistant.log | ||
| 18 | |||
| 19 | home-assistant_v2.db | ||
| 20 | |||
| 21 | icloud and icloud3 config from Yaml files | ||
| 22 | |||
| 23 | icloud3 from custom components | ||
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | = First startup = | ||
| 28 | |||
| 29 | Was partly a new Setup: | ||
| 30 | |||
| 31 | Create Admin User | ||
| 32 | |||
| 33 | Set Home | ||
| 34 | |||
| 35 | Set TimeZone | ||
| 36 | |||
| 37 | Set Metric | ||
| 38 | |||
| 39 | Set Integrations: | ||
| 40 | |||
| 41 | [[image:Screenshot 2020-01-18 at 18.01.52.png||width="253"||height="250"||alt="Screenshot 2020-01-18 at 18.01.52.png"]] | ||
| 42 | |||
| 43 | = What did I lose: = | ||
| 44 | |||
| 45 | I lost Lovelace config | ||
| 46 | |||
| 47 | Lost users | ||
| 48 | |||
| 49 | Lost Cloud config(Nabu Casa) | ||
| 50 | |||
| 51 | Lost IKEA Trådfri (Just needed to re-enter Security Code) | ||
| 52 | |||
| 53 | Lost Plex (just relink needed) and plex-clients | ||
| 54 | |||
| 55 | Lost Certificate Expiry | ||
| 56 | |||
| 57 | Lost History | ||
| 58 | |||
| 59 | = First iOSapp setup = | ||
| 60 | |||
| 61 | === Entities === | ||
| 62 | [[image:Screenshot 2020-01-19 at 09.59.56.png||height="400"||alt="Screenshot 2020-01-19 at 09.59.56.png"]] | ||
| 63 | |||
| 64 | This was Anettes iPhone - notice this is impossible to see here. | ||
| 65 | |||
| 66 | Notice "sensor.steps_2" - for the first iOS App - well thats because "sensor.steps" are taken: | ||
| 67 | |||
| 68 | [[image:Screenshot 2020-01-19 at 11.39.44.png||width="981"||height="98"||alt="Screenshot 2020-01-19 at 11.39.44.png"]] | ||
| 69 | |||
| 70 | That is utterly somewhat stupid, that naming are so simple and does not include something more - like "sensor.fitbit.steps", "sensor.fitbit1.steps", "sensor.fitbit_steps" | ||
| 71 | |||
| 72 | === Devices === | ||
| 73 | [[image:Screenshot 2020-01-19 at 10.01.08.png||width="1039"||height="143"||alt="Screenshot 2020-01-19 at 10.01.08.png"]] | ||
| 74 | |||
| 75 | [[image:Screenshot 2020-01-19 at 10.02.20.png||width="1039"||alt="Screenshot 2020-01-19 at 10.02.20.png"]] | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | = Adding an iOS App = | ||
| 80 | |||
| 81 | This was on Normanns iPhone: | ||
| 82 | |||
| 83 | [[image:Screenshot 2020-01-19 at 10.09.51.png||width="1039"||alt="Screenshot 2020-01-19 at 10.09.51.png"]] | ||
| 84 | |||
| 85 | Naming sucks...the Mobile App should have some unique ID that could be seen. | ||
| 86 | |||
| 87 | Renamed most of it: | ||
| 88 | |||
| 89 | [[image:Screenshot 2020-01-19 at 11.34.42.png||width="1039"||alt="Screenshot 2020-01-19 at 11.34.42.png"]] | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | {{error}}Of cause - by renaming entities etc - You need to update all You yaml files{{/error}} | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | = Adding icloud = | ||
| 98 | |||
| 99 | I added the normal iCloud Integration | ||
| 100 | |||
| 101 | [[image:Screenshot 2020-01-19 at 18.41.52.png||width="1039"||alt="Screenshot 2020-01-19 at 18.41.52.png"]] |