Andreas Shimokawa
8bed673a95
Annotate LineageOsWeatherReceiver as Android >=M, and only try to use it with Oreo or later
2019-08-22 21:31:08 +02:00
keeshii
a70aa5e749
Added LineageOs Weather receiver.
2019-08-22 21:28:13 +02:00
Andreas Shimokawa
5f998d8a95
add stripped down version of weather part of lineage sdk
...
Makes it possible to use the lineage weather provider without binary jar
(This is based on 63a590625c6c76f82e5ef43408a52238b2b34e43 of https://github.com/LineageOS/android_lineage-sdk )
2019-08-22 21:19:03 +02:00
Andreas Shimokawa
aec3d21216
Mi Band 4: remove unsupported DND setting from settings menu
2019-08-22 10:20:45 +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
26165f9117
Amazfit Bip/Cor: Fix resetting of last fetched date for sports activities
...
For Mi Band 3/4 this does nothing, since the Mi Band seems to remove the activities from the Band immediately after fetching
2019-08-14 19:24:03 +02:00
Andreas Shimokawa
320f792d19
Add icons for "swimming" and "exercise"
...
Also set tint color to gray (for dark theme) and remove duplicate sleep icon
2019-08-14 07:55:10 +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
vanous
a263059317
Modify charts range based on settings. More/Less labels density.
2019-08-13 14:30:54 +02:00
vanous
80bd31d894
Modify Charts Fragment's Titles
2019-08-13 14:30:54 +02:00
vanous
28fde846ea
Modify getTitle(). Probably not visible, but done for completness.
2019-08-13 14:30:54 +02:00
vanous
3017742cba
Added type to intent when sharing
2019-08-12 14:16:20 +02:00
vanous
5fe4ea7246
Clean commented code
2019-08-12 14:13:20 +02:00
vanous
7809655ef4
Add Average Settings. Addformat method to get average.
2019-08-12 14:13:20 +02:00
vanous
f11628b42b
Add Averages to Charts
2019-08-12 14:13:20 +02:00
Konrad Iturbe
da59991aa5
Use Rebble Store URI
2019-08-12 14:07:37 +02:00
Andreas Shimokawa
0fd4d523a0
Amazfit Bip: Whitelist new firmware versions I tested
2019-08-07 17:24:01 +02:00
Andreas Shimokawa
57a235742d
Properly disable new ble scanning for testing
...
(inverted logic committed accidentially)
2019-08-03 23:40:07 +02:00
Andreas Shimokawa
461842a945
fix copyright header for newly added file
2019-08-02 23:52:25 +02:00
Andreas Shimokawa
02d02d2329
Add Initial Mijia LYWSD02 support (Smart Clock with Humidity and Temperature Sensor)
...
This only sets the time on connect.
2019-08-02 23:49:14 +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
124d03d171
Mi Band 4: Enable music info support (displays now on the band)
2019-07-28 14:34:04 +02:00
Andreas Shimokawa
261ddee707
Mi Band 4: Support setting date format (for built-in watchfaces)
2019-07-26 21:05:16 +02:00
Andreas Shimokawa
8d567c1e6d
fix build
2019-07-26 19:37:00 +02:00
Andreas Shimokawa
8449e55f9e
Amazfit Cor: Fix empty menu on Amazfit Cor 2
...
Fixes #1563
2019-07-26 08:57:41 +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
9163faf726
Merge remote-tracking branch 'github/pr/1555/zetime'
2019-07-16 00:41:04 +02:00
Sebastian Kranz
1cd9a09ce5
BUGFIX: Really fix the timestamps now for everyone, everywhere. calculate the correct UTC of different timezones and daylight savings.
2019-07-12 08:08:52 +02:00
Andreas Shimokawa
27175cb336
Mi Band 4: Fix DeviceType emum
...
Reported by @goldfndr in #1536
2019-06-23 22:42:12 +02:00
Andreas Shimokawa
ce0bd27111
remove useless condition
2019-06-22 21:10:19 +02:00
Andreas Shimokawa
9385c26fae
Add missing MIBAND4 to switch
2019-06-19 22:15:42 +02:00
Andreas Shimokawa
8fce521e99
Fix crash when entering Mi Band 1 per-device settings menu
...
Fixes #1541
2019-06-18 22:07:43 +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
b6a015c18b
move low-latency setting for Mi Band to per-device settings (only for Mi Band 1)
2019-06-05 12:48:33 +02:00