Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Shimokawa cf4e4952ea Move location settings out of pebble menu 2021-11-02 23:30:37 +01:00
Andreas Shimokawa dc26f77516 Bump version, add changelogs 2021-11-02 11:53:58 +01:00
Andreas Shimokawa 998f8775d9 Fix bug in non-DST time where still being in DST was assumed
This affects InfiniTime and Huami
For InfiniTime it probably resulted in the wrong time being displayed
For Huami is resulted to request the wrong data from the band/watch

We used timezone.getDSTOffset() which always returns the DST offset (also in non
DST time)

We need to pass the time being observed to calendar.getOffset() to get the real
offset including DST at that specfic time which then either includes DST offset or not.
2021-11-02 11:34:55 +01:00
Andreas Shimokawa 3db6e5d9ec Prevent crash when receiving broken weather data from TinyWeatherForecastGermany 2021-10-28 10:32:52 +02:00
Andreas Shimokawa 3a642251fe Amazfit Bip U Pro: Support flashing AGPS updates
Use Huafetcher for fetching the data.
2021-10-22 15:46:54 +02:00
Andreas Shimokawa 1341501ac4 Amazfit Bip U Pro: Allow setting more languages, whitelist FW 1.0.2.92 2021-10-22 14:08:39 +02:00
Andreas Shimokawa 2c6907b02b update changelogs 2021-10-16 21:56:03 +02:00
Andreas Shimokawa b764edb979 bump gradle 2021-10-13 11:49:38 +02:00
Andreas Shimokawa 8dffd288c9 bump version, draft changelog 2021-10-13 11:43:55 +02:00
Andreas Shimokawa ebe2558690 Huami: clean up supported languages 2021-10-07 18:33:58 +02:00
Andreas Shimokawa 588bcffaab Mi Band 3/4: Use language list from coordinator, remove array 2021-10-07 14:52:21 +02:00
Andreas Shimokawa bef015b0c2 Add new getSupportedLanguageSettings() to coordinator to get rid of all those arrays
There is one big generic one now, unssupported languages will be removed at runtime.
Tested with Amazfit Bip U.
2021-10-07 14:32:09 +02:00
Andreas Shimokawa 2219eb489e Amazfit Bip U: Fix setting the language 2021-10-07 12:50:44 +02:00
Andreas Shimokawa a6ed6c91da Amazfit Bip: make cs language selectable
This also affects other devices like GTS 2 mini which use the same language list
(this shouls be done differently). Closes #2396
2021-10-02 20:15:49 +02:00
Andreas Shimokawa 48e5f44b81 Amazfit Bip U Pro: Fix flashing firmware, res, font, watchfaces 2021-10-01 17:49:43 +02:00
Andreas Shimokawa d9a77540ce Amazfit Bip U: fix watchface installation 2021-10-01 17:42:36 +02:00
Andreas Shimokawa 475a2584cc Amazfit Bip U/Pro: enable unicode emoji 2021-10-01 14:18:06 +02:00
Andreas Shimokawa d673d8a487 Amazfit Bip U: Whitelist fw 1.0.2.95 2021-10-01 14:12:31 +02:00
Andreas Shimokawa e3a4468bac Amazfit Bip U: Fix flashing firmware, res and fonts 2021-10-01 14:00:38 +02:00
Andreas Shimokawa 0bf86584e1 remove travis-ci related files
travis-ci.org is no longer supported, travis supported only github anyay
2021-09-25 15:18:05 +02:00
Andreas Shimokawa c80ccade36 add woodpecker ci config 2021-09-25 12:56:04 +02:00
Andreas Shimokawa 1569e648fa add changelog, bump version 2021-09-25 12:49:22 +02:00
Andreas Shimokawa 92ce748202 Amazfit Bip S: Whitelist 2.1.1.72 and 2.1.1.76 firmware 2021-09-15 10:06:48 +02:00
Andreas Shimokawa b99da8b596 Mi Band 6: really fix weather on new firmware 2021-09-03 15:50:42 +02:00
Andreas Shimokawa f0cc15ddd5 bump gradle plugin 2021-09-03 15:18:18 +02:00
Andreas Shimokawa eb8284f079 Mi Band 6: Fix watchface installation 2021-09-02 13:26:35 +02:00
Andreas Shimokawa a24900bbcf Mi Band 6: Whitelist FW 1.0.4.38 2021-09-02 11:39:25 +02:00
Andreas Shimokawa bc737100da bump version, add changelog 2021-09-02 11:21:05 +02:00
Andreas Shimokawa c965114c21 Mi Band 6: Add flashlight to menu items 2021-09-02 11:21:05 +02:00
Andreas Shimokawa 4242f5ccd4 Mi Band 6: Write to chunked2021 for old chunked types on new firmware (fixes music, weather and setting menu items) 2021-09-02 11:21:05 +02:00
Andreas Shimokawa 4a27825931 Mi Band 6: Send all old settings to new characteristics
This adds a compatibility wrapper to make it easier
2021-09-02 11:21:05 +02:00
Andreas Shimokawa 117cd57463 Mi Band 6: Support sending encrypted packets on new firmware 2021-09-02 11:21:05 +02:00
Andreas Shimokawa 86ccd408cd update changelog bump version 2021-08-26 10:59:53 +02:00
Andreas Shimokawa 1bfec5b65f InifiniTime: Fix null being displayed on empty notifications 2021-08-26 10:59:53 +02:00
Andreas Shimokawa 44fcd454a0 Mi Band 6: Make new auth protocol a setting for now 2021-08-26 10:59:53 +02:00
Andreas Shimokawa 2c06e5d39c Mi Band 6 auth: add test, fix crypto 2021-08-26 10:59:53 +02:00
Andreas Shimokawa d352624629 Mi Band 6 auth: first full but nonworking version 2021-08-26 10:59:53 +02:00
Andreas Shimokawa 1c6f055bef Mi Band 6 auth: Working jni call to generate keys 2021-08-26 10:59:53 +02:00
Andreas Shimokawa 9bd8424f83 Mi Band 6 auth: first experiments 2021-08-26 10:59:53 +02:00
Andreas Shimokawa df28652a0f update changelogs 2021-08-15 22:47:02 +02:00
Andreas Shimokawa 5fb674f9ae Fossil Hybrid HR: Support setting metric/imperial mode
Fixes #2355
2021-08-09 16:32:42 +02:00
Andreas Shimokawa 1092d1bc05 Amazfit T-Rex Pro: Try to fix some menu items
See #2362
2021-08-07 21:34:21 +02:00
Andreas Shimokawa e5caf78fb0 Assume timezone UTC for BLE time protocol
BLE protocol only sends a UTC offset which combines the TZ with DST, if we take
a local timezone as a base and add a raw offset with DST included, DST might
be added again.

