openhab-ios icon indicating copy to clipboard operation
openhab-ios copied to clipboard

WatchOs app not connecting

Open roben opened this issue 4 years ago • 23 comments

Describe the bug The watch app only shows an empty sitemap. First I thought it was an issue with my sitemap but digging further revealed that no requests are logged on the server at all. Tested with and without wifi. Selecting the watch sitemap within the iOS app works just fine, too.

App (please complete the following information):

  • Version 2.4.0.1580410446

Smartphone (please complete the following information):

  • Device: iPhone Xs

Additional context

Local URL is analogue to https://myserver.local, remote URL is https://hab.mydomain.org. SSL is done via let's encrypt, OpenHAB is behind an apache2 reverse proxy. access.log shows all clients properly but nothing for the watch app.

roben avatar Aug 25 '20 20:08 roben

I am not sure what to do to debug this any further as nothing is shown at all within the app and no requests are received from the server.

roben avatar Aug 25 '20 20:08 roben

This bug is fixed in version 2.4.1, it's currently only available at Testflight.

NorbertHD avatar Aug 26 '20 06:08 NorbertHD

Thanks. Do you know when it will be released to the public?

roben avatar Aug 26 '20 07:08 roben

Same issue here when using the latest TestFlight build. First tab (sitemap) is completely blank. Using OH 2.5.8 also had this issue with previous TestFlight builds last months I thought it was stil work in progress and never had a working watch app. The sync preferences options works and fills the fields with correct values. @timbms any suggestion what we could do to get usable debug information? D68B7C27-6D6E-418F-BE43-F6748B3F8AD7

mstroeve avatar Aug 28 '20 21:08 mstroeve

refs #574

weakfl avatar Sep 04 '20 21:09 weakfl

I Just tried again with the latest 2.4.4 testflight build and the sitemap stays empty. When i checked the settings on the watch app i saw the sitemap stating "watch" in stead of my default (and only) sitemap. This value cant seem to be changed in the watch app?

mstroeve avatar Sep 04 '20 22:09 mstroeve

Same error in Sitemap appears “watch” and not the one I wear by default.

You can't change to another sitemap.

litris avatar Sep 10 '20 10:09 litris

Sorry guys this is not the issue here. There should already be another one to make the sitemap configurable. I have a distinct watch sitemap (which you will need anyways) and this one doesn't work on the watch but on all other devices.

roben avatar Sep 10 '20 10:09 roben

Sorry guys this is not the issue here. There should already be another one to make the sitemap configurable. I have a distinct watch sitemap (which you will need anyways) and this one doesn't work on the watch but on all other devices.

I use the version in the AppStore and it doesn't work.

No sitemap can be chosen.

litris avatar Sep 10 '20 19:09 litris

The version (2.4.0) in the AppStore has an error and the watch part can not work at all. The watch part is in an early state and experimental. Because also of the lack of documentation of the restrictions of the watch part, I assume it was accidently released to the AppStore. If you want to play with the latest watch TestFlight version you have to create a "watch" sitemap. There is no way yet to select another name. Only switch and slider items are supported. If there is an error or unknown elements in the sitemap definition you'll see an empty screen. I would start with an one item map and expand it one by one. I'm not a developer or maintainer of this app, so I can not tell if or when this will change.

NorbertHD avatar Sep 10 '20 20:09 NorbertHD

Thanks @NorbertHD with a simple watch sitemap and only switch and sliders it seems to work (latest testflight build). Dont use frames the show but sliders and switches inside wont render.

mstroeve avatar Sep 10 '20 20:09 mstroeve

Ok thanks.

litris avatar Sep 10 '20 21:09 litris

I cant get it to work.... black sitemap...

filename watchos.sitemap or watch.sitemap?

got this sample inside: sitemap default label="Watch" { Switch item=KeyMatic_Open label="Haustuer" Switch item=Garagentor_Taster label="Garagentuer" Switch item=KeyMatic_Garage_State label="Garagentor" Switch item=Licht_EG_Kueche label="Kuechenlicht" }

recognized my external adress on sync...

redbear-ger avatar Sep 18 '20 12:09 redbear-ger

`sitemap default

The sitemap must be named "watch" not "default".

NorbertHD avatar Sep 19 '20 16:09 NorbertHD

Here it is the same. Watch-Sitemap on iwatch stays empty. On iphone it works, but on watch not

sitemap watch label="watch" { Switch item=Aussentuer label="Haustuer" }

miriampadberg avatar Sep 22 '20 16:09 miriampadberg

How can I get an invite for the testflight beta?

paulpenner avatar Oct 01 '20 02:10 paulpenner

How can I get an invite for the testflight beta?

Hi all, I'm interested in this as well, used to use Testflight for other project already ;-)

int5749 avatar Oct 03 '20 20:10 int5749

Use the link in the README.

weakfl avatar Oct 04 '20 05:10 weakfl

Use the link in the README.

Thanks, works like a charm for me, even supports frames to seperate switches

int5749 avatar Oct 04 '20 11:10 int5749

Is the public link still available for testflight?

daniel-mcgeever avatar Jan 04 '21 22:01 daniel-mcgeever

This bug is fixed in version 2.4.1, it's currently only available at Testflight.

Testflight seats are already occupied. Can you allow more testers?

becksen avatar Jun 29 '21 21:06 becksen

Watchapp is still crashing. App version 2.4.6 (158041455) Doesn't matter which settings or Sitemaps I use. Either I get Http 401 error or the watch is closing without further notice.

becksen avatar Sep 03 '21 08:09 becksen

I had to remove my basic auth acl from my haproxy setup. After that, i see my watch.sitemap

But removing auth is no option ;)

Is the password synced from the iphone-app?

boecko avatar Nov 26 '21 11:11 boecko