Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Shimokawa a354bdca30 try to satisfy lgtm 2018-12-18 10:26:29 +01:00
Andreas Shimokawa 6645dd6236 draft changelog 2018-12-16 18:58:33 +01:00
Andreas Shimokawa 0e6c0e8926 Mi Band 3: Whitelist FW 2.2.0.14
Closes #1365
2018-12-16 16:11:43 +01:00
Andreas Shimokawa b020d59f54 Implement factory reset feature in debug activity
Implemented for Mi Band 1/2/3, Cor, Bip

Could be implemented for Pebble by deleting all blobdbs etc

Related to #109
2018-12-16 16:06:12 +01:00
Andreas Shimokawa c2c91b339b cleanup readme 2018-12-09 20:09:02 +01:00
Andreas Shimokawa 198b7cc9c6 Do not display paired devices that were not added to Gadgetbridge or have been deleted from Gadgetbridge
Closes #1360
2018-12-09 20:03:15 +01:00
Andreas Shimokawa 29a5878d22 Mi Band 3: Whitelist FW 2.2.0.12
Closes #1353
2018-12-09 17:55:29 +01:00
Andreas Shimokawa 983bc606a4 Amazfit Bip: Allow flashing latest (beta?) GPS firmware
Closes #1358
2018-12-09 17:26:56 +01:00
Andreas Shimokawa 740cf103f6 Initial support for per-device alarms and raising the number of available alarms
TODO:
- Fix alarm widget (how can we get the deviceId?)
- Get rid of GBAlarm in favour of DAO generated Alarm class
- Find better defaults
- Bonus: migrate old preferece based shared settings
2018-11-24 12:16:47 +01:00
Andreas Shimokawa 2facd9df6c Fix endless loop and resulting OOM when RTL support is enabled and a word is exactly the configured max line length
This should be reviewed by the original author
And could be connected to  #1311
2018-11-22 19:02:04 +01:00
Andreas Shimokawa 6f51d96879 bump version, update changelog 2018-11-17 16:43:14 +01:00
Andreas Shimokawa 7cf6a59420 fix everything 2018-11-17 16:35:37 +01:00
Andreas Shimokawa b228c7b061 bump version, add changelogs 2018-11-15 20:30:15 +01:00
Andreas Shimokawa 59f8e72410 Notification actions refatoring and fixes
- Fixes "Mute, Open, Dismiss" to work again on pebble
- Greatly reduces complexity in PebbleProtocol, since all logic for adding specific reply actions to notification have been moved to generic code

Fixes the rest of #1336 (the part that says "Additionally, dismissing a notification on the watch no longer dismisses it on the Android device")
2018-11-15 15:53:04 +01:00
Andreas Shimokawa bd874089d0 Ignore group summary of k9 notifications
Fixes part of #1336
2018-11-14 23:59:26 +01:00
Andreas Shimokawa d6a06d0c16 Amazfit Bip: Whitelist Firmware 1.1.5.04
Closes #1333
2018-11-13 19:34:03 +01:00
Andreas Shimokawa 321df8f507 Fix setting language to Czech
Closes #1326
2018-11-09 21:47:36 +01:00
Andreas Shimokawa d0df29c728 update changelogs 2018-11-08 18:00:05 +01:00
Andreas Shimokawa 3207d32818 Amazfit Bip: Whitelist Firmware 1.1.5.02 2018-11-08 17:53:24 +01:00
Andreas Shimokawa 3f062e5732 Amazfit Bip: Attempt fixing GPS tracks recorded with latest firmware 2018-11-08 17:13:00 +01:00
Andreas Shimokawa 10b982f0ea Pebble: Proper fix for crash when no replies are set
Also:
- Support for multiple reply actions with canned replies (there must have been a crash before)
- When no replies are set use the firmware internal defaults