This is to fix problems with recorded data on Huami devices where we cannot know
in which timezone data was recorded - only the offset, where we do not know if a
part of it is DST.
2021-08-06 01:05:51 +02:00
Andreas Shimokawa a302b5509f Huami: re-enable setting the timezone correctly with included DST
This will trigger bugs, but also fix some.
We "just" need to fix the new bugs :/
2021-07-30 16:33:44 +02:00
Andreas Shimokawa 2e33256584 java/gradle crap: do something I do not even want to understand to fix random build errors
Yes I hate Java, and I hate gradle.
Both are a huge waste of resources.
I wonder how many nuclear plants could be switched off if people would stop using this bloated crappy VM bullshit language and "ecosystem".
And no it does not "make you super productive" and it it does not justify "investing in more hardware cpu/ram/cloud capacity" because it is "cheaper than manpower".
2021-07-30 16:18:06 +02:00
Andreas Shimokawa c6bff25d29 bump gradle and gradle plugin as auto-applied by Android Studio Arctic Fox (2020.3.1)
Bump protobuf gradle plugin to fix build
Also bump other unrelated dependencies and fix some linting
2021-07-29 18:09:15 +02:00
Andreas Shimokawa 4b6548d5c2 move submodules and build_fossil_hr_watchface.sh to subdir 2021-07-27 23:06:30 +02:00
Andreas Shimokawa 5af73c3676 add script to build fossil_hr_watchface by building submodules 2021-07-27 21:58:16 +02:00
Andreas Shimokawa 0a87bb8360 add jerryscript as a submodule 2021-07-27 21:47:02 +02:00
Andreas Shimokawa 8597664775 add fossil-hr-watchface submodule 2021-07-27 20:58:52 +02:00
Andreas Shimokawa d951ab1da7 fix xml changelog 2021-07-24 13:19:53 +02:00
Andreas Shimokawa 090c14d1e9 update changelogs 2021-07-24 12:53:11 +02:00
Andreas Shimokawa 7f73206bcd bump version, draft changelog 2021-07-20 12:16:53 +02:00
Andreas Shimokawa c4f12f548c Fix missing breaks in switch, should fix UM25 support 2021-07-20 12:11:44 +02:00
Andreas Shimokawa ef6af403ed tweak changelog 2021-07-14 16:16:36 +02:00
Andreas Shimokawa d6b03e0281 changelogs, bump version 2021-07-14 12:07:32 +02:00
Andreas Shimokawa 840c512a32 Revert "Future-proofed Bluetooth permission request and improved broadcast receiver (#2331)"
This reverts commit e510205b61.

