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
protomors
fd68700b9a
NO1 F1: Set time during initialization.
2018-08-05 00:09:43 +02:00
protomors
343239ff9e
NO1 F1: Fixed typo.
2018-08-05 00:09:43 +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
Vadim Kaushan
9a13d5ea4a
ID115: code cleanup
2018-07-30 23:24:20 +03:00
Vadim Kaushan
fd7a0cb124
ID115: fetching activity data
2018-07-30 23:23:13 +03:00
Vadim Kaushan
caabe0ed0a
ID115: use SendNotificationOperation for message and call notifications
2018-07-29 21:30:31 +03:00
Vadim Kaushan
458a363f11
Merge remote-tracking branch 'upstream/master'
2018-07-29 19:31:40 +03:00
José Rebelo
18b13b7772
Add missing break
2018-07-27 14:39:01 +01:00
dakhnod
63cb70ac9a
Fix missing sourceAppID field
2018-07-23 02:50:05 +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
Vadim Kaushan
b6bd100f28
ID115: remove useless debug messages
2018-07-16 15:50:29 +03:00
Vadim Kaushan
65fbb4da5b
ID115: wrist setting
2018-07-16 15:48:37 +03: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
Vadim Kaushan
c43a564a47
Merge remote-tracking branch 'origin/master'
2018-07-15 00:53:47 +03:00
Vadim Kaushan
a94e0b9463
ID115: log IO exceptions
2018-07-15 00:46:11 +03:00
Vadim Kaushan
fe9ec9b88a
ID115: screen orientation preference
2018-07-14 13:23:21 +03:00
Vadim Kaushan
02b3f23329
ID115: set steps goal
2018-07-13 15:00:16 +03:00
Sebastian Kranz
18202bffbd
Fix timestamps of activities, cause the watch reports them with 6 hours offset.
2018-07-13 13:24:47 +02:00
Vadim Kaushan
c9e7a2ff1d
ID115: notification support
2018-07-13 14:08:11 +03:00
Vadim Kaushan
4bea2a3407
ID115: fix logger name
2018-07-13 13:54:19 +03:00
Sebastian Kranz
99bdb4a30a
Use evaluteGBDeviceEvent to send events to the app/android system, instead of calling directly the handle ufunctions.
2018-07-13 10:35:18 +02:00
Sebastian Kranz
f0174d904a
Bugfix: calendar needs the date as number. Add comment about converting date digits to characters.
2018-07-13 10:10:41 +02:00
Vadim Kaushan
8a0263d3ff
ID115: Fix date calculation
2018-07-12 15:57:00 +03:00
Vadim Kaushan
814ca76733
ID115: basic support
2018-07-12 15:48:09 +03:00
Sebastian Kranz
6781e1e14a
Rework onNotification function: Assemble the message and send decide, which icon should show up on the watch. Email support seems broken in newest firmware (1.7 Build 41) of the watch!
2018-07-12 07:30:41 +02:00
Sebastian Kranz
888d08ae77
Replace performConnected() with builder.queue(getQueue()) to write the commands and data to the watch.
2018-07-11 11:59:32 +02:00
Sebastian Kranz
c1673554ee
Better use bit shifting and masks to avoid negative values.
2018-07-11 07:17:40 +02:00
Sebastian Kranz
f3264fab0a
Fix typo.
2018-07-11 06:49:01 +02:00
Sebastian Kranz
7d8d484133
Merge branch 'master' into zetime
2018-07-10 06:48:20 +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
Sebastian Kranz
edee0904ff
Add all activity data to the database; at the moment not all are displayed. Try to fix value calculations, because negative results do not make sense here. Restrict the body length from notification to the max value of 256 characters.
2018-07-06 21:59:30 +02:00
Sebastian Kranz
0a37b8ef87
Fix music control. Now everytime the track changes the correct title is displayed. Set limits for volume up and down. Set a initial value of 50% at connect...
2018-07-06 20:33:45 +02:00
Sebastian Kranz
c2d608b0ef
Add time synchronization. Some values/parameters are fixed at the moment, which shouldn't be maybe.
2018-07-06 08:19:04 +02:00
Sebastian Kranz
fec1f1afc6
Fill function to to add a calendar event at the day view.
2018-07-05 10:28:27 +02:00
Sebastian Kranz
7c65fa4fc0
BUGFIX: correct the length needed if a string includes multi bytes. Because a character is encoded of up to 4 bytes. Fix using the correct progess and available variables for the activities. Also restict the volume up and down commands to 16 steps.
2018-07-05 07:25:17 +02:00