1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-27 23:40:31 +02:00
Commit Graph

2121 Commits

Author SHA1 Message Date
cpfeiffer
b9f19970df Small safety measure against null device 2018-01-04 00:12:59 +01:00
Tomas Radej
56c7f72f65 Added Etar as calendar app type 2017-12-31 13:19:30 +01:00
Lukas Veneziano
f194cc00ed Fixed accidentally changed color for telegram fixed threema notification
type not being used
2017-12-31 00:10:39 +01:00
Lukas Veneziano
6b339a3013 Added notification type for threema app 2017-12-31 00:10:39 +01:00
Andreas Shimokawa
cad9e4ddd0 Amazfit Bip: whitelist firmware 0.1.0.39 2017-12-31 00:07:40 +01:00
Andreas Shimokawa
d4ce333f14 Amazfit Cor: Fix problem with firmware 1.0.6.27 where Cor was detected as Mi Band 2
The root cause of this problem is that starting from firmware 1.0.6.27 the
bluetooth name was changed to "Amazfit Cor" from "Amazfit Band"

This resulted in advanced features not working, including firmware flashing.
2017-12-30 22:27:00 +01:00
Andreas Shimokawa
01a5d862a0 Mi Band 1S: fix regression with firmware 4.16.4.22 and whitelist 4.16.11.15 2017-12-29 00:41:21 +01:00
Andreas Shimokawa
dc51714d01 Mi Band: Support activity fetching in later firmwares (needs testing)
Based on the profile version which is 0x2000700 for both the bug reporter on a Mi Band 1 and for me on a Mi Band 1s
this either expects packets with length 20 (old firmwares) or 16 for HR enabled bands and 18 for non-HR enabled bands (new firmwares)

We check for profile version >=0x02000000 which is guessed, that needs confirmation for older firmwares and untested ones