Fixes #2342
Fixes #2346
2021-07-14 11:04:03 +02:00
Andreas Shimokawa 603050b7cc InfiniTime: support notification for battery level 2021-07-08 23:46:18 +02:00
Andreas Shimokawa edf4d7035a bump version, add changelogs 2021-07-05 10:39:23 +02:00
Andreas Shimokawa acb6de0983 Pebble: Fix inverted check for firmware version
Regression from 0.57.1.

This could help #2329
2021-06-27 00:22:05 +02:00
Andreas Shimokawa 7e7b0a0f28 Amazfit T-Rex Pro: Add barometer to menu items 2021-06-19 10:20:41 +02:00
Andreas Shimokawa df44b798c9 update changelogs 2021-06-13 23:25:43 +02:00
Andreas Shimokawa 3c5c61ddea Amazit T-Rex Pro: minor cleanups, support flashig AGPS UIHH (assumed working for such a new device) 2021-06-13 23:07:58 +02:00
Andreas Shimokawa f328f80394 bump version, draft changelog 2021-06-13 15:38:57 +02:00
Andreas Shimokawa f32c4d6a43 Support timezones with half an our offset (like UTC+5:30)
Should help #2283
2021-06-04 13:07:42 +02:00
Andreas Shimokawa 6526268804 Never show GPS or HW versions, just show FW2
The problem is that a lot of devices showed HR which had GPS, which confused people
2021-06-02 17:12:59 +02:00
Andreas Shimokawa ef46035900 update xml and fastlane changelogs 2021-05-29 21:41:27 +02:00
Andreas Shimokawa 5e66447788 bump version, update changelog 2021-05-29 17:05:11 +02:00
Andreas Shimokawa 348f459e3f Huami: Send "about you" preferences to device immediately when changing values
Closes #2297
2021-05-27 23:11:00 +02:00
Andreas Shimokawa 3eff54c807 Use flexbox layout for icons in device cards
Fixes #2301 on small screens
2021-05-26 13:26:34 +02:00
Andreas Shimokawa e12f391dd0 update changelog 2021-05-24 17:32:29 +02:00
Andreas Shimokawa bba74cb5b4 Mi Band 6: Support unicode emoji being sent 2021-05-24 17:27:34 +02:00
Andreas Shimokawa cbadb9c7ae Mi Band 6: allow firmware update
Also whitelist FW 1.0.1.36 which I just flashed though Gadgetbridge

