Hi! Thanks for maintaining this watchface, it looks really nice. I was trying it out with Gadgetbridge and unfortunately it seems the weather does not work. I get these logs from the app on my phone every few seconds:
14:16:56.177 [ThreadPoolForeg] DEBUG n.f.g.s.d.p.w.GBWebClient - WEBVIEW shouldInterceptRequest URL: https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=56.4&lon=-2.9
14:16:56.179 [ThreadPoolForeg] DEBUG n.f.g.s.d.p.w.GBWebClient - WEBVIEW request:https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=56.4&lon=-2.9 not intercepted
14:16:56.180 [ThreadPoolForeg] DEBUG n.f.g.s.d.p.w.GBWebClient - WEBVIEW shouldInterceptRequest URL (legacy): https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=56.4&lon=-2.9
14:16:56.181 [ThreadPoolForeg] DEBUG n.f.g.s.d.p.w.GBWebClient - WEBVIEW request:https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=56.4&lon=-2.9 not intercepted
14:17:00.504 [Thread-2] INFO n.f.g.s.d.p.PebbleProtocol - got APPLICATIONMESSAGE PUSH from UUID : 9040763a-6b35-49d1-82ac-13ce02e31137
14:17:00.511 [Thread-2] DEBUG n.f.g.s.d.p.PebbleIoThread - to WEBVIEW: event: appmessage message: {"payload":{"KEY_TEMPERATURE":0},"data":{"transactionId":20}}
14:17:00.518 [JavaBridge] INFO n.f.g.s.d.p.w.CurrentPosition - got longitude/latitude from preferences: 56.4/-2.9
14:17:00.523 [JavaBridge] INFO n.f.g.s.d.p.w.JSInterface - WEBVIEW - geo position{"timestamp":1734445019523,"coords":{"latitude":56.4,"longitude":-2.9,"accuracy":100,"altitude":94,"speed":0}}
14:17:00.527 [main] ERROR n.f.g.u.GB - Refused to set unsafe header "user-Agent" (at file:///storage/emulated/0/Android/data/nodomain.freeyourgadget.gadgetbridge/files/pbw-cache/9040763a-6b35-49d1-82ac-13ce02e31137_config.js: 203)
14:17:00.529 [JavaBridge] DEBUG n.f.g.s.d.p.w.JSInterface - WEBVIEW event finished: appmessage
14:17:00.531 [ThreadPoolForeg] DEBUG n.f.g.s.d.p.w.GBWebClient - WEBVIEW shouldInterceptRequest URL: https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=56.4&lon=-2.9
14:17:00.531 [ThreadPoolForeg] DEBUG n.f.g.s.d.p.w.GBWebClient - WEBVIEW request:https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=56.4&lon=-2.9 not intercepted
14:17:00.532 [ThreadPoolForeg] DEBUG n.f.g.s.d.p.w.GBWebClient - WEBVIEW shouldInterceptRequest URL (legacy): https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=56.4&lon=-2.9
14:17:00.532 [ThreadPoolForeg] DEBUG n.f.g.s.d.p.w.GBWebClient - WEBVIEW request:https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=56.4&lon=-2.9 not intercepted
14:17:00.533 [main] DEBUG n.f.g.s.d.p.PebbleIoThread - Callback from appmessage: null
Normally Gadgetbridge itself should be able to provide weather info communicated from another app, as as far as I know GB does not use the internet permission.
Hi! Thanks for maintaining this watchface, it looks really nice. I was trying it out with Gadgetbridge and unfortunately it seems the weather does not work. I get these logs from the app on my phone every few seconds:
Normally Gadgetbridge itself should be able to provide weather info communicated from another app, as as far as I know GB does not use the internet permission.