How to restore the AM server configuration

16 views
Skip to first unread message

ChrisM

unread,
Aug 29, 2022, 8:55:56 AM8/29/22
to MppDevices
Hi everyone, how can I restore my Automation Manager preferences and device names?

My tablet (an older Samsung Galaxy Tab S2 running Android 7.0) shutdown last night (for some unknown reason) and once I powered it back up, Automation Manager was operating with its default preferences.  

Some other weird things;
  1. The AM Server widget on the home screen that normally shows the status; number of devices online, server IP, ... is only showing me the device count.  No other data
  2. I have a mix of ~60 Sonoff, Wemo, and TP Link devices.  The Sonoff device names have reset to their default MppPower_MAC ADDRESS.  The TP Link devices are not visible.  
  3. I had many rules configured and they are missing.  After importing my rules backup file, all device (including TP Link) are visible and controllable from AM but my Sonoff device names are still at default.
Appreciate any assistance.

Thanks

Chris


MikeP 4 MPP

unread,
Aug 30, 2022, 9:42:12 AM8/30/22
to MppDevices
Hi Chris:

Sorry to hear this, it can be a lot of trouble to recover :(.

Names are stored on the sonoff's themselves so typically should recover if AM data is lost.  However if it was a power outage the MppDevices will reset their data if there are multiple outages in a short period (you can disable this by setting "CycleRecovery" to 0.  Usually when this happens to me (though it's more often with the mqtt2zigbee hub) I can use AM to rename the device (since AM will have the name and not reset it if the device reports a null name) but in your case of course this won't work.

It sounds like for AM the app data was cleared?  Maybe an android problem, or something with the memory chip?  Unfortunately there's no easy way to recover from that.  Good you had a rules backup which I expect is most of the effort.  But you'll need to go into the other settings to restore them as needed (use the AM Server setup steps on my site as a guide).
You might be able to track down some names by sorting the rules by device - you can see in the rules which devices they affect, it should show the right MAC names, and you'll be able to rename them using those as a guide.  You could print the rules, and there's a "sort by device" option in the rule editor that might help.

For the TP Link devices, try restarting your router and then the devices - that will hopefully cause them to re-connect to the UDP multicast address they use and AM should track them down. If not you'll need to add them manually by IP, sorry :(.

Reply all
Reply to author
Forward
0 new messages