Anyone using nextcloud viewer app?

Hi,
Marcus Nitzschke - Accessing Openhab sitemaps through Nextcloud

there is a nextcloud app that is supposed to show OH sitemaps, but I cannot get it to work.

the only configuration it has, is the address of the OH server instance.
the error I get is - cannot fetch sitemaps
I am using self hosted OH instance behind reverse proxy
nextcloud machine is in vpn with oh machine so it can reach it by LAN

I tried all possible combinations of my server name like:
http://local-oh-ip:8080
https://local-oh-ip:8443
https://public-oh-ip:8443

all these addresses with a combination of

  • /basicui
  • /basicui/app
  • /basicui/app?sitemap=uicomponents_doma

anyone knows what is nextcloud expecting anyway? there is no documentation for that nextcloud app…

Try like that:

local-oh-ip:8080

Without http or https

tried those combinations as well…

For me it works just fine.

in what format you wrote your server name?

are you on myopenhab cloud or self hosted? does the app have option to write username and password or just server name, refresh interval and disable/enable ignore ssl errors?

oh

I am on “self hosted” OH.
There is no option for username nor password in app settings.
This app is only read-only viewer for OH.

thanks. i give up then.
i even tried setting a test sitemap via file in sitemaps folder, was thinking NC doesnt recognize sitemaps configured within MainUI, but nope. still same message…

ah it works.
I had disabled implicit security before, so I enforce authentication, but this nextcloud app cannot authenticate

edit: i re-enabled security (disabled implicit role) and configured nextcloud like this:

http://username:password@oh-ip:port