In my Android openHAB app, the start page is set to MainUI. However, it quite often starts with the Sitemap instead. This definitely happens when the app switches between local and remote connections, but I think it also occurs even when I stay constantly on the local network. When this happens, I have to close the app and restart it. This is really an annoying behavior and shouldn’t happen in a properly functioning app. Does anyone have an idea or a workaround to force openHAB to always start with the MainUI?
Platform information:
Hardware: Raspberry Pi 4
OS: Linux openhabian 6.12.25+rpt-rpi-v8
Java Runtime Environment: openjdk version “21.0.9” 2025-10-21 LTS
Same here, it is a small but annoying friction point in the day to day use of the application.
I was never able to pinpoint the conditions, and your finding about switching network is a good hint to hunt the issue.
I added this to the already existing issue in github .
It happens to me as well regularly. I can pull down the side menu and switch to MainUI quite often, but it’s still annoying. It would be great to have this setting always honored. Maybe it’s a fallback mechanism or something and my start page on MainUI is pretty big so there may be a timeout and fallback to Sitemap, but I don’t know. I suppose I could dig through the code but hopefully someone here actually knows.
It also happens on my Android phone (Samsung S22}) quite often. I found a work around which works mostly on my phone.
When the OpenHAB app shows up the sitemap instead of the MainUI, simply flipping the phone into horizontal position will load the MainUI again which remain visible after flipping back to vertical position.
Probably this could be a hint to find the root cause of the annoying behavior.
Thanks for posting this. I also see this regularly. Sometimes when opening the app, and it will sometimes happen mid-session if the network changes. Occasionally the hamburger menu will be there to allow a switch to MainUI, but most often I need to exit the app and reopen it.