vanous
074bc885c8
send broadcast and vibration on button action only if enabled
2020-12-18 10:56:42 +01:00
Andreas Shimokawa
4fb79ac2b2
Huami: Add new option to disting to properly distinguish connected adverising and 3rd party hr exposure
2020-12-13 22:38:03 +01:00
Andreas Shimokawa
d0c5ffec28
Amazfit Bip S: Fix crash with notifictions with only a title (GitNex does this)
...
Probably affects other newer Huami devices
2020-12-02 17:07:40 +01:00
Andreas Shimokawa
9d6f9f7d57
Huami: Unify menu id lookup tables and simplify code
2020-11-10 21:56:00 +01:00
Andreas Shimokawa
5b55898059
Mi/Amazfit Band 5: Add support for setting/sorting shortcuts
2020-11-10 11:33:37 +01:00
Andreas Shimokawa
f178c478c9
Amazfit Bip: Also make shortcuts sortable
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
d20e6516c8
Humai: Implement menu sorting for remaining devices (except Mi Band 2)
2020-11-07 22:48:34 +01:00
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
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
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
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
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
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
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
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
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
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
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
33a1dbd1cd
Amazfit GTS: Fix setting menu items with low mtu
2020-04-29 14:44:58 +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
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
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
vanous
7394b1cce3
Add-Buttons-Events-Config ( #1761 )
2020-01-08 19:58:31 +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
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
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
e5f5a671bd
Amazfit Bip: Make vibration after button action work
2019-11-21 13:24:06 +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