1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-01 06:22:55 +01:00
Commit Graph

10661 Commits

Author SHA1 Message Date
g_p
7cb7c0ea8a Nothing CMF Watch Pro: Add weather support
This patch adds support for current weather, and next 6 days' weather. Condition mapping added to align with the available icons on the watch.
It also transmits the hourly condition and temperature for the coming 24 hours as part of the update.

Tested on CMF Nothing Watch Pro firmware 11.0.0.50 with weather data cooming from Breezy Weather (using Accuweather)

For current day:
- Weather symbol shows
- Name of current location shows (long names scroll)
- Current temperature shows
- Written condition shows (e.g. "Cloudy")
- Min/max temperatures show
- Air quality indicator shows

For upcoming days:
- Weather symbol shows
- Min/max temperatures show
- Name of day shows (patch doesn't touch this)

Nothing CMF Watch Pro: Use putShort() for air quality indicator; fix max location length

- Using putShort() as suggested from code review - tested to give same result
- Reduced max location length to 16 bytes, as 32 was not working

Nothing CMF Watch Pro: Better handle limited data from weather providers

- Check max length of daily and hourly datasets
- Populate with dummy data if insufficient data available
- Use null as the weather condition in any situation where no data available

Nothing CMF Watch Pro: If hourly weather data is missing, use current data

This should create a better fallback behaviour if a weather source is lacking hour-by-hour data.
Assuming the current data will apply in the next hour is less messy than showing placeholder (inaccurate) figures.

Nothing CMF Watch Pro: Allow location names of up to 30 characters, improve string processing
2024-03-25 22:45:36 +00:00
José Rebelo
1e2a561dfd Bangle.js: Add screenshot support 2024-03-25 20:38:37 +00:00
José Rebelo
705651e5f6 BondingUtil: Fix linter
The code was valid, but gradle lint will not realize that the API check
is performed, so it would fail. Inline the condition to fix this.
2024-03-25 20:38:18 +00:00
José Rebelo
852893408f Ask for companion device during pairing 2024-03-25 20:31:33 +00:00
José Rebelo
8085eb6ec3 Discover bonded devices by default
A lof of devices will simply work anyway even if already paired in
Android bluetooth settings. Discover them by default, but warn the user
if the device is not known to pair correctly if already paired in Android
settings. Allows this warning to be disabled to known working devices.
2024-03-25 20:31:33 +00:00
arjan-s
f05043481c
Translated using Weblate (Dutch)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2024-03-25 20:25:52 +01:00
ritchierope
efa831b67c
Translated using Weblate (Hungarian)
Currently translated at 81.3% (2139 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2024-03-25 20:25:51 +01:00
José Rebelo
d82e74384d Update changelog 2024-03-25 18:16:01 +00:00
Ganblejs
f8e15068ea Bangle.js: add save file to android functionality
Bangle.js:file handling LOG.warn -> info

Bangle.js: sync file can't escape device directory

Naïve solution. I wanted to use `Path.normalize()` but Android Studio
said it could not be used from the static context. This does not attempt
to normalize the path, but just remove the special names `..\` and `.\`.

Bangle.js:simpler hindering of escaping device dir
2024-03-25 17:04:21 +00:00
Misaka 0x4e21
cef277261a [Huawei] Support workout type of cycling
Add support for workout type of (outdoor) cycling, which is 5 on the device.
2024-03-25 23:28:53 +08:00
Andreas Shimokawa
7fe619c976 BLEScanService: Allow supported ScanSettings on Android API level 23 2024-03-25 10:34:44 +01:00
José Rebelo
cbc9bb4e11 Update changelog 2024-03-25 09:21:24 +00:00
José Rebelo
435b4bec60 BLEScanService: Fix linter 2024-03-25 09:20:51 +00:00
Andreas Shimokawa
668ed5ab71 update changelogs, bump version 2024-03-25 09:46:40 +01:00
Mikel Larreategi
7d1f9ca007
Added translation using Weblate (Basque) 2024-03-24 21:31:04 +01:00
0que
88a8395419
Translated using Weblate (Russian)
Currently translated at 97.3% (2561 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2024-03-24 21:31:04 +01:00
Mates K
afe894c853
Translated using Weblate (Czech)
Currently translated at 90.4% (2380 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2024-03-24 21:31:04 +01:00
Rex_sa
de5514ad63
Translated using Weblate (Arabic)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ar/
2024-03-24 21:31:04 +01:00
Oğuz Ersen
2bea4a0338
Translated using Weblate (Turkish)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2024-03-24 21:31:04 +01:00
Linerly
f7d6ad7baf
Translated using Weblate (Indonesian)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/id/
2024-03-24 21:31:04 +01:00
陈少举
d8ddcd4be4
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2024-03-24 21:31:04 +01:00
gallegonovato
162fd9b7c4
Translated using Weblate (Spanish)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2024-03-24 21:31:04 +01:00
skdubg
01d46a98b0
Translated using Weblate (German)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2024-03-24 21:31:04 +01:00
gallegonovato
f1875f3bb8
Translated using Weblate (Spanish)
Currently translated at 100.0% (2629 of 2629 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2024-03-24 21:31:04 +01:00
Rex_sa
9cdb23bb9e
Translated using Weblate (Arabic)
Currently translated at 100.0% (2627 of 2627 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ar/
2024-03-24 21:31:04 +01:00
0que
cf64d50780
Translated using Weblate (Russian)
Currently translated at 97.3% (2558 of 2627 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2024-03-24 21:31:04 +01:00
Oğuz Ersen
78974e759c
Translated using Weblate (Turkish)
Currently translated at 100.0% (2627 of 2627 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2024-03-24 21:31:03 +01:00
skdubg
9afd34fe59
Translated using Weblate (German)
Currently translated at 100.0% (2627 of 2627 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2024-03-24 21:31:03 +01:00
Linerly
79d378ddc4
Translated using Weblate (Indonesian)
Currently translated at 100.0% (2627 of 2627 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/id/
2024-03-24 21:31:03 +01:00
陈少举
0140fe29be
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2627 of 2627 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2024-03-24 21:31:03 +01:00
gallegonovato
88812abd7f
Translated using Weblate (Spanish)
Currently translated at 100.0% (2627 of 2627 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2024-03-24 21:31:03 +01:00
José Rebelo
5f95f00707
Translated using Weblate (Portuguese)
Currently translated at 56.6% (1487 of 2626 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2024-03-24 21:31:03 +01:00
Rex_sa
a2813b5d0f
Translated using Weblate (Arabic)
Currently translated at 100.0% (2626 of 2626 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ar/
2024-03-24 21:31:03 +01:00
Linerly
c2c8f51276
Translated using Weblate (Indonesian)
Currently translated at 100.0% (2626 of 2626 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/id/
2024-03-24 21:31:03 +01:00
陈少举
aacfc08bd0
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2626 of 2626 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2024-03-24 21:31:03 +01:00
Oğuz Ersen
17e284f7d2
Translated using Weblate (Turkish)
Currently translated at 100.0% (2626 of 2626 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2024-03-24 21:31:03 +01:00
0que
65705bc8c0
Translated using Weblate (Russian)
Currently translated at 97.3% (2557 of 2626 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2024-03-24 21:31:03 +01:00
gallegonovato
d67c260821
Translated using Weblate (Spanish)
Currently translated at 100.0% (2626 of 2626 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2024-03-24 21:31:03 +01:00
skdubg
d273246cd3
Translated using Weblate (German)
Currently translated at 100.0% (2626 of 2626 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2024-03-24 21:31:03 +01:00
skdubg
6148c93f08
Translated using Weblate (German)
Currently translated at 99.9% (2623 of 2624 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2024-03-24 21:31:03 +01:00
bowornsin
57bbd5813d
Translated using Weblate (Thai)
Currently translated at 3.2% (86 of 2624 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/th/
2024-03-24 21:31:03 +01:00
Rex_sa
b3ec0d6214
Translated using Weblate (Arabic)
Currently translated at 100.0% (2624 of 2624 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ar/
2024-03-24 21:31:03 +01:00
Linerly
b6d0e9223b
Translated using Weblate (Indonesian)
Currently translated at 100.0% (2624 of 2624 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/id/
2024-03-24 21:31:03 +01:00
陈少举
4c16b0b9a6
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2624 of 2624 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2024-03-24 21:31:03 +01:00
Oğuz Ersen
2222097488
Translated using Weblate (Turkish)
Currently translated at 100.0% (2624 of 2624 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2024-03-24 21:31:03 +01:00
Michal L
60347ab742
Translated using Weblate (Polish)
Currently translated at 98.6% (2582 of 2618 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2024-03-24 21:31:03 +01:00
Ghost of Sparta
7fedb80d1d
Translated using Weblate (Hungarian)
Currently translated at 79.2% (2075 of 2618 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2024-03-24 21:31:03 +01:00
Yaron Shahrabani
5cc37f1fe3
Translated using Weblate (Hebrew)
Currently translated at 97.8% (2563 of 2618 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2024-03-24 21:31:03 +01:00
Kryštof Černý
237ceda690
Translated using Weblate (Czech)
Currently translated at 88.7% (2323 of 2618 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2024-03-24 21:31:03 +01:00
Kryštof Černý
b6a33a0aa8
Translated using Weblate (Czech)
Currently translated at 84.3% (2208 of 2618 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2024-03-24 21:31:03 +01:00