Andreas Shimokawa
66bb6f694e
Amazfit GTR Lite: Prevent using new firmware flashing code (they have not upgraded the protocol yet)
2020-11-12 17:47:31 +01:00
Andreas Shimokawa
c3b8604338
Amazfit GTR: FIx firmware flashing on newer firmares
2020-11-12 17:29:25 +01:00
Andreas Shimokawa
f157a2ac78
Amazfit GTS: Try to fix firmware flashing not working in newer firmwares
...
Reported in #2075
2020-11-11 12:51:58 +01:00
Andreas Shimokawa
cd8ac94a93
Mi Band 5: Whitelist FW 1.0.2.24
2020-11-11 09:48:50 +01:00
Andreas Shimokawa
9d6f9f7d57
Huami: Unify menu id lookup tables and simplify code
2020-11-10 21:56:00 +01:00
Andreas Shimokawa
5b55898059
Mi/Amazfit Band 5: Add support for setting/sorting shortcuts
2020-11-10 11:33:37 +01:00
pangwalla
c4eb1c0879
Support for Amazfit GTR 2 ( #2072 )
...
Merge branch 'master' into master
fixed GTR2 getActivitySampleSize override
Support for Amazfit GTR 2
Co-authored-by: Pangwalla <pangwalla@protonmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2072
2020-11-09 20:53:02 +01:00
Andreas Shimokawa
f178c478c9
Amazfit Bip: Also make shortcuts sortable
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
d20e6516c8
Humai: Implement menu sorting for remaining devices (except Mi Band 2)
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
8cb2fb980a
Ímplement sorting menu items for newer Huami devices
...
- Amazfit GTR/GTS
- Amazfit Bip S
- Mi Band 5/Amazfit Band 5
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
1224cfeffc
Amazfit Bip S: unify shortcuts code with display items code
2020-10-28 00:12:37 +01:00
Andreas Shimokawa
50f99a5b59
Amazfit Bip S Lite: add new device type for the lite variant
...
See #2055
2020-10-27 12:56:27 +01:00
Maxim Baz
e2a75d75d4
Add Wire messenger to the chat applications
...
This is a chat app that uses end-to-end encryption algorithm similar to Signal.
2020-10-26 23:29:58 +01:00
Andreas Shimokawa
4131f19f8d
Amazfit Band 5: Allow setting Sp=2
...
Also unify code to set display items on newer devices
2020-10-21 20:03:26 +02:00
Andreas Shimokawa
7c374181dc
Amazfit Band 5: Try to blindly use Mi Band 5 support for now
2020-10-17 11:58:22 +02:00
Andreas Shimokawa
1156ec22a4
Mi Band 5: Whitelist FW 1.0.2.08
2020-10-12 14:05:12 +02:00
Andreas Shimokawa
f4115fa617
Amazfit Bip S: Also send wind and humidity
...
Does not work with most weather sources, but it is better to send something to remove garbled characters
2020-09-30 18:47:19 +02:00
Andreas Shimokawa
1337644a14
Amazfit Bip S: Send sunrise and sunset on latest firmware if enabled
...
This still has to be enabled in Pebble settings..... :/
2020-09-30 18:16:25 +02:00
Andreas Shimokawa
5bdee2c130
Amazfit Bip S: Fix firmware flashing on DTH variant with firmware 4.1.5.55
2020-09-29 21:58:13 +02:00
Andreas Shimokawa
247366bf9d
Amazfit Bip S: Implement new Firmware update mechanism introduced with Firmware 2.1.1.50
...
This is probably mandatory for other devices now also!
2020-09-28 12:05:09 +02:00
Andreas Shimokawa
8087390336
Huami: recoginze GPS firmware 19439,3aa3392,135 and whitelist it for Bip S
2020-09-27 12:07:52 +02:00
Andreas Shimokawa
4da74e7375
Amazfit Bip S: Whitelist 2.1.1.46
2020-09-13 19:26:23 +02:00
Andreas Shimokawa
d5cdf21154
Amazfit Bip S: allow flashing gps almanac (only cep worked before)
2020-09-07 22:57:18 +02:00
Andreas Shimokawa
ce8021ec9b
Huami: Add new activity types found in recent Bip S firmware
2020-09-07 21:40:20 +02:00
Andreas Shimokawa
faef4fd92f
Amazfit Bip S: fix flashing some font files
2020-09-03 23:09:00 +02:00
Andreas Shimokawa
f2bfab0491
Huami: do not write elevation to GPX if we have a base altitude of -20000
...
( #2001 )
2020-09-03 23:01:59 +02:00
TaaviE
6cd59fbd24
Refactored all pairing and bonding activities ( #1989 )
...
Fixed a few warnings
Refactored all bonding and bonding activities
Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1989
2020-08-28 15:38:18 +02:00
Bot
40852d3641
Fixed a bunch of misspellings and formatting
2020-08-26 14:37:40 +03:00
Andreas Shimokawa
715fb67859
Do summary parsing on the fly if raw binary data is available
2020-08-18 10:39:44 +02:00
Andreas Shimokawa
2ca2636142
Huami: Recognize missing workout types from the Bip S (and other devices where those are supported)
2020-08-16 23:45:52 +02:00
Andreas Shimokawa
28a3ab1518
Huami: save raw summary data in new binary blob column for later interpretation
2020-08-16 22:50:59 +02:00
vanous
20faa23843
Add events forwarding for HUAMI Bip, MB3 ( #1980 )
...
Remove unneeded function call
Re-done to simplify
Add media actions
Rename function to make meaning clearer
Add events forwarding for HUAMI Bip, MB3
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1980
2020-08-16 22:07:55 +02:00
Andreas Shimokawa
e73c881aa9
Revert "swap +/- :)"
...
This reverts commit e027f3d526
.
2020-08-14 22:54:39 +02:00
vanous
c21206fbe4
Swapping min/max elevation
2020-08-14 22:53:00 +02:00
Andreas Shimokawa
e208549d1d
Decode a bit more for new acticity summaries (Bip S)
...
This also adds disabled code to create a binary dump for better analysis
2020-08-11 00:06:24 +02:00
vanous
e027f3d526
swap +/- :)
2020-08-10 18:27:30 +02:00
vanous
4a4362eec4
Use textViews. Remove groups from data.
2020-08-10 10:56:54 +02:00
Andreas Shimokawa
555eb34575
Start to support activity summary version 518
...
Incomplete, lot of missing stuff. no swimming, etc.
2020-08-10 00:19:13 +02:00
vanous
ec3334f037
move averageStride to Activity
2020-08-09 21:56:58 +02:00
vanous
bce85beb21
Use localized names and dates. Pass only needed data between activities.
...
Better display view. Cleaning up.
Add km/h and calculate speed to it.
Special casing calc not per key but per unit
solved min/maxPace, localized several missing labels.
totalStride is Total strides in m. Fix missing start_label
2020-08-09 21:56:31 +02:00
vanous
c3887ddb86
minimum working version
2020-08-09 21:56:25 +02:00
Andreas Shimokawa
94afcba363
Add text column to BaseActivityData for storing unstructured data to be displayed later
...
As a test first test, this currently only stores the average heart rate.
2020-08-07 23:12:29 +02:00
Andreas Shimokawa
66f2eb8479
Amazfit Bip S: whitelist firmware 2.1.1.26 and 2.1.1.36
2020-08-03 22:42:07 +02:00
Andreas Shimokawa
a619fdb168
Huami: Prevent setting an MTU of < 23, which is either a special value or a parsing error of Gadgetbridge
...
This fixes a problem where writeToChunked algorithm results in out of bounds writes or an endless loop.
Closes #1936
2020-08-02 13:11:41 +02:00
Cristian Alfano
637a7d5d07
Adding support for Mi Band 5's new FW and res versions and new languages supported: italian, french and german.
2020-08-01 23:03:21 +02:00
odavo32nof
d3a51a1078
Adding Mi Band 5 initial support ( #1930 )
...
Merge branch 'master' into master
Merge branch 'master' into master
Added available languages for Mi Band 5.
This one's for fixing the step counter but the daily count is always a little bit different compared to what's shown on the smartband.
Extending Mi Band 5 support! Every display item can be showed on the smartband now.
Cleanup
FW related test code
FW related test code
FW related test code
FW related test code
Adding Mi Band 5 test support
Co-authored-by: cristian <c.alfano@outlook.it>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1930
2020-07-28 18:16:56 +02:00
Andreas Shimokawa
932b0f7f94
Amazgit GTR/GTR Lite: Try to fix broken activity data
...
Query versions as described in #1907
Also see #1924
2020-07-23 22:05:28 +02:00
Andreas Shimokawa
ef09e24482
Amazfit GTS: Fix broken activity data on Firmware 0.0.9.xx
...
Fixes #1924
2020-07-22 11:03:30 +02:00
Andreas Shimokawa
f460f6abd1
Amazfit Bip S: Change Unknown menu item to "World Clock"
...
Latest firmware has a world clock, setting the locations is not yet supported by Gadgetbridge
2020-07-21 17:13:23 +02:00
Andreas Shimokawa
c437347236
Amazfit GTR/GTS: Fix connection for new firmware
...
This change does not do any harm on other Huami devices it seems
2020-07-05 17:07:43 +02:00
Andreas Shimokawa
3940387b1a
Huami: set forecast limit to 6 days (current + 6 in future)
2020-06-29 19:41:56 +02:00
Andreas Shimokawa
b7a1f469ee
Huami: limit forecast days to 3 days
...
Fixes problems with new weather notificaion on Mi Band 4 and others
Fixes #1910
2020-06-29 19:02:30 +02:00
Andreas Shimokawa
425bf48df5
Amazfit Bip S: whitelist fw 2.1.1.16
2020-06-29 16:36:16 +02:00
Andreas Shimokawa
c1b6f5f4f5
Amazfit Bip S: fix installation of latest res (96)
2020-06-29 00:17:23 +02:00
Dmytro Bielik
496460502b
Initial support for Amazfit T-Rex
2020-06-24 18:43:23 +03:00
Andreas Shimokawa
5d58a2f583
Work around music controls being disabled since last commit on Amazfit Cor (we do not get a music app started event before we haven't sent music information - weird)
2020-06-22 18:35:22 +02:00
Andreas Shimokawa
6b20f62e0f
Huami: Use music control code from Bip S for all devices
...
needs testing and cleanup for all devices
2020-06-22 18:06:40 +02:00
Zhong Jianxin
55f9c8f519
Huami: Avoid cutting multibyte chars in half
2020-06-22 10:12:10 +02:00
Zhong Jianxin
c3a9cf858e
Amazfit Bip S: Allow longer notification message
2020-06-16 13:41:26 +08:00
Andreas Shimokawa
26b7932153
Mi Band 4: Whitelist FW 1.0.9.58
2020-06-13 22:18:18 +02:00
Andreas Shimokawa
0229d24092
Mi Band 4 (possibly others): Fix detected RES version being always 69 for non-whitelisted res files
...
Fixes #1886
2020-06-12 23:24:26 +02:00
Andreas Shimokawa
8400568aed
Amazfit Bip S: support flashing GPS firmware, whitelist tonlesap 2.1.1.08 firmware, res, gps, font
2020-06-12 16:58:02 +02:00
Andreas Shimokawa
1f8826329c
Amazfit Bip S: For firmware update distinguish dth and tonlesap variants
...
This is done by comparing the firmware version (2 assumed for tonlesap, 4 for dth)
This could have been done properly by comparing the hardware revision, but there are so many hardware revisions during a huami device lifecycle, we could not catch up.
2020-06-12 16:14:35 +02:00
Andreas Shimokawa
99b7764709
Amazfit Bip S: Support flashing firmware and res
2020-06-11 19:24:45 +02:00
Andreas Shimokawa
25c749bab9
Amazfit Bip S: Support flashing fonts and setting high MTU
2020-06-11 13:29:41 +02:00
Andreas Shimokawa
8e08a9d660
Support flashing newer GPS ALM and support flashing GPS CEP on Bip S
2020-06-11 12:16:57 +02:00
Andreas Shimokawa
2f8634ce66
Shamelessly assume Bip S is using one of the newer fireware install code
2020-06-08 16:43:39 +02:00
Andreas Shimokawa
7d0243e61d
move Bip S file
2020-06-08 16:38:03 +02:00
Andreas Shimokawa
4326419209
Amazfit Bip S: allow flashing watchfaces (untested, and probably wont work)
2020-06-08 16:36:54 +02:00
Zhong Jianxin
44a9ce0267
Amazfit Bip S: Music support
2020-06-08 16:16:33 +02:00
Zhong Jianxin
c0558c570c
Huami: Check if musicSpec/stateSpec is null
2020-06-08 16:16:33 +02:00
Zhong Jianxin
8d145917f5
Huami: Use equals to compare musicspec/statespec
2020-05-19 23:08:46 +08:00
Zhong Jianxin
fc39221782
Amazfit Bip S: Support setting shortcuts
2020-05-14 10:05:49 +08:00
Zhong Jianxin
0e888aba3a
Amazfit Bip S: Fix setting display items
2020-05-14 10:05:39 +08:00
Zhong Jianxin
f06c9fb8e7
amazfit bip s: Fix incoming call notification
2020-05-13 23:24:03 +02:00
Andreas Shimokawa
e844f81056
Huami: If no menu items were ever configured with Gadgetbridge use our default and do not disable everything on connect
...
Fixes #1853
2020-05-12 22:42:19 +02:00
Andreas Shimokawa
fefcf2d2b9
ZeTime: Fix setting the watch language and make the setting accessible from the per-device configuration menu
...
This did not work at all before, it was supposed to take the language from
Gadgetbridge App settings or the phone's default settings, but nothing was ever
sent to the watch.
2020-05-05 00:34:59 +02:00
Andreas Shimokawa
94358e79b0
Amazfit GTR/GTR Lite: enable setting menu items (untested)
2020-05-03 20:16:35 +02:00
Andreas Shimokawa
dbba6f04b1
Add support for Amazfit GTR Lite (untested and incomplete)
...
See #1694
2020-05-02 23:40:07 +02:00
Andreas Shimokawa
33a1dbd1cd
Amazfit GTS: Fix setting menu items with low mtu
2020-04-29 14:44:58 +02:00
Andreas Shimokawa
a851bb5cf1
Amazfit GTS: support setting menu items
2020-04-22 17:10:49 +02:00
Andreas Shimokawa
12d5f1d88b
Amazfit GTR/GTS: Fix flashing watchfaces and _maybe_ firmware/res update (still untested)
2020-04-14 23:09:03 +02:00
Andreas Shimokawa
89017ac58f
Huami: Disable air quality indicator on Huami devices instead of showing 0
...
Thanks @ponyzucker
Closes #1834
2020-04-08 12:02:47 +02:00
Andreas Shimokawa
1a57c4db68
Amazift Bip Lite: Allow relaxing firmware checks to allow flashing of the regular Bip firmware (for the brave)
...
Closes #1819
2020-03-27 11:01:33 +01:00
Andreas Shimokawa
f04c9aed29
Amazfit Bip S: Fix empty notifications
...
Was reported to work in #1822
2020-03-26 23:27:35 +01:00
Andreas Shimokawa
c66e9450d3
Try to blindly enable Amazfit Bip S
...
This is an initial bringup it will most probably fail in some areas
Related: #1822
2020-03-23 11:02:22 +01:00
Andreas Shimokawa
ea606713d7
Huami: Igore all-day events when syncing calendar events
2020-03-20 17:21:20 +01:00
Andreas Shimokawa
8cf7e259aa
Huami: Fix crash when calendar event desctription or title was null
...
Fixes #1813
2020-03-04 23:13:57 +01:00
cpfeiffer
eb8e37d3a6
Sanity check for alarms index to avoid AIOOBE
2020-02-26 22:25:03 +01:00
Andreas Shimokawa
9a114f640b
Huami: Make experimental calendar sync feature optional
2020-02-24 14:19:06 +01:00
Andreas Shimokawa
bffb8e8f87
Huami: send upcoming calendar events as reminder
...
TODO: make this optional, fix title not being displayed, do it proberly like we do on pebble
2020-02-19 09:41:50 +01:00
Andreas Shimokawa
71b76c8e8f
Huami: add unused and untested co to send upcoming calender events as notifications
2020-02-18 22:20:57 +01:00
Andreas Shimokawa
3226d61ecd
Mi Band 4: Make high MTU support optional
...
Fixes #1766
2020-02-04 10:04:01 +01:00
Dmitry Markin
b36fe52a65
Mi Band 2: properly stop a call notification when text notifications are disabled
2020-01-21 13:49:17 +03:00
Dmitry Markin
10c9b07c69
Control alarm snooze mode on MiBand2
2020-01-12 12:02:04 +03:00
License Bot
d6fa5d0dd5
Update license headers
2020-01-09 10:44:32 +01:00
Andreas Shimokawa
7c15ddb471
Amazfit Bip: Remove RES file limit (for BipOS)
2020-01-08 22:44:21 +01:00
vanous
7394b1cce3
Add-Buttons-Events-Config ( #1761 )
2020-01-08 19:58:31 +01:00
Andreas Shimokawa
378475aa3d
Amazfit Bip: Bump res size limit for Bip OS 0.5.2
2020-01-08 00:10:32 +01:00
Andreas Shimokawa
1c82c4e8e1
Huami: make time format 12h/24h configurable (was automatic before)
...
Fixes #1736
2020-01-04 23:40:50 +01:00