1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-30 00:36:26 +02:00
Commit Graph

301 Commits

Author SHA1 Message Date
Andreas Shimokawa
d0c5ffec28 Amazfit Bip S: Fix crash with notifictions with only a title (GitNex does this)
Probably affects other newer Huami devices
2020-12-02 17:07:40 +01:00
Andreas Shimokawa
aa6e2a291a Amazfit TRex: add missing menu items, remove non-existent 2020-12-01 18:56:37 +01:00
Andreas Shimokawa
85da3594fc Amazfit Bip U: Probably fix totally broken sleep/step data 2020-12-01 15:19:27 +01:00
Andreas Shimokawa
1bad73e20c Amazfit Bip U: Blindly add untested support
Based on Bip S, don't know what works and what not
2020-11-30 17:09:29 +01:00
Andreas Shimokawa
0e88adbaf7 Mi/Amazfit Band 5: Support flashing watchfaces 2020-11-20 22:03:23 +01:00
Andreas Shimokawa
bd0c645db5 Add support for Amazfit GTS2 (untested)
Also change icon for GTR2 to a round one
2020-11-15 16:25:47 +01:00
Andreas Shimokawa
435808467b Amazfit GTR2: Make sure new firmware upgrade code gets used (shamelessly assume it uses this right from the start) 2020-11-14 22:04:09 +01:00
Andreas Shimokawa
5f85bba438 Amazfit GTR: Also fix firmware flashing for the chinese(?) variant 2020-11-12 18:06:52 +01:00
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