Fixes #1323
2018-11-08 08:36:37 +01:00
Andreas Shimokawa 8b3ba38344 Mi Band 3: Whitelist FW 2.0.0.4 2018-11-08 07:12:49 +01:00
Andreas Shimokawa 8e2e9e2d9c bump version, add changelog 2018-11-08 07:06:30 +01:00
Andreas Shimokawa 78addcb75c Pebble: try to prevent crash when no canned replies have been set 2018-11-07 22:02:58 +01:00
Andreas Shimokawa d65eb1eed2 add fastlane and xml changelog 2018-11-04 10:01:47 +01:00
Andreas Shimokawa 17a82f09f2 Pebble: Temporarily disable broken autoremove notification feature 2018-11-03 20:49:49 +01:00
Andreas Shimokawa 61872b7bbd Mi Band 3/Amazfit Bip/Amazfit Cor: Send Fahrenheit if units are set to imperial
Closes #1315
2018-11-03 20:44:30 +01:00
Andreas Shimokawa 7108cd53b1 Add changelog for 0.31.0 (WIP) , bump version 2018-11-03 00:27:23 +01:00
Andreas Shimokawa fcfcc5cb0b Pebble: unify code for 2.x and >= 3.x notification encoding
Not very clean but deduplicated a lot of code which was no longer maintainable twice
2018-11-02 21:10:31 +01:00
Andreas Shimokawa 7c0c50e960 Pebble: fix non-working SMS reply regression 2018-11-01 19:12:43 +01:00
Andreas Shimokawa 5fc2a704a3 Pebble: Always allow reply action even if untested features are turned off 2018-11-01 17:02:33 +01:00
Andreas Shimokawa e54f1eaccc SMS: add reply action in generic code (no longer explicitly handled in PebbleProtocol) 2018-11-01 16:58:20 +01:00
Andreas Shimokawa f05cc83848 Pebble: set MIN_ACTION_LENGTH = 6, which is correct 2018-11-01 16:02:29 +01:00
Andreas Shimokawa 22de76620d Debug: Add button to send a PebbleKit notification 2018-11-01 15:04:16 +01:00
Andreas Shimokawa f3e16c5b1d Pebble: Fix regression causing "Open on Phone" and "Dismiss" to appear on Pebble notification with no corresponding Android notification (i.e. PebbleKit notifications) 2018-11-01 14:55:14 +01:00
Andreas Shimokawa 086fc75629 try to satisfy travis 2018-10-31 22:03:40 +01:00
Andreas Shimokawa 6b136210a1 bump android gradle plugin and build tools version 2018-10-28 21:31:09 +01:00
Andreas Shimokawa dde8a5044f Mi Band 3: Whitelist FW 1.8.0.0 2018-10-28 15:32:57 +01:00
Andreas Shimokawa b1b318a18b Amazfit Bip: Allow flashing latest gps firmware from Mi Fit 3.5.1.1 (Mili_dth.gps)
This file seems to be for the Bip2, but firmwares.json also refereces this for the Bip.
And it seems to work.
2018-09-23 12:02:34 +02:00
Andreas Shimokawa c6d8086d32 add fastlane changelog 2018-09-17 23:11:42 +02:00
Andreas Shimokawa 59ddedcf9a Mi Band 3: Whitelist FW 1.6.0.16 2018-09-11 21:35:30 +02:00
Andreas Shimokawa 6644ad0bb0 Mi Band 3: Allow enabling the "Workout" menu item
(This is called "Activity" in Gadgetbridge, since we have that on the Bip, we should probably rename that to Workout also for consistency with the menus)
2018-09-11 21:32:13 +02:00
Andreas Shimokawa b8c7bb2c2e Amazfit Bip: whitelist firmware 1.1.2.05 2018-08-28 22:19:53 +02:00
Andreas Shimokawa 13ff40c7a5 Mi Band 3: Whitelist some firmware version I tested 2018-08-28 22:10:58 +02:00
Andreas Shimokawa 4d1ce2b72c Mi Band 3: temporarily disable sunset/sunrise night mode setting
Will revert after we support setting sunrise/sunset
2018-08-27 22:58:30 +02:00
Andreas Shimokawa 0e4fb0f5b8 update feature matrix 2018-08-25 09:51:25 +02:00
Andreas Shimokawa 3d65911440 fix typos in changelog 2018-08-19 23:28:00 +02:00
Andreas Shimokawa 7d4df50c69 add fastlase and xml changelog for 0.29.1 2018-08-19 22:30:58 +02:00
Andreas Shimokawa 4895c1733d bump version, add changelog 2018-08-19 21:40:57 +02:00
Andreas Shimokawa ffc6bd5a73 Mi Band 3: Also fix diplay of SMS and EMAIL
We have to send a fake app source that is never displayed to make the text appear... :P
2018-08-19 00:51:04 +02:00
Andreas Shimokawa 3d70314e8c Mi Band 3: Fix messages not being displayed (send app source with notifications and use chunked characteristics where available)
This also sends the app name for Bip and Cor, which is actually displayed when there is no icon (unknown app for the device)

