Android App shows black background

Hi,

suddenly the android app turned all pages and sitemap into black. Even the desktop shows the usually withe background. It happens suddenly on two google pixel. Even when I tried to fix it in “Einstellungen” “Design” it does not show a “Hell” background. Any clue ?
Cheers

Franz

In the android app’s settings, make suer the Theme is set to “Follow system” or “Light” (if you don’t want it to change with the phone’s dark mode.

In MainUI you can go to “Help & About” and set the theme and dark mode there. That setting only applies to that one device though. It’s not a server setting.

Thanks a lot ist it worked out. I had not even knew that this menu exist. Strange how I did it accidentally.

Thx

Franz

I think you didn’t :innocent: because I have the same issue.
Android App is on “System follow”, openHAB Settings in “Help and about” on that device are on “Auto”: screen background is black on MainUI, but still works fine on Sitemaps …
This is true for Android App 3.18.1 and Android App Beta 3.19.3.

Something is wrong with MainUI, I think (openHAB 5.1.2)

Correct. I fixed it in this PR.

@jsjames Did you consider backporting that fix?

2 Likes

Sorry about that - i did backport the other darkMode changes to eliminate the continuous calls, but this one I missed.

@florian-h05 - not sure if we should push for another release?

I can confirm same issue (auto setting ignored and page stays dark).

That’s a bit too close to the last release. While waiting for the release, one can update the UI bundle with the latest build from the backport branch, see Bundle Management | openHAB.

On dirait que l’application est passée en mode sombre sur Android, ce qui peut parfois remplacer le thème clair habituel même si la version de bureau reste blanche. Sur Google Pixel, vérifiez à la fois le mode sombre à l’échelle du système et les paramètres spécifiques à l’application: dans “Einstellungen” → “Affichage” → “Dunkles Design”, assurez-vous qu’il est désactivé. Certaines applications ont également leur propre ile de casino https://www.villeinitalia.fr/casino/ile-de-casino/ bascule de thème à l’intérieur de l’application, souvent sous Paramètres → Apparence ou Conception.

Si cela force toujours les arrière—plans noirs après le retour à la lumière, essayez de vider le cache de l’application ou de réinstaller-cela réinitialise généralement toute préférence de thème bloquée.

I can confirm that the issue is fixed in openHAB 5.2.0.M1
Thanks a lot :+1:

The fix was included in the last jenkins build, so as Florian suggested, you can update it with the following command from the console:

bundle:update XXX https://openhab.jfrog.io/artifactory/sandbox-release/org/openhab/ui/bundles/org.openhab.ui/5.1.3/org.openhab.ui-5.1.3.jar

where XXX is the main UI bundle id you can retrieve from the following bundle:list | grep 'Main UI'

2 Likes

Doesn’t work for me: It shows:
Error executing command:…

Had the same error message. The 5.1.3 version isn’t available on the server, but the 5.2.0 version fixes the issue too:

bundle:update XXX https://openhab.jfrog.io/artifactory/sandbox-release/org/openhab/ui/bundles/org.openhab.ui/5.2.0/org.openhab.ui-5.2.0.jar

Retrieve the XXX using the command Jeff posted before.

Thanks, now it worked even with the 5.1.3 version… (and the 5.2.0 version doesn’t seem to be available…?)