Tracking Issue: #2263
2021-05-24 16:51:09 +02:00
Andreas Shimokawa 090e0c7b33 Mi Band 6: support flashing watchfaces
Tracking Issue: #2263
2021-05-24 15:47:27 +02:00
Andreas Shimokawa ea914a44e7 Mi Band 6: Add Pomodoro to menu items
See #2263
2021-05-22 14:20:00 +02:00
Andreas Shimokawa 268bbd341f Domyos T540C: update console when data changes 2021-05-18 19:15:04 +02:00
Andreas Shimokawa f083e79f5d update changelogs 2021-05-17 12:17:23 +02:00
Andreas Shimokawa d8533fc676 Draft changelog, bump version 2021-05-16 17:56:52 +02:00
Andreas Shimokawa 8d21ae1177 Amazfit GTS2/GTR2: Fix installing watchfaces
Needs some more testing, but looks promising
2021-05-16 14:29:47 +02:00
Andreas Shimokawa 65f006d70b Amazfit GTS/GTR familiy: Allow flashing newer AGPS bundles
These are packed uuih files. POC code to generate them:

https://codeberg.org/Freeyourgadget/Gadgetbridge-tools
2021-05-15 22:47:38 +02:00
Andreas Shimokawa 083fdea225 Experimenting with the Domyos T540C treadmill 2021-05-11 14:30:25 +02:00
Andreas Shimokawa 5765407366 Amazfit Bip S: support flashing of new AGPS files with UIHH header
We do not know how to generate them yet.
But it was confirmed working with a file we reconstructed from a bluetooth hci dump
2021-05-11 12:10:40 +02:00
Andreas Shimokawa 1a197dc07f bump android gradle plugin (which also bumps gradle) 2021-05-11 11:14:21 +02:00
Andreas Shimokawa a1005ae479 Add "list wrist for background light" setting to Amazfit Neo settings
Closes #2285
2021-05-09 08:56:28 +02:00
Andreas Shimokawa da997dc3c0 udpate changelogs, fix old changelog location 2021-05-02 22:12:21 +02:00
Andreas Shimokawa 97a8aebdb3 Fossil Hybrid HR: Fix crash and connection problem when using non-ascii in quick replies 2021-04-29 22:38:44 +02:00
Andreas Shimokawa 4716b7de18 update changelog 2021-04-27 12:54:39 +02:00
Andreas Shimokawa 830197168b add changelog for next release 2021-04-21 17:55:23 +02:00
Andreas Shimokawa 1b41aa3c45 use multi dex :O - hope that does not break anything 2021-04-21 17:12:46 +02:00
Andreas Shimokawa b79e24c0d0 update dependencies 2021-04-21 16:37:13 +02:00
Andreas Shimokawa b7e0e6e44d InfiniTime: Implement find device by simulating a phone call 2021-04-05 17:40:47 +02:00
Andreas Shimokawa 787216f1bc InfiniTime: support title for notifications on firmware 0.15
also drop support for firmware priror to 0.9
2021-04-05 13:05:24 +02:00
Andreas Shimokawa bb1df11650 InfiniTime: Add support for battery info 2021-04-05 12:53:05 +02:00
Andreas Shimokawa 9aed3a6b25 Relax check for UIHH header, there seem to be some with 0x02 at position 4, dont know if this is a version or whatever 2021-04-03 18:59:07 +02:00
Andreas Shimokawa 7698b84826 Amazfit GTR2: probably finally fix firmware / watchface installaation 2021-04-03 18:30:20 +02:00
Andreas Shimokawa 21c6463e73 try to verify mastodon profile as official 2021-04-01 22:12:01 +02:00
Andreas Shimokawa 60528d0c30 add Wasp-OS to README 2021-04-01 22:09:19 +02:00
Andreas Shimokawa 327c39719b add link to mastodon 2021-04-01 22:02:50 +02:00
Andreas Shimokawa 417923aef1 Amazfit GTR2/GTS2: Prevent emoji transliteration. Seems to support emoji. 2021-04-01 19:23:59 +02:00
Andreas Shimokawa db9a0c0a76 Try to fix flashing watchfaces on GTR2/GTS2 2021-04-01 16:50:08 +02:00