Fixes #915
2017-12-28 01:07:25 +01:00
Andreas Shimokawa
b91204e109 Amazfit Bip: allow installation of latest gps firmware 2017-12-22 23:29:38 +01:00
Andreas Shimokawa
f6b183d39a Allow firmware files up to 1.5MB
This helps some experiments
2017-12-21 09:40:47 +01:00
Andreas Shimokawa
ad750c0047 try to fix cor firmware recognition for newer versions 2017-12-21 09:35:33 +01:00
Daniele Gobbetti
888e7fa229 Add support for Omnirom Omnijaws weather service.
This uses a contentobserver and doesn't do anything if it's not available.
Should be feature equivalent to the LineageOS weather receiver.
2017-12-17 22:35:17 +01:00
Andreas Shimokawa
64968d8a99 Amazfit Bip/Cor: change AQI string from (fake) to (n/a) 2017-12-17 00:01:00 +01:00
Andreas Shimokawa
34c3737f3c Amazfit Bip: Whilelist recently tested versions 2017-12-16 23:25:56 +01:00
Andreas Shimokawa
22eb69d1c2 read humidity from CM Weather provider 2017-12-14 15:10:14 +01:00
Andreas Shimokawa
948002dc7c Weather: recreate OWM fake reply from weatherSpec, no not directly create in in Weather Notification receiver
This should bring CM weather on par with Weather Notficication when using background js
2017-12-14 14:54:09 +01:00
Andreas Shimokawa
1752b1b51e fix cm/lineage weather not updating after changing location 2017-12-12 22:36:15 +01:00
cpfeiffer
fccd2ebb77 Display the actual firmware kind instead of "Firmware"
i.e. "GPS Firmware", "Watchface", "Resources", ...
2017-12-11 23:36:39 +01:00
Andreas Shimokawa
f0ac296492 Initial support for cyanogenmod/lineage weather provider
TODO:
- also reconstruct json for Pebble background js fake replies
- find a better location for settings
- interatively display candidates when looking up location
- grey out setting on non-cm/los devices
2017-12-11 19:09:37 +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
8fbf97f713 Amazfit Bip/Cor: Send fake AQI 0 to make current weather appear
I have no idea why this is necessary.
But at least it makes the current weather visible :/
2017-12-08 08:26:10 +01:00
Andreas Shimokawa
eec0a4dc4c Amazfit Bip/Cor: Send also current temperature/condition
Closes #905
2017-12-04 22:33:53 +01:00
michaelneu
76de046434 add Facebook Messenger Lite notification support (see #883) 2017-12-03 00:18:55 +01:00
Andreas Shimokawa
eb9d321b95 Use Teclast H30 code for Teclast H10
Thanks @newfla for pointing that hout
Closes #867
2017-12-02 20:35:56 +01:00
Andreas Shimokawa
7beb793165 Amazfit Bip: Fix installation of new 0.1.0.11 firmware
Also whitelist 0.0.9.49 and .59
2017-12-02 01:28:59 +01:00
Andreas Shimokawa
9dfde46bb0 Amazfit Bip: send condition string also for forecast days
String for forecasts are looked up from OWM condition ids, while the current condition string is already translated by WeatherNotification
2017-11-30 18:26:10 +01:00
Andreas Shimokawa
0befc1a95e Weather refactoring
No longer save an instance of ParcelableWeather2, rely on our WeatherSpec instead which now has all forecast data and save reconstructed owm weather json in Weather
2017-11-30 10:24:31 +01:00
Andreas Shimokawa
879272deb7 Weather: refactoring and support forecast for more than one day 2017-11-29 23:57:36 +01:00
Zhong Jianxin
b4bbd0323c Combine multipart SMS message into messages by sender
When receive SMS message, instead of generating multiple notifications
by PDU size, after this change, there will be only one notification for
each sender.
2017-11-23 22:26:46 +01:00
Andreas Shimokawa
36e50bddb0 remove obsolete comment 2017-11-19 23:47:06 +01:00
Andreas Shimokawa
c325ba1a22 Amazfit Bip: show find phone events (not yet supported) 2017-11-19 23:46:58 +01:00
Daniele Gobbetti
797ad096dc Don't add the fetch activity action button on KK
Fixes #886

Add accent color also on first notification creation #759
2017-11-19 16:39:44 +01:00
Andreas Shimokawa
20208ca7a3 Work around non-working outlook notifications
See #851
2017-11-14 23:27:01 +01:00
Andreas Shimokawa
7ffcc44378 Pebble: fix nasty crash when appmessage id is > 127
This is a regression since Gadgetbridge 0.22.0

Potentially fixes the following:

- #868
- #876
- #884

NOTE:

Java has no unisgned, java has no unsigned, java has no unsigned.
Java has no unisgned, java has no unsigned, java has no unsigned.
Java has no unisgned, java has no unsigned, java has no unsigned.
2017-11-14 22:28:54 +01:00
Andreas Shimokawa
97fda2434d Pebble: prevent potential NPE, and add more loggins in PebbleKit code 2017-11-14 22:10:40 +01:00
Andreas Shimokawa
d25da96804 Pebble: log some errors during JSON encoding/decoding 2017-11-14 22:02:00 +01:00
Davis Mosenkovs
5a77f224f4 Mi Band 2: whitelist firmware 1.0.1.54
Firmware version 1.0.1.54 is marked as recommended on wiki (Mi Band
Firmware Information).
2017-11-12 23:17:00 +01:00
Andreas Shimokawa
82ad7abf62 Mi Band 2/Bip/Cor: Only enable notification on realtime hr characteristic when live activity is used 2017-11-11 23:37:59 +01:00
Zhong Jianxin
2f443ad419 Allow WeChat notifications
It seems WeChat always mark its notifications as LocalOnly. The reason
may be to avoid double notifications when using Android Wear watches,
since WeChat has a standalone Android Wear app.

Do not ignore WeChat notifications even if they're marked as LocalOnly.
2017-11-11 16:14:35 +01:00
Andreas Shimokawa
1e324acd65 Mi Band 2/Bip/Cor: Whole day HR Measurement 2017-11-11 00:04:51 +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
9764e8e54e try to parse timezone that comes back from huami devices
(there are other places where something like this has to be done, probably also in the other direction)

related to #869

(cherry picked from commit a58e3f66ce)
2017-11-06 23:23:11 +01:00
Andreas Shimokawa
6b56e8e568 Amazfit Cor: Fix flashing of new .res files 2017-11-06 07:17:01 +01:00
cpfeiffer
23b18abfe8 Avoid potential NPE 2017-11-03 22:01:11 +01:00
Andreas Shimokawa
83c06f4429 Amazfit Cor: fix firmware update 2017-11-03 01:09:09 +01:00
Andreas Shimokawa
dd440f51df Amazfit Bip: add manual language selection 2017-11-01 23:32:54 +01:00
Andreas Shimokawa
e2546f772a Mi Band 2: prevent detecting as Mi Band HRX in all cases, fixes HR not visible in charts
Fixes #862
2017-11-01 22:10:06 +01:00
Daniele Gobbetti
72f76b60d3 Pebble: send temperatures according to the configured measurement system
Fixes #858
<Without further comments but feel free to insert a long rant about the beauty of the metric system>
2017-11-01 17:58:58 +01:00
Daniele Gobbetti
e7839f1c39 Replace the Combined Charts with simple Line Charts
Fixes #808
The datasets had to be separed in order to fill the area below each line with the right color.
2017-11-01 17:35:05 +01:00