Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Shimokawa 5d8eb432fc fix missing import 2021-01-06 22:52:59 +01:00
Andreas Shimokawa 50ce99b838 Amazfit GTS2: Also use new protocol for calls like GTR2
This is an assumption
2021-01-06 22:15:22 +01:00
Andreas Shimokawa 50fcb85407 update CONTRIBUTORS 2021-01-06 17:47:02 +01:00
Andreas Shimokawa c896e476f4 Amazfit GTR2: Try to fix incoming calls blindly 2021-01-06 16:29:11 +01:00
Andreas Shimokawa 0de78c0cce draft changelog 2021-01-06 15:21:04 +01:00
Andreas Shimokawa a50cc8d42d InifiniTime: set device busy during firmware upgrade
Since this is the only busy task in use we just call gbDevice.unsetBusyTask()
upon completion/error
2021-01-06 15:12:41 +01:00
Andreas Shimokawa c0090e29cb Revert reordering of ids introduced by #2153
This fixes the Verge Lite id back to 29 and changes Amazfit Bip U Pro to 30 (and Live View to 320)
Liveview has no activity data and proably has very few if any users. So re-pairing should be acceptable
2021-01-06 10:17:15 +01:00
Andreas Shimokawa 2828ca59a1 Amazfit GTS2: fix pairing
Fixes #2140
2020-12-28 22:07:54 +01:00
Andreas Shimokawa 4398dd9855 update changelogs and readme 2020-12-21 17:17:30 +01:00
Andreas Shimokawa 43144d6353 update changelog 2020-12-20 22:54:09 +01:00
Andreas Shimokawa ec95766d1f add missing AbstractGBX100ActivitySample
Closes #2123
2020-12-20 18:21:20 +01:00
Andreas Shimokawa 403dd3b6d7 draft changelog 2020-12-14 17:23:54 +01:00
Andreas Shimokawa 09bf9db799 Huami: Use blue icon instead of rainbow color icon for Signal (the rainbow icon was blue in early days) 2020-12-14 17:15:01 +01:00
Andreas Shimokawa 4fb79ac2b2 Huami: Add new option to disting to properly distinguish connected adverising and 3rd party hr exposure 2020-12-13 22:38:03 +01:00
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 c7f75c3dc3 Amazfit TRex: Fix previous commit 2020-12-01 21:29:32 +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 d4308d1782 Amazfit Bip U: fix detection 2020-11-30 23:38:37 +01:00
Andreas Shimokawa ffa46482fd Add missing code from last commit 2020-11-30 17:13:48 +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 6042d285bb compile fix 2020-11-30 17:08:35 +01:00
Andreas Shimokawa fc351afcdf add xml and fastlane changelogs 2020-11-28 23:54:00 +01:00
Andreas Shimokawa 243154ea81 update changelog 2020-11-28 22:37:53 +01:00
Andreas Shimokawa 99d1a0f0b9 bump version, add draft changelog 2020-11-21 22:25:45 +01:00
Andreas Shimokawa 58ef50470e add new Huami devices to readme 2020-11-21 22:19:52 +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 4e948b60e1 update travis sdk 2020-11-15 10:46:34 +01:00
Andreas Shimokawa cffface778 bump version add xml changelog 2020-11-14 22:33:37 +01:00
Andreas Shimokawa cc7a7b7caf Fossil Hybrid HR: delete activity data after syncing
This partially reverts f6a7435b7e
2020-11-14 22:17:24 +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 96ec7cb5b8 bump gradle plugin 2020-11-14 22:03:55 +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 bb36997d78 update changelog 2020-11-12 17:43:12 +01:00
Andreas Shimokawa c3b8604338 Amazfit GTR: FIx firmware flashing on newer firmares 2020-11-12 17:29:25 +01:00
Andreas Shimokawa 9fafe3929f draft changelog 2020-11-11 15:54:13 +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 e086b187d8 Amazfit Band 5: fix menus not being sortable 2020-11-11 08:35:55 +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
Andreas Shimokawa 2a95b70fed fix black color when dragging shortcut/menu items 2020-11-07 22:48:34 +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 e1f2e0c830 Experiment with a draggable sort list.
I left the non-preference related dslv code untouched and took it from here

https://github.com/sbolotovms/drag-sort-listview
(This is one of many forks, which had migrated android to androidx)

The base for the code in DragSortListPreferenceFragment.java and
DragSortListPreference.java comes from:

https://github.com/kd7uiy/drag-sort-listview

