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
vanous
50defa1eb6
Add broadcast sender/receiver to ConfigureAlarms/HuamiSupport
...
This is to prevent discrepancies if user edits alarms in Gadgetbridge
and also on the device at the same time.
2019-12-29 11:07:42 +01:00
Andreas Shimokawa
ca324b4d41
prepare release
2019-12-28 00:33:03 +01:00
Andreas Shimokawa
b1ada7a25c
Amazfit Cor: whitelist firmware 1.2.7.32
2019-12-27 23:54:53 +01:00
Andreas Shimokawa
3bf72f957a
Huami: get alarms at connect and save changes to database, react to on-device changes immediatly when device is connected
2019-12-27 22:19:17 +01:00
Andreas Shimokawa
f958f3a54d
Amazfit Bip: Whitelist BipOS 0.5.1 (non-latin)
2019-12-27 14:42:00 +01:00
Andreas Shimokawa
9983a0f18e
Mi Band 3: Whitelist FW 2.4.0.32
2019-12-27 10:35:42 +01:00
Andreas Shimokawa
6548802abc
fix regression from latest commit where Mi Band 3 could not longer connect
2019-12-26 23:26:08 +01:00
Andreas Shimokawa
45c40825f3
Mi Band 4: Support MTU that gets reported from the Band
...
In my case that boosts the MTU from 23 to 247, firmware updates and watchface
istallations are extremely fast. This also affects notifications, weather etc.
2019-12-26 23:05:13 +01:00
Andreas Shimokawa
21eada4caa
Allow to set alarms to unused when long tapping
...
This helps clearing up a cluttered alarms list on devices like the Mi Band 4
Difference between disabling and setting to usused:
Unsused alarms cant be enabled from the Band, disabled can.
Closes #1747
2019-12-24 01:27:57 +01:00
Andreas Shimokawa
72ffbca2ff
Make "reserve alarm for calender" per-device and only allow for Mi Band 1/2
...
This avoids a lot of bugs and confision regarding alarms
2019-12-14 23:48:02 +01:00
Andreas Shimokawa
68a9bcc167
Mi Band 4: Whitelist FW 1.0.7.14
2019-11-23 22:50:34 +01:00
FYG_license_bot_ignore_me
8e5c4b4602
Update license headers
2019-11-23 21:53:22 +01:00
Andreas Shimokawa
e5f5a671bd
Amazfit Bip: Make vibration after button action work
2019-11-21 13:24:06 +01:00
Andreas Shimokawa
18d78bf05d
Amazfit Bip: Correct BipOS version
2019-11-18 21:53:03 +01:00
Andreas Shimokawa
d60ceffb81
Amazfit Bip: Whitelist BipOS 0.5 firmware/res (non-latin)
2019-11-16 21:47:14 +01:00
Andreas Shimokawa
25bb16b0c3
Make button action setting per-device, enable for amazfip bip
...
TODO:
- preference migration
- support vibration on bip
2019-11-14 12:33:36 +01:00
Andreas Shimokawa
2b0656c9c0
Amazfit GTS: Enable flashing firmware (untested)
2019-10-31 15:30:05 +01:00
Andreas Shimokawa
a3cd99a4a3
Huami: move notification code from AmazfitBipSupport to HuamiSupport
...
probably fix notifications on GTS
2019-10-31 14:28:24 +01:00
Manuel Ruß
0159657bd5
- AmazfitGTS Run basic functionalities (read data, ...)
2019-10-29 22:44:03 +01:00
Andreas Shimokawa
42312bba60
Amazfit GTR: remove menu item settings, since we do not know how to do this yet
2019-10-28 15:41:55 +01:00
Andreas Shimokawa
3b42bdd42a
Amazfit Bip: Whitelist FW 1.1.6.34 (non-latin)and 1.1.6.32 (latin)
2019-10-26 23:56:04 +02:00
Andreas Shimokawa
4110f0764a
Amazfit GTR: enable firmware flashing for those who dare (untested)
2019-10-24 22:35:57 +02:00
Andreas Shimokawa
c2c240d7be
Amazfit GTR: Enforce auth key input when pairing, try to fix notifications
2019-10-24 21:51:10 +02:00
Andreas Shimokawa
cbd47a81cc
Amazfit GTR: initial support for testing
2019-10-24 21:41:11 +02:00
Andreas Shimokawa
5caa8e9097
Amazfip Bip Lite: Support firmware installation
...
Closes #1681
Closes #1682
2019-10-15 20:34:09 +02:00
Andreas Shimokawa
4bf37ea70f
Mi Band 4/Amazfit Bip Lite: Display a toast and do not try to pair if there was no auth key supplied
2019-10-12 19:44:45 +02:00
Andreas Shimokawa
8fefd1b49e
* Mi Band 4/Amazfit Bip Lite: Trim white spaces and new lines from auth key
2019-10-12 19:04:12 +02:00
Andreas Shimokawa
8d27ad1996
another try at bip lite support
2019-10-09 21:33:55 +02:00
Andreas Shimokawa
b5e9727dcd
Make some more settings per-device settings
...
- All ID115 settings migrated, allowing removal from settings activity
- All timeformat settings for all devices migrated
- All wrist location settings for all devices migrated (now you can have a mi band 3 on the left wrist and a bip on the right wrist :P)
Also deduplicated some strings from zetime/generic preferences
2019-10-05 22:35:30 +02:00
MyTimeKill
a0e3e060cc
Amazfit Bip: Whitelist fw 1.1.6.30 latin, res and latin ft
2019-10-03 22:18:01 +09:00
MyTimeKill
8df99bf5bd
Amazfit bip: Support flashing latest latin font
2019-10-02 18:00:34 +09:00
Andreas Shimokawa
89c7066d32
Widget: Only signal new data only when syncing activity data (not on fetching logs etc), do the same for Mi Band 1
2019-09-16 22:25:58 +02:00
Andreas Shimokawa
876515f1fd
Amazfit Cor: support custom emoji font
...
This commit refactors code and implements a custom device specific string
filter, which does nothing by default.
The implementation in HuamiSupport does the custom emoji conversion.
The setting has been moved from devicesettings_amazfitbip.xml to an extra file
As soon as there is a custom font for Mi Band 2/3/4 it is sufficient to add
"devicesettings_custom_emoji_font.xml" to the list of supported settings
in the appropriate coordinator and everything will work.
2019-09-14 00:05:39 +02:00
Andreas Shimokawa
8eb494ab85
Widget: some cleanups
...
- use LocalBroadcastManager when broadcasting new data event
- use constants for actions everywhere and move them
2019-09-01 22:09:09 +02:00
vanous
957d441859
Add Status and Alarms widget
...
Squashed commits from #1604
2019-09-01 21:35:53 +02:00
Andreas Shimokawa
ce9eab8def
Mi Band 4: really fix sending weather location
...
Really fixes #1609
2019-08-31 22:14:50 +02:00
Andreas Shimokawa
8f4489a21c
Mi Band 4: Fix call notifcation not stopping when call gets answered or rejected on the phone
...
This changes the way to how to stop call notification for all Huami device back to Mi Band 2
Also clean up unused code
Fixes #1612
2019-08-29 08:32:29 +02:00
Andreas Shimokawa
243eec042d
Mi Band 3/4, Amazfit Bip/Cor: Add setting to expose the HR sensor to 3rd party apps
...
Closes #1606
2019-08-27 11:13:45 +02:00
Andreas Shimokawa
da2e073dc2
Mi Band 4: Whitelist latest stable and beta firmware
2019-08-25 20:23:53 +02:00
Andreas Shimokawa
d07ca6faa6
Mi Band 4: Fix location not being updated on the Band
...
Also move generic code from AmazfitBipSupport to HuamiSupport where is belongs
Fixes #1609
2019-08-25 09:56:06 +02:00
Andreas Shimokawa
c1145e1244
Mi Band 4: Support flashing the V2 font that came with beta FW 1.0.6.00
...
Only tested with 1.0.6.00
It now contains new characters like äöüß and others.
2019-08-21 23:24:51 +02:00
Andreas Shimokawa
d7c6fad235
Mi Band 4: decode swim info (not used yet)
...
After swimming a lot on the sofa and desk this seems right and in line with the data displayed on the band
swimming styles I got so far are breast and freestyle. Others are probably missing.
Might be correct for Cor also (I don't have one)
2019-08-15 11:14:41 +02:00
Andreas Shimokawa
13b078aadd
fix verison typo (before I get a PR again :P)
2019-08-14 19:40:10 +02:00
Andreas Shimokawa
c17c3ed341
Improve parsing and debug output for activity summaries from Mi Band/Amazfit
2019-08-14 19:24:09 +02:00
Andreas Shimokawa
b5ea3ca591
Hexdump sports activity packets for better analysis
...
type 2 seems to be pause, 3 resume.
type 8 and seems to be related to swimming activites
2019-08-13 23:02:10 +02:00
Andreas Shimokawa
f99bc0de64
Move another file from AmazfitBip to Huami which is no longer Bip specific
2019-08-13 22:20:18 +02:00
Andreas Shimokawa
ff7886765f
Add Swimming to sport activity types, rename some AmazfitBip stuff to Huami (these were things introduced with the bip but working with other devices now also)
2019-08-13 22:04:52 +02:00
Andreas Shimokawa
0fd4d523a0
Amazfit Bip: Whitelist new firmware versions I tested
2019-08-07 17:24:01 +02:00
Andreas Shimokawa
aefd7520f3
Mi Band 3/4, Amazfit Cor/Bip: set language immediately when changing it (not only on connect)
...
Helps testing
2019-08-02 00:11:11 +02:00
Andreas Shimokawa
97540d734f
Mi Band 3/4: Allow enabling the "NFC" menu where supported
...
Pretty useless, because we do not support NFC - but nice for testing
2019-08-01 23:07:28 +02:00
Andreas Shimokawa
17599a797a
remove unused imports
2019-07-25 22:33:41 +02:00
Andreas Shimokawa
31db568832
Mi Band 4: Fix RES and FW update
2019-07-25 22:18:48 +02:00
Andreas Shimokawa
b6e78c1b9c
Mi Band 4: Support flashing watchfaces
...
FLASHING FIRMWARE/RES/FONT IS STILL UNTESTED
2019-07-25 20:51:28 +02:00
Andreas Shimokawa
5ff5561772
Mi Band 4: Fix notification icons and cut-off text
2019-07-24 09:33:53 +02:00
Andreas Shimokawa
044f6c11cd
Mi Band 4: WIP firmware update preparation
...
Nothing works yet
2019-07-23 23:49:21 +02:00
Andreas Shimokawa
9042966a40
Mi Band 4: Fix empty notifications
...
Icon still missing
2019-07-23 22:42:30 +02:00
Andreas Shimokawa
a60268c05c
Mi Band 4: Bring your own key support (blindly done, I dont have my key)
...
THIS STILL REQUIRES MI FIT AND YOUR EXTRACTED KEY
HOWTO:
1) press + button in Gadgerbridge
2) LONG PRESS Mi Band 4
3) Tap "Auth Key"
4) Enter your key prefixed with 0x (eg. 0x112233445566778899aabbccddeeff00)
5) Go back
6) Tap Mi Band 4
Success? You tell me.
2019-07-23 08:56:26 +02:00
Andreas Shimokawa
8d50e8ef08
Mi Band 3: Allow setting date format in per-device settings
...
Closes #1544
2019-07-16 23:48:08 +02:00
Andreas Shimokawa
f7a4b3c06a
Mi Band 3: whitelist firmware 2.4.0.20
...
Closes #1557
2019-07-16 16:24:45 +02:00
Andreas Shimokawa
ce0bd27111
remove useless condition
2019-06-22 21:10:19 +02:00
Andreas Shimokawa
d48d3cdea3
Add untested Mi Band 4 support (basically runs on Mi Band 3 code)
...
This is COMPLETELY untested, we do not have the device.
2019-06-12 23:44:01 +02:00
Andreas Shimokawa
d779310962
Move "activate display on lift wrist" and "rotate wrist to switch info" to per-device settings
...
"activate display on lift wrist" for Mi Band 2/3, Cor, Bip
"rotate wrist" only for Mi Band 2
2019-06-05 16:00:18 +02:00
Andreas Shimokawa
16090f0e21
Move fake device offset to Mi Band 1 preferences, remove support for other devices
...
Reasons for removal:
- I doubt we honored the offset correctly for new features anyway that are available on newer devices
- Newer devices have a display always displaying the wrong time
2019-06-05 14:11:44 +02:00
Andreas Shimokawa
d2988f987f
Mi Band 3: Whitelist FW 2.4.0.12
...
Closes #1530
2019-06-05 12:29:25 +02:00
Andreas Shimokawa
78dd7ef153
Mi Band 3: Fix setting menu items with 2.4 firmware and add support for the new timer menu
2019-05-29 15:53:44 +02:00
Andreas Shimokawa
12e16ac04a
add ignoring calls support to Amazfit Bip (probably Cor also and maybe Mi Band 3)
2019-05-25 22:19:19 +02:00
Andreas Shimokawa
93f288b936
Move "Do not disturb" settings from Mi Band / Amazfit settings to per-device settings (Mi Band 2 and Mi Band 3 only)
2019-05-24 23:47:57 +02:00
Andreas Shimokawa
d1ba702e75
add more settings migration for settings that are now per-device
2019-05-23 23:24:49 +02:00
Andreas Shimokawa
3440485a51
Mi Band 2: move settings to per-device settings
2019-05-23 21:33:35 +02:00
Andreas Shimokawa
34e0c4e8bc
remove swipe unlock settings from cor (can only be set from the band itself)
2019-05-22 19:04:38 +02:00
Andreas Shimokawa
038f101a12
Migrate more settings to per-device settings
...
Also add icons.
2019-05-22 10:49:59 +02:00
Andreas Shimokawa
9bfef4cf4f
Make per-device settings more versatile, move more settings
...
This allows to construct per-device settings by device type very easily
device coordinators just do the following to declare which setting they support,
the settings activity is then composed at runtime.
@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
return new int[]{
R.xml.devicesettings_miband3,
R.xml.devicesettings_swipeunlock,
R.xml.devicesettings_pairingkey
};
}
2019-05-22 00:42:22 +02:00
Andreas Shimokawa
49667451d7
Mi Band 3: fix setting language (regression after todays refactoring)
2019-05-20 23:27:17 +02:00
Andreas Shimokawa
08e7d728c2
Huami: Migrate some settings to device specific settings
...
- Migrate language setting
- Migrate menu items setting
- Migrate lastsync timestamp from prefixed global shared prefercence
All settings should be automatically be converted (e.g. Amazfit Bip settings to all paired Amazfit Bip devices) and then deleted.
Cor Settings aleady completely vanished from the global settings menu.
When migration is done we will have a much cleaner settings menu. Will also remove confusion that some Cor settings have to be done in Bip settings.
2019-05-20 16:36:06 +02:00
DerFetzer
dd067eddd7
Amazfit Bip: Add new latin languages
2019-05-14 20:58:07 +02:00
Andreas Shimokawa
6031586131
Mi Band 3 NFC: Whitelist FW 1.7.0.4
...
Closes #1470
2019-05-09 15:43:57 +02:00
Andreas Shimokawa
34b4943918
Also export and import device specific preference files
2019-05-09 14:55:37 +02:00
Andreas Shimokawa
41e607ce9b
Amazfit Cor 2: Give own device type id, support flashing the firmware **UNTESTED**
2019-05-09 12:42:59 +02:00
Andreas Shimokawa
2dc228029a
Mi Band 3: Whitelist FW 2.3.0.28
2019-05-09 11:28:24 +02:00
Andreas Shimokawa
f7fe3a836f
Mi Band 3: Support flashing latest Japanese-Korean font file
...
This increases the supported file size to 2.0MB.
Somehow it is confusing that the new file is version 1 and the old version 2.
Also according to firmare.json both are version 1....
2019-05-07 11:13:48 +02:00
Andreas Shimokawa
0399bc048c
Mi Band 3: Whitelist Firmware 2.3.0.6
2019-05-07 10:43:26 +02:00
Andreas Shimokawa
db48707764
Add a device specific settings activity, currently used for setting the auth key for Amazfit Bip/Cor
...
When connecting to a new device, a random key gets generated, which can be
looked up from the device specific settings (accessible via the gear icon in
the device card in the main activity). Old devices keep their 0123456789@ABCDE
key, they have to be re-paired to change that.
During pairing, long-pressing the device candidate in the discovery activity
will also start the device specific settings activity, where the auth key
can be set manually priror to pairing. This is usefull to keep the ability to
pair one device with multiple android devices.
Fixes #1308
2019-04-21 21:25:33 +02:00
License Bot
9aadb2f2fd
Update license headers
2019-04-21 18:53:10 +02:00
Andreas Shimokawa
665b1b6b5a
Bip: whitelist FW 1.1.5.16
...
Closes #1459
2019-03-17 18:26:47 +01:00
cpfeiffer
c9f1c110b0
Merge remote-tracking branch 'github/pr/1292'
2019-03-04 22:10:23 +01:00
cpfeiffer
8d6a9d98da
Silence lgtm error messages
...
If the index would indeed be out of bounds, we would simply catch the exception and deal with that.
2019-02-27 20:52:16 +01:00
Sebastian Kranz
6a04c78b0e
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into zetime
2019-02-20 14:24:59 +01:00
Sebastian Kranz
a7553188f9
Reading the device preferences from the watch and set them in the ZeTime menu.
2019-02-20 14:09:21 +01:00
License Bot
8e4be724e1
Update license headers (fix duplicates) and contributors list
2019-02-13 21:01:14 +01:00
License Bot
beedb653e6
Update license headers
2019-02-13 20:43:31 +01:00
Andreas Shimokawa
c66fade081
Amazfit Bip: Support disconnect notifications
...
Might also work with Cor, did not work with Mi Band 3
2019-02-13 13:06:42 +01:00
Andreas Shimokawa
095b2f53e5
Mi Band 3: Whitelist Firmware 2.3.0.2
2019-02-11 23:01:28 +01:00
Andreas Shimokawa
55f1dcc57b
Amazfit Bip: Whitelist FW 1.1.5.12
2019-02-10 23:09:34 +01:00
Andreas Shimokawa
dad7ba7aaa
Mi Band 3: Enable fetching sports activities and add "Exercise" type to generic code
2019-01-28 00:22:11 +01:00
Daniele Gobbetti
75d3dffb14
Migrate to androidx support libraries and bump compile SDK version
...
"Optimize imports" has been run on all source files, there might be
unrelated changes, but these should be harmless.
2019-01-26 16:00:56 +01:00
Andreas Shimokawa
4060efeeca
Mi Band 3: Whitelist Firmware 2.2.0.42
2019-01-21 23:01:15 +01:00
cpfeiffer
903b50c2c5
Improved DB-based alarms
...
- got rid of GBAlarm
- added migration for prefs-based alarms
- various cleanups
2019-01-07 01:15:49 +01:00
Matthieu Baerts
c845e16cfa
amazfitbit support: fix typo
...
senderOrTiltle -> senderOrTitle
2018-12-23 12:52:49 +01:00
Daniele Gobbetti
87d41bf09f
Amazfit Cor: Whitelist firmware 1.7.20 and res 69 (stable)
2018-12-19 20:33:41 +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
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
d6a06d0c16
Amazfit Bip: Whitelist Firmware 1.1.5.04
...
Closes #1333
2018-11-13 19:34:03 +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
8b3ba38344
Mi Band 3: Whitelist FW 2.0.0.4
2018-11-08 07:12:49 +01:00
cpfeiffer
5644ae5925
Display measured hr value in Debug activity + cleanup
...
Fixes #1320
2018-11-05 23:27:29 +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
cpfeiffer
effffddd8d
fixed lgtm warnings
2018-11-02 00:09:30 +01:00
cpfeiffer
7e9a9ca875
Added a TODO
2018-11-01 22:05:38 +01:00
cpfeiffer
435898ebc9
Move MiBand3-ism to MiBand3Support
2018-11-01 22:05:38 +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
cpfeiffer
6d4d92fd88
Live Activity: don't enable notifications every second
...
This caused the BLE queue to fill up more and more.
2018-09-17 23:02:18 +02:00
cpfeiffer
934f36f45a
Use ActivityUser.defaultUserStepsGoal instead of hardcoded values
...
ActivityUser has room for improvement, though.
2018-09-16 20:49:00 +02:00
cpfeiffer
f9e600d369
Deduplicate code
2018-09-15 22:38:20 +02:00
cpfeiffer
d6f5e36e12
Huami devices: Fix seldom fetch failures (better support for app level ble feedback)
...
Fixes #1264
2018-09-15 22:24:27 +02:00
cpfeiffer
b6d68207cb
Don't store the live step values in the db
2018-09-11 23:26:51 +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
Daniele Gobbetti
3e989cd89a
Amazfit Cor: Whitelist FW 1.2.5.00 and RES
2018-08-29 21:33:38 +02:00
License Bot
696653eabf
Update contributors list and license headers.
2018-08-29 21:30:23 +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
José Rebelo
9fda67b297
Mi Band 3: Night Mode
2018-08-27 22:54:37 +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 Shimokawa
c81965b88d
Mi Band 3: Raise limit of RES files to 150000 bytes
...
Fixes #1223
2018-08-18 23:02:36 +02:00
cpfeiffer
50295864f5
Use a custom IntentListener callback instead of LocalBroadcastManager for ble profiles
...
The issue here is the following:
- we used intents in the generic BleProfile classes to notify about the results of e.g. certain read requests
- we used to send these results asynchronously via LocalBroadcastManager.sendBroadcast(), which always used the main thread for sending
- however, we noticed that reconnecting to devices sometimes failed because the results arrived too late and the next action in the BLE queue lacked the necessary information
- the fix was to use LocalBroadcastManager.setBroadcastSync(), so that the results arrive in time
- this unfortunately meant that they were not sent in the main thread anymore, and especially, this would send all pending intents that were previously queued via sendBroadcast() also in the "wrong" thread (in order to keep the order of events)
The fix is to use a custom IntentListener callback interface for synchronous notifications of ble profile results
*without* also causing other, previously queued intents to be sent.
Fixes #1218
2018-08-18 00:39:14 +02:00
cpfeiffer
f96b10cca0
Avoid potential NPE
2018-08-17 00:19:10 +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
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
José Rebelo
470efa3e51
Mi Band 3: Change display items
2018-08-12 00:00:38 +02:00
José Rebelo
338251597b
Mi Band 3: Band screen unlock
2018-08-09 23:41:25 +02:00
Daniele Gobbetti
797a671ccd
Amazfit Cor: only send music information when needed
2018-08-08 17:48:23 +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
Daniele Gobbetti
3fac021ff2
Amazfit Cor: implement basic music controls
...
Play/pause and skip to previous/next song work. The currently playing song
name is shown on the Cor. The track length and progress are now shown as
we don't know how to send these yet.
2018-08-06 23:11:40 +02:00
cpfeiffer
ec0d62f67b
If firmwareRevision is null, use softwareRevision
2018-08-06 20:26:39 +02:00
cpfeiffer
f7c9828cc1
Avoid potential NPE
2018-08-06 20:22:10 +02:00
Andreas Shimokawa
88714ece4d
Amazfit Bip: fix current weather not being displayed with latest firmware
2018-08-05 15:27:28 +02:00
cpfeiffer
5bca05caac
Fix loop condition!
2018-08-04 23:10:11 +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
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
cpfeiffer
16fb1a584d
Errors during activity track timestamp fixup should be non-fatal
...
So just log them. #1134
2018-08-01 19:49:09 +02:00
cpfeiffer
7f1c0521ea
Small fixes to activity point timestamp fixup
2018-08-01 19:33:33 +02:00
szilardx
14a086c1f3
Add missing ActivityPoints and timestamp
2018-08-01 19:33:33 +02:00
Daniele Gobbetti
2da6749a40
Add activity kind (if known) to gpx filename
...
Fixes #1161
2018-07-22 16:14:36 +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
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
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
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
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
49a5f349b0
Amazfit Cor: Whitelist FW 1.0.7.88
...
Closes #1104
2018-06-25 21:37:26 +02:00
License Bot
225a600aed
Update license headers
2018-06-25 18:35:46 +02:00
Daniele Gobbetti
f99895da0c
Remove activity transfer toast, add title to the transfer notification
...
Also create a separate channel that allows "muting" transfer notifications
on android oreo and above.
2018-06-19 22:03:49 +02:00
Andreas Shimokawa
9bcae3e000
Amazfit Bip: Whitelist FW 0.1.1.45
2018-06-16 23:35:02 +02:00
Andreas Shimokawa
99dec159f7
Mi Band 3: add untested and incomplete support
...
This also improves firmware/RES probing to distinguish Mi Band 2/3 firmware files and Mi Band 3/Bip RES files.
Notes:
- Firmware flashing should might but is untested
- This basicall runs off the Amazfit Bip code which will probably incorrect (Mi Band 3 is proabably something between the Bip and the Mi Band 2)
2018-06-14 18:16:49 +02:00
Andreas Shimokawa
f46c204c75
Amazfit Cor: Whilelist FW 1.0.7.52
...
Closes #1087
2018-05-12 22:20:49 +02:00
Andreas Shimokawa
eb08e66674
Amazfit Cor: make sure that Veats firwmare does not get detected as a Cor firmware...
2018-05-12 00:15:14 +02:00
Andreas Shimokawa
746cb00460
Amazfit Cor: Fix recogition of new firmwares
...
Newer Cor and Bip firmwares seem to be indistinguishable,
What we do for now is use the version we already search for say
Bip firmwares are valid from 0.0.8.00 to < 1.0.5.00 (lastest as of today is 0.1.0.39)
Cor firmwares are valid from 1.0.5.00
This should work for a while.
Fixes #1095
2018-05-12 00:05:30 +02:00
License Bot
238bacde9f
Update license headers
2018-02-26 14:27:33 +01:00
Daniele Gobbetti
4f246b3ed9
Add Antox to the chat applications.
...
Notifications coming from the chat.tox.antox package are treated as chat
messages. This closes #910
2018-02-17 17:39:15 +01:00
Daniele Gobbetti
48b89f1bd2
Add Kontalk to the chat applications.
...
Notifications coming from the org.kontalk package are treated as chat
messages. This closes #994
2018-02-17 17:33:34 +01:00
Daniele Gobbetti
55d9ff0954
Amazfit Cor: Whitelist firmware 1.0.6.76
...
Reported as working on the issue tracker. Closes #984
2018-02-10 23:36:05 +01:00
Andreas Shimokawa
3871b6f0be
Amazfit Cor: Allow watchfaces to be flashed
...
Untested as Cor has no maintainer
2018-02-01 14:22:18 +01:00
Andreas Shimokawa
f6f4d7ec40
Amazfit Cor: support flashing new res format also on Cor
2018-01-27 21:51:34 +01:00
Andreas Shimokawa
14a6c9a626
Amazfit Bip: support flashing new res, font, and latin font files
...
Required for firmware 0.1.0.66
2018-01-27 21:41:35 +01:00
Andreas Shimokawa
aca31c320a
Amazfit Cor: allow to flash latest firmware
2018-01-13 16:29:48 +01:00
Lukas Veneziano
781359afba
Added notification type for business calendar
2018-01-12 21:12:33 +01:00
Lukas Veneziano
6b339a3013
Added notification type for threema app
2017-12-31 00:10:39 +01:00
Andreas Shimokawa
ad750c0047
try to fix cor firmware recognition for newer versions
2017-12-21 09:35:33 +01:00
Andreas Shimokawa
b7b96b5ab5
Amazfit Bip/Cor: for untested installable files, at least display the type (res/font/gps/watchface)
...
For res the version is also displayed (the same as noted in the wiki)
2017-12-10 20:30:27 +01:00
Andreas Shimokawa
ff93122ddc
Amazfit Bip/Cor: parse and display firmware version for unknown versions
...
Unfortunately that does not work for the Mi Band 2 yet
2017-12-10 11:31:42 +01:00
Andreas Shimokawa
c325ba1a22
Amazfit Bip: show find phone events (not yet supported)
2017-11-19 23:46:58 +01:00
Andreas Shimokawa
e3ca3872e1
Amazfit Bip: Allow watchface flashing and whitelist Firmware 0.0.9.40
2017-11-09 22:05:01 +01:00
Andreas Shimokawa
6b56e8e568
Amazfit Cor: Fix flashing of new .res files
2017-11-06 07:17:01 +01:00
Andreas Shimokawa
94cfaadc41
Amazfit Cor: whitelist latest .res and .fw
...
Add a note about this being totally untested, especially scary since the new res format is different.
2017-10-25 22:26:38 +02:00
License Bot
3ea2ac6dd2
Update license headers
2017-10-25 09:29:36 +02:00
Andreas Shimokawa
55cdc6d1c5
Amazfit Cor: Untested firmware update support
...
(refactor stuff along the way)
2017-10-24 22:01:25 +02:00
Andreas Shimokawa
a809ad214d
Refactor some common Huami stuff (Mi Band 2 / Bip)
...
This also fixes a bug where every event from the device (like not worn detection) counted as a button press
2017-10-21 22:50:28 +02:00