OH 3.0 UI support #603
Unanswered
digitaldan
asked this question in
Ideas
Replies: 2 comments 1 reply
-
Makes sense to have support for OH3 UI. Let's make it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @timbms and @weakfl , as mentioned in openhab/openhab-webui#633 , there is work to support the new UI in the android client, i'm not sure if there is another thread on this for IOS, but if not then let's track it here.
It would be great to have the IOS client support our new UI in a webview. This would be selectable along with the different sitemaps and should feel seamless. Ideally, the app would default to the last view used, so if you use the new UI, thats what would be selected next time you launch , and the same for a sitemap. This way existing users could default to what they know, and new users would have the new UI.
The ticket referenced above goes beyond this and allows communication between the WebUI and native app for things like themes or notifications.
I created a POC way back in May when we were testing the UI and possible options for embedding it, its not much, just adding a webview as something to navigate to, and populating the sidebar with OH3 tiles. My branch is at https://github.com/digitaldan/openhab.ios/blob/oh3-ui and more specifically the main view is at https://github.com/digitaldan/openhab.ios/blob/oh3-ui/openHAB/OpenHABWebViewController.swift . I can open a PR , but my Swift is embarrassing at best, and i'm not sure how you would like to proceed.
Beta Was this translation helpful? Give feedback.
All reactions