Fixes #1203
2018-08-19 00:35:50 +02:00
Andreas ShimokawaandHosted Weblate 1e877c63c9 Translated using Weblate (German)
Currently translated at 93.0% (497 of 534 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-08-18 23:03:47 +02:00
Andreas Shimokawa c81965b88d Mi Band 3: Raise limit of RES files to 150000 bytes
Fixes #1223
2018-08-18 23:02:36 +02:00
Andreas Shimokawa 74f47c8e2e Mi Band 3: Support setting language to German, Italian, French, Polish, Japanese, Korean
NOTE:
- Needs latest firmware
- Setting to Japanese or Korean leads to empty menus on the device. When
  reconnecting you, will get a sceen which telling you to update. I highly
  suspect it requires flashing Mili_wuhan.ft.kj (kj=korean,japanese)
2018-08-13 00:00:46 +02:00
Andreas Shimokawa 3af7b1dd3a fix version code 2018-08-12 10:02:45 +02:00
Andreas Shimokawa 5b683e10c1 update readme, add changelog 2018-08-12 09:40:13 +02:00
Andreas Shimokawa d070fb18d2 update changelog 2018-08-12 00:28:47 +02:00
Andreas Shimokawa 3bb75a62be Mi Band 3: whitelist tested firmwares 2018-08-12 00:28:27 +02:00
Andreas Shimokawa b48b52b175 Mi Band 3: Make order of menu items on screen deterministic again
(This partly reverts the logic of the previous commit)
2018-08-12 00:16:56 +02:00
Andreas Shimokawa 862bf79afb update changelog 2018-08-09 23:47:29 +02:00
Andreas Shimokawa da58e22afe Only start MusicPlaybackReceiver if device supports music info
Also block sending music info in HuamiSupport if device does not support it
2018-08-07 12:44:00 +02:00
Andreas Shimokawa 774797ea09 add changelog, bump version 2018-08-06 23:46:25 +02:00
Andreas Shimokawa 88714ece4d Amazfit Bip: fix current weather not being displayed with latest firmware 2018-08-05 15:27:28 +02:00
Andreas Shimokawa fe401bdcf5 Amazfit Cor: allow music control 2018-08-02 22:35:02 +02:00
Andreas Shimokawa 66391e10c9 Amazfit Cor: Allow to enable music menu on device 2018-08-02 22:29:52 +02:00
Andreas Shimokawa cc7f6d7263 More Huami refactoring
- Rename MiBand2Service to HuamiService
- Move preferences around (Mi Band 2 has its own device specific settings now)
- Fix Cor menu items not syncing immediately in settings
- Try to support settings menu items on Mi Band 3 (buggy, disabled code for now)
2018-08-02 10:55:30 +02:00
Andreas Shimokawa f464604b27 Amazfit Cor: Fix notification menu not being enabled 2018-08-01 23:13:36 +02:00
Andreas Shimokawa c247efc720 add missing file 2018-08-01 22:58:41 +02:00
Andreas Shimokawa 486d7bdca6 Amazfit Cor: Allow setting menu items
(Also rename/refactor stuff from Mi Band 2 to Huami - still WIP)
2018-08-01 22:56:01 +02:00
Andreas Shimokawa 872a91b0b5 Fix "Amazfit Bit" typo 2018-07-22 16:39:37 +02:00
Andreas Shimokawa 8b445bab20 Bump version, add changelog 2018-07-22 16:31:38 +02:00
Andreas Shimokawa e96dcc69ab Amazfit Bip: try to support weather in newer firmwares 2018-07-21 17:18:08 +02:00
Andreas Shimokawa d1253348dc Mi Band 3: whitelist tested firmware, res and font 2018-07-19 12:00:17 +02:00
Andreas Shimokawa c7125f78cf no comment 2018-07-17 16:12:15 +02:00
Andreas Shimokawa 1f6850a4b3 update changelogs 2018-07-17 16:01:41 +02:00
Andreas Shimokawa eef38d4680 Only use 0x00 as auth flags on Mi Band 3 - to not disturb other devices 2018-07-17 00:29:36 +02:00
Andreas Shimokawa aa143577f8 Amazfit Cor: Support language switching on newer firmwares
I shamelessly assumed the firmware version (chose the version that was included in the same Mi Fit version when bip started to support the new command)
2018-07-16 15:18:46 +02:00
Andreas Shimokawa 78734f50cc Update changelog and readme 2018-07-16 14:49:58 +02:00
Andreas Shimokawa f2aa71e32c Amazfit Bip: Support Russian language.
Closes #1145
2018-07-16 14:36:52 +02:00
Andreas Shimokawa 46f3686764 Mi Band 3: Also send AQI for weather to make current temperature appear 2018-07-16 14:19:02 +02:00
Andreas Shimokawa dc1e831630 Mi Band 3: Fix Pairing, this MIGHT break pairing for other devices (Bip/Cor/Mi Band 2) 2018-07-16 13:38:51 +02:00
Andreas Shimokawa 27ea722021 bump gradle plugin version 2018-07-16 13:37:08 +02:00
Andreas Shimokawa 93117993e1 Bump version, start changelog 2018-07-15 03:04:43 +02:00
Andreas Shimokawa 3236e20657 Amazfit Bip/Cor: rework fimware detection to rely on strings instead of version numbers
The new version scheme and the fact that recent Bip and Cor firmwares are
impossible to distinguish by comparing data at fixed offsets make it necessary
to dynamically search for sequences of data. We do this now by searching for
"Amazfit Bip Watch" and "Amazfit Cor".
2018-07-08 12:16:26 +02:00
Andreas Shimokawa 6e34d313c7 Mi Band 3: allow setting language (english and spanish work) 2018-07-04 23:32:35 +02:00
Andreas Shimokawa a3e22d573f Amazfit Bip: Whitelist FW 1.0.2.00 2018-07-01 23:26:03 +02:00
Andreas Shimokawa 85176e7c3c Bump version, update changelogs 2018-07-01 23:07:39 +02:00
Andreas Shimokawa d1cba54425 Mi Band 3: Allow flashing fonts (untested) 2018-07-01 22:41:37 +02:00
Andreas Shimokawa 9303214997 Amazfit Cor: allow flashing fonts (seem to be the same as for bip, untested) 2018-06-30 00:32:29 +02:00
Andreas Shimokawa 87f9424ee3 Amazfit Bip: allow flashing latest beta firmware 2018-06-29 23:04:38 +02:00
Andreas Shimokawa fbdd4ddb87 add xml and fastlase changelogs 2018-06-26 21:14:46 +02:00
Andreas Shimokawa f59c4cdf24 update CHANGELOG 2018-06-26 21:04:15 +02:00
Andreas Shimokawa 2dda978453 Amazfit Bip/Cor: Fix scheduled setting for "display on lift wrist" preference
Fixes #1102
2018-06-26 17:43:54 +02:00
Andreas Shimokawa 49a5f349b0 Amazfit Cor: Whitelist FW 1.0.7.88
Closes #1104
2018-06-25 21:37:26 +02:00
Andreas Shimokawa f8a1da8a83 Bump version, add CHANGELOG 2018-06-25 21:31:29 +02:00
Andreas Shimokawa 979a44a077 Mi Band 2: Grey out "rotate wrist to switch info" when "activate display upon lift" in not enabled in preferences
Closes #1124
2018-06-24 22:05:45 +02:00
Andreas Shimokawa 9d01989b27 remove unused import 2018-06-24 21:00:33 +02:00
Andreas Shimokawa c6b23041f7 Pebble: Always connect to SDP UUID on NON-LE Pebble
Fixes #726
2018-06-20 22:06:45 +02:00
Andreas Shimokawa 3f06a8c2a6 Rename file to match class name. 2018-06-18 21:22:34 +02:00
Andreas Shimokawa 9bcae3e000 Amazfit Bip: Whitelist FW 0.1.1.45 2018-06-16 23:35:02 +02:00