1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-29 10:03:46 +02:00
Commit Graph

2740 Commits

Author SHA1 Message Date
Andreas Shimokawa
2ccebe07f5 Merge branch 'master' into bip-wip 2017-11-11 00:08:19 +01:00
Andreas Shimokawa
1e324acd65 Mi Band 2/Bip/Cor: Whole day HR Measurement 2017-11-11 00:04:51 +01:00
Olexandr Nesterenko
f5ef76f43e Translated using Weblate (Ukrainian)
Currently translated at 36.9% (157 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2017-11-09 23:01:39 +01:00
Hadrián Candela
c930c0fca6 Translated using Weblate (Galician)
Currently translated at 100.0% (425 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/gl/
2017-11-09 23:01:39 +01:00
Jesús
8d821ecc85 Translated using Weblate (Catalan)
Currently translated at 38.8% (165 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2017-11-09 23:01:39 +01:00
Jesús
50ad139544 Added translation using Weblate (Catalan) 2017-11-09 23:01:39 +01:00
Jonas
df1b526879 Translated using Weblate (Spanish)
Currently translated at 100.0% (425 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2017-11-09 23:01:39 +01:00
Jonas
179d79e6a1 Translated using Weblate (French)
Currently translated at 100.0% (425 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2017-11-09 23:01:39 +01:00
Andreas Shimokawa
0b9bf561dc bump version, add changelog 2017-11-09 22:59:15 +01:00
Andreas Shimokawa
e3ca3872e1 Amazfit Bip: Allow watchface flashing and whitelist Firmware 0.0.9.40 2017-11-09 22:05:01 +01:00
cpfeiffer
da7de378d3 Back out the DST handling, since it causes problems with activity fetching
Details: when we ask to fetch activity samples from date:time:tz+dst, the band,
under certain conditions, will send us back date:time:tz (without the dst offset)

We're fine with that, so we start fetching. When it's done, we take the last sample's
timestamp (still without dst offset), convert it to a unix timestamp, create a Calendar
using current tz and apply the unix timestamp. Then we send that timestamp again to the
band in order to fetch activity samples from then, but we again add the dst offset to the tz,
so send as date:time:tz+dst without changing the timestamp. That way, we may end up at the
timestamp we began with, fetching the same activity data again and not progressing.

We first need to thorougly understand how the devices behave, before we can reenable and fix
this.
2017-11-07 21:24:48 +01:00
cpfeiffer
b76e78768c Another small tz+dst parsing testcase 2017-11-07 21:23:54 +01:00
Andreas Shimokawa
9764e8e54e try to parse timezone that comes back from huami devices
(there are other places where something like this has to be done, probably also in the other direction)

related to #869

(cherry picked from commit a58e3f66ce)
2017-11-06 23:23:11 +01:00
cpfeiffer
99710e7db3 Tiny test for parsing date,time,tz 2017-11-06 23:21:04 +01:00
Andreas Shimokawa
6b56e8e568 Amazfit Cor: Fix flashing of new .res files 2017-11-06 07:17:01 +01:00
Andreas Shimokawa
a58e3f66ce try to parse timezone that comes back from huami devices
(there are other places where something like this has to be done, probably also in the other direction)

related to #869
2017-11-05 22:35:28 +01:00
Andreas Shimokawa
24f98504b0 Amazfit Bip: when deleting activites, delete the correct one 2017-11-05 00:20:26 +01:00
Andreas Shimokawa
ac98111502 Amazfit Bip: Fix Running/Cycling activity mapping (was swapped) 2017-11-05 00:08:39 +01:00
Andreas Shimokawa
640e7f0abf Merge branch 'master' into bip-wip 2017-11-03 23:27:58 +01:00
Andreas Shimokawa
11d49f223b add changelog bump version 2017-11-03 23:26:54 +01:00
Andreas Kromke
fe558a69ad Translated using Weblate (German)
Currently translated at 98.5% (419 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/

better translation
2017-11-03 22:46:37 +01:00
anonymous
facfd0cb04 Translated using Weblate (German)
Currently translated at 98.5% (419 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2017-11-03 22:46:37 +01:00
Andreas Shimokawa
9aa25809f8 Translated using Weblate (German)
Currently translated at 98.1% (417 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2017-11-03 22:46:37 +01:00
cpfeiffer
9e79eee707 Bip wip: fix position -> item mapping 2017-11-03 22:04:01 +01:00
cpfeiffer
23b18abfe8 Avoid potential NPE 2017-11-03 22:01:11 +01:00
cpfeiffer
d9de8e0cab Bip: new activity type mapping 2017-11-03 21:54:48 +01:00
Andreas Shimokawa
83c06f4429 Amazfit Cor: fix firmware update 2017-11-03 01:09:09 +01:00
Yaron Shahrabani
85eccc76d7 Translated using Weblate (Hebrew)
Currently translated at 100.0% (425 of 425 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2017-11-02 21:50:12 +01:00
Yaron Shahrabani
30233ac10d Translated using Weblate (Hebrew)
Currently translated at 100.0% (420 of 420 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2017-11-02 21:50:03 +01:00
naofum
657e47e701 Translated using Weblate (Japanese)
Currently translated at 75.1% (315 of 419 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ja/
2017-11-02 21:49:55 +01:00
Jonas
ae64fa9945 Translated using Weblate (Spanish)
Currently translated at 100.0% (419 of 419 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2017-11-02 21:49:46 +01:00
Jonas
cb275d9f08 Translated using Weblate (French)
Currently translated at 100.0% (419 of 419 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2017-11-02 21:49:34 +01:00
Yaron Shahrabani
692171f6d6 Translated using Weblate (Hebrew)
Currently translated at 100.0% (419 of 419 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2017-11-02 21:49:25 +01:00
cpfeiffer
8b66d0f0f7 Bip: oups, that was just for testing 2017-11-02 00:19:31 +01:00
cpfeiffer
c8b71677cd Bip: remember last time synced 2017-11-02 00:18:48 +01:00
Andreas Shimokawa
dd440f51df Amazfit Bip: add manual language selection 2017-11-01 23:32:54 +01:00
cpfeiffer
fd159b7603 Bip: improved logging, read expected number of bytes for progress monitoring during sync 2017-11-01 23:05:29 +01:00
Daniele Gobbetti
331ca6a47e Merge branch 'master' into bip-wip 2017-11-01 22:12:13 +01:00
Andreas Shimokawa
e2546f772a Mi Band 2: prevent detecting as Mi Band HRX in all cases, fixes HR not visible in charts
Fixes #862
2017-11-01 22:10:06 +01:00
cpfeiffer
923d7ae09d Bip: fix activity track kind constants 2017-11-01 20:02:30 +01:00
Daniele Gobbetti
72f76b60d3 Pebble: send temperatures according to the configured measurement system
Fixes #858
<Without further comments but feel free to insert a long rant about the beauty of the metric system>
2017-11-01 17:58:58 +01:00
Daniele Gobbetti
e7839f1c39 Replace the Combined Charts with simple Line Charts
Fixes #808
The datasets had to be separed in order to fill the area below each line with the right color.
2017-11-01 17:35:05 +01:00
Daniele Gobbetti
98b04dd2fc Allow disabling left/right swipe on the graphs
Fixes #860
 Added preference to control this option
 Swiping down will still toggle a sync of the data from the device (if connected) in any case
2017-11-01 09:07:01 +01:00
cpfeiffer
7b3556756a Bip: activity types are different from samples' activity kind 2017-10-31 23:39:49 +01:00
cpfeiffer
f5318287c4 WIP: Bip GPS fetching, parsing, exporting
Also adjust Mi2 date/time sending wrt DST offsets
2017-10-31 23:16:39 +01:00
cpfeiffer
eac8f5f8c7 Extract isValidHeartRate() method to HeartRateUtils 2017-10-31 23:16:39 +01:00
Daniele Gobbetti
5417c5b5f6 Change notification, and fix the connection logic:
- fix bug that caused the wrong device to be connected sometimes
- add accent color
- add battery status
- remove duplicated title
- allow to connect also before first connection (the last connected device will be used)
2017-10-30 21:37:31 +01:00
Andreas Shimokawa
c43b31b1e7 bump version, update changelog 2017-10-30 09:10:03 +01:00
Andreas Shimokawa
3282e329f3 Mi Band 2: Fix bad copy and paste error that lead to Mi Band 2 being detected as Amazfit Bip
Fixes #859
2017-10-30 09:03:40 +01:00
Andreas Shimokawa
958f586212 change "Bip" in settings to "Amazfit" (to include Cor) 2017-10-25 22:49:29 +02:00