I heavily modiefied it moved it to androidx
2020-11-07 22:48:34 +01:00
Andreas Shimokawa 3c56ac546f update gradle and support libraries 2020-11-05 12:16:34 +01:00
Andreas Shimokawa 2624526a53 Merge remote-tracking branch 'weblate/master' 2020-11-04 10:48:11 +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
Andreas Shimokawa f61c06630a Fossil Hybrid HR: Only do a factory reset when really requested, not also on reboot. 2020-10-27 11:47:55 +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 d3f0cfd593 update changelogs 2020-10-18 10:14:16 +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 a5c5629a44 update changelog 2020-10-16 17:36:44 +02:00
Andreas Shimokawa 0d49eaaf9e Pebble: move canned message to per-device settings (including migration)
This also cleans up some useless preferencehandlers that only change summary by
using app:useSimpleSummaryProvider="true" for EditText
2020-10-13 00:27:22 +02:00
Andreas Shimokawa c6da00cfb4 bump google and android libraries 2020-10-12 16:14:21 +02:00
Andreas Shimokawa 0aeda120b6 update gradle android plugin 2020-10-12 16:10:59 +02:00
Andreas Shimokawa 1156ec22a4 Mi Band 5: Whitelist FW 1.0.2.08 2020-10-12 14:05:12 +02:00
Andreas Shimokawa d5b2818876 Merge remote-tracking branch 'weblate/master' 2020-10-11 17:01:29 +02:00
Andreas Shimokawa 98fd8c413b update changelog 2020-10-11 16:39:30 +02:00
Andreas Shimokawa 8394928b94 enable minifiy for release, but don't obfuscate
(shrinks apk size from 6.1 to 5.1MB)
2020-10-11 16:10:35 +02:00
Andreas Shimokawa 7f8d4ac92a Bump version and add draft changelog 2020-10-11 15:48:25 +02:00
Andreas Shimokawa e57025cd82 Fix wind speed and direction not being paceled
This also introduces a version to check befor unpaceling.
2020-10-01 13:56:03 +02:00
Andreas Shimokawa ef7c00a7df fix xml 2020-09-30 21:50:51 +02:00
Andreas Shimokawa 27f8d195c1 Bump version, add changelog 2020-09-30 20:03:11 +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 975718e284 update changelog 2020-09-29 21:58:06 +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 d634457603 add PineTime to README 2020-09-23 12:16:57 +02:00
Andreas Shimokawa 49e7cc4c9b InfiniTime: implement music control and info 2020-09-23 12:12:45 +02:00
Andreas Shimokawa 73b2be6da8 add fastlane and xml changelog 2020-09-13 19:41:24 +02:00
Andreas Shimokawa 4da74e7375 Amazfit Bip S: Whitelist 2.1.1.46 2020-09-13 19:26:23 +02:00
Andreas Shimokawa 4c55c63a32 bump version and draft changelog 2020-09-11 10:40:23 +02:00
Andreas Shimokawa 1c2218079b Pinetime-JF: Recognize device if it annouces itself as InfiniTime 2020-09-09 23:40:36 +02:00
Andreas Shimokawa 6c86381fa8 ZeTime: Fix weather forecast icons on older firmware versions
If we do not have a firmware version try use old icon mapping.
Previously weather was not working at all in that case.
2020-09-08 23:09:30 +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 2aa55aeb2f remove irc from readme as it is unused
Closes #2004
2020-09-06 12:27:12 +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
Andreas Shimokawa 6bf0344ac5 Jumping Rope 2020-09-01 21:23:31 +02:00
Andreas Shimokawa 9c239ec371 Amazfit Cor/Cor2: Allow workout syncing 2020-09-01 20:05:06 +02:00
Andreas Shimokawa 9f6d40d089 fix xml tag in changelog 2020-08-31 10:47:59 +02:00
Andreas Shimokawa 2b1ce31192 add xml and fastlane changelog 2020-08-30 21:55:39 +02:00
Andreas Shimokawa 55d8a2901c bump version 2020-08-30 21:49:44 +02:00
Andreas ShimokawaandGitea a17f824742 update changelog 2020-08-30 21:48:34 +02:00
Andreas ShimokawaandGitea ee08fe0166 update changelog 2020-08-30 21:48:34 +02:00
Andreas Shimokawa c9d98e60a9 Huami: Mark all devices as supporting device actions except mi band 2 (need to check that one, assuming newer ones to work)
Also add high_mtu setting to Rex, GTR, GTS, Mi Band 5
2020-08-26 10:00:06 +02:00
Andreas Shimokawa c990a4f6fc Pinetime JF: Fix setting the time 2020-08-23 17:27:32 +02:00
Andreas Shimokawa 52f15e331c Pinetime JF: display firmware and hardware revisions, work around missing byte in notifications 2020-08-23 17:18:53 +02:00
Andreas Shimokawa ef3edd9932 Huami: igrore min/max pace for certain workout types they all display the same bogus value 2020-08-23 15:03:40 +02:00
Andreas Shimokawa b6abcc8c7b Huami; swap min/max pace in parser 2020-08-23 00:14:36 +02:00
Andreas Shimokawa 645c22b10a Huami: decode average HR where available (newer devices) 2020-08-22 21:59:18 +02:00
Andreas Shimokawa fcb1df6c68 Huami: decode some more sports summary values on Bip S (probably other new devices also) 2020-08-22 21:53:26 +02:00