Override UUID/Acknowledge UUID Change without removing device? #373
Replies: 1 comment 5 replies
-
This could be tricky ;) All is done by manually editing the /.storage/core.config_entries. Here (it might be very huge - better search for the UUID to quickly get to the point) you should see some:
Actually, the 'unique_id' and 'device_id' entries should be permanent and they are never changed through the life of the configuration so you should see these fields as having the old UUID. These are then checked at runtime (in different code paths) to ensure the device who we're talking with is the same original one. By manually changing these you are effectively changing the 'original identity' and things should be fixed. The bug, previously allowed to update the 'payload' dictionary with actual (polled) device data from a possibly bogus device and so, these might already being reflecting the new device configuration (in this case they're ok and you should leave them) After editing restart HA and check everything went smooth (crossfingers!) |
Beta Was this translation helpful? Give feedback.
-
I just upgraded to the new meross cloud version 5.+ (from previous 4.X)
This release also implemented the check of UUID-Match. Which is obviouls a great feature but I ran into an issue with this when upgrading.
Some time ago I got one of my MTS200 replaced due to an hardware defect. Therefore the UUID of the device changed since the initial setup. When swapping the device no configuration changes on HA/meross_lan where needed since I adjusted the IP to match the old one by using a static IP entry.
My question:
Whats the easiest way to get my device "working" again in Home Assistant? Obviously removing and re-integrating the device again should fix the issue? (Would I only need to delete it and Home Assistant auto-discovers it again via the Meross Cloud?)
Is there an easier way? Maybe an option to acknowlodge the UUID change and therefore HA/meross_lan "overrides" the old UUID with the new one? (Ok this may be a feature request...)
If possible I would like to keep my data/history/configuration, so not remove my device
Thanks for any help
Screenshots displaying my issue (in german sorry :/)


Beta Was this translation helpful? Give feedback.
All reactions