-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
watchOS app v2 doesn't load a sitemap created from MainUI #800
Comments
Please try with latest TestFlight release |
Hi @timbms, I am running the latest testflight version, but can not load any sitemaps on my watch. I get the error Shall I create a new issue? cheers |
We miss some instructions here. Please do the following:
|
I did that many times, also switching between the two sitemaps, the main ui one and the watch.sitemap on my filesystem. Deleting the icon cache and so on. Any other ideas? here is my
|
This seems unrelated to the specific sitemap. Nevertheless, I copied the sitemap to my installation and was able to get it displayed on the watch in simulator (I broke my watch and therefore cannot test on a physical device currently).
|
Thank you for Testing it! Yes i See a Watch Icon on the selected Sitemap for the watch. You mean the Secure Connection with SSL Port 8443? Yes i am using it. But also the Remote Connection does not work. |
|
No, i am using no certificates for authentication. Watch is synchronized and is showing the selected sitemap. I also tested other sitemaps without success. Active URL is the myopenhab Cloud. User is my cloud user. I played around with send credentials everytime and other options. But no success. Will have a look at the logfile later, perhaps something is logged. |
I think i found the problem. Local direct connection is working. I was remote connected at the beginning of my tests. But i can not get it work over the Cloud connection. And also i can‘t See and icons. Changed settings from SVG to PNG and back. But no Icon was shown. I know that change should also fix the Icon problem. |
We will then have to investigate two issues:
|
I noticed the cloud connection issue as well, i'll take a look at that today. |
@alaub81 Can you post the SVG icon that is not working? |
I am using the standard openHAB icons. e.g.:
in the older versions of the watch TestFlight app, a kind of placeholder icon with a grey crossed out circle, but now, if I choose SVG as icon Typ in the IOS app Seetings, there is nothing shown, so just the background is there. Am I right, that I have to switch from PNG to SVG in the settings, because there aren't any PNG icons anymore? |
And another issue, scrolling with the scroll wheel is not working with that new version. Scrolling is only working on the display itself. after restarting my Apple Watch scrolling does work. so no issue here. |
digitaldan, were you able to chase this bug? |
Any News? |
It looks like the Testflight version is not required anymore. You can revert to the normal production version in the App Store. |
Yeah, but the problem with the icons on the Watch is still Not solved. :/ |
Right. I meant the Sitemap not loading issue. |
I also tried this Testflight 3.0.8 version but I still get keeping the error ‘Sitemap without title’ when connected using the openHab cloudconnector. |
This what digitaldan wrote more then 2 month ago but we did not hear anything after this. Is this still on someones plate? |
Yes i am still working on this, no i don't have an eta |
No problem. Glad to know it’s still on your list. |
Hello, by testing the API, I've realized the REST API works properly only by using rest/sitemaps/uicomponents_watch and not rest/sitemaps/watch Thanks |
Is there someone who managed (with some kind of workaround) to get the Testflight IOS app working on a remote connection using openhab cloud on a version higher than 3.0.5? I still get the error “Sitemap without title” (since november 2024), but priority to fix this seems low. |
Its not low, but going slowly given this is a bigger issue to fix internally and we all do this in our spare time, nights and weekends. You can see the latest PR thats being worked on |
Sorry Dan, did want to upset you and appreciate all your work. |
There is a test flight version out that may solve this, let me know the results, thanks. |
It Looks great !! |
Tested it, too. Connection via 5G works now. And I figured out, via 5G the icons are shown in my sitemap on the watch, but not via WIFI. Can someone test that, too? Or do I have to change something? |
Hello, is it possible to have the code to be part of the testflight ? |
I played around a little bit, but I can't get the icons shown when I am connected via WIFI. I tried to use SVG and PNG Icons, deleted the icon cache, delete the web cache. @GeVaSta can you please try it again, you have to be sure that the active connection is not the direct, local one. |
Is this new, or has it always done this, i don't think i modified the UI in any way
Thats certainly strange, my are working, but i'm going through a caddy server with a real certificate, myopenhab also has a real cert, so that may be the issue, i'll take a look, its likely i missed moving image downloading over to the new HTTP stack for the watch
as stated in the README, its available at |
I noticed immediately the ‘look’ had changed and it had to be the time I thought. I found however an older video I made in the past with an older version and there I found out the truth is different. I tried again, also on request of alaub81, to test the showing of the icons with both a remote connection (over the openhabcloud) and when switching on my VPN to my homeserver, like a local connection (I am not in the country where my homeserver is). In both situations my icons are displayed fine. |
Another thing I noticed is scrolling through the items does not always work with the Digital Crown (nothing happens when you turn the crown) but sliding the screen up and down works. |
A question/request. |
@GeVaSta please open separate issues up for things not related to this ticket so we can track them better. I can see about fixing some of them while i am actively in the code base. |
I think, that this issue can be closed, because, UI created sitemaps are working now via openhab cloud and local, or am I wrong? I will also open up a new issue, with my icon problem, but I will first play around with this, perhaps I have a problem on my setup. |
Dan, should I open just a new issue also when its related to the latest Testflight version like now? |
This issue is around not loading sitemaps, you have brought up quite a few different issues not related, each should be it own issue, i can't keep track of long threads like this, as i work across half a dozen repos and have to context switch often . |
All clear Dan. New issues created. |
I found out that the problem must be related to the self signed certificate of my openhab setup. If I change the local connection to 8080, so without ssl, the icons are there, as they are when I connect remote over myopenhab. Shall I open a new ticket for that? |
Right, i stated that a few posts up. No don't open another ticket, thats still related to this one and moving all networking to the new http stack on the watch, and its still being worked on. |
There's a new Testflight release being rolled out, hopefully this fixes image loading. |
Thanks @digitaldan, now it is working with the new TestFlight version! cheers |
Description
When the sitemap with the name "watch" is created using the MainUI, it is not found by the watchOS app and the console reports a 404 error. Only when the sitemap is created from a file configuration with the name "watch.sitemap" it can be loaded.
Steps To Reproduce
Expected behavior
A sitemap created using the MainUI with the correct name should be successfully loaded by the app.
App
The text was updated successfully, but these errors were encountered: