Hi everyone, I wanted to share my experience and a workaround I found for switching between multiple OpenHAB instances on the Android app. If you’re like me and manage several instances across different buildings, you know how frustrating it can be to clear the cache every time you want to switch. Let me walk you through my journey and the solution I discovered!
First, I noticed that when switching instances, the app would sometimes show an empty sitemap list, even though I wasn’t using sitemaps. This was perplexing because the main UI should have been sufficient. After some research, I realized that the issue might be related to how the app handles cached data between instances.
Here’s what I did to resolve it:
-
Clear Cache Manually: While not ideal, clearing the cache does work. I found that this is a reliable method to switch instances without any issues. It’s a bit tedious, but it gets the job done.
-
Use Separate Accounts: I started using different Google accounts for each instance. This way, the app doesn’t mix up the cached data between instances. It’s a simple fix that worked wonders for me!
-
Regular Updates: Keeping OpenHAB and the app updated has also helped reduce the frequency of this issue. I noticed that newer versions handle instance switching more smoothly.
-
Backup Configurations: Before making any changes, I always back up my configurations. This has saved me from potential headaches in the past.
If you’re dealing with a similar issue, I hope these tips help. It’s been a learning curve, but with these workarounds, managing multiple OpenHAB instances has become much more manageable. Happy automating!