Commit Graph
100 Commits
Author SHA1 Message Date
José Rebelo dcf2629854 Remove scanning intensity preference and legacy discovery activity
The refactored DiscoveryActivityV2 does not freeze anymore, even under
maximum scanning intensity on older phones, and seems to not have
introduced any regressions.
2023-10-06 22:16:58 +01:00
José Rebelo fe9b88df17 Zepp OS: Fix setting of unknown button press apps 2023-10-06 21:52:13 +01:00
José Rebelo 99130eb472 Fix closeable file leak on weather cache 2023-10-06 21:38:35 +01:00
José Rebelo 0854263233 Fix Bohemic Smart Bracelet recognition 2023-10-05 21:47:00 +01:00
José Rebelo e62565cc88 Update gradle wrapper to 7.2
The previous one did not match any of the checkums on the official
website.

./gradlew wrapper --gradle-version 7.2 \
  --gradle-distribution-sha256-sum f581709a9c35e9cb92e16f585d2c4bc99b2b1a5f85d2badbd3dc6bff59e1e6dd
2023-10-04 22:24:41 +01:00
José Rebelo d1dee47186 Fix tests 2023-10-04 21:58:45 +01:00
José Rebelo 5f05a0d88f Sony WF-1000XM5: Experimental support 2023-09-28 23:53:58 +01:00
José Rebelo 25af69733f Add default methods to AbstractDeviceCoordinator 2023-09-28 23:32:57 +01:00
José Rebelo 1cd795f95a Sony Wena 3: Update wiki link in README 2023-09-23 11:36:45 +01:00
José Rebelo 9fe5bc049f Remove stray character 2023-09-19 20:48:20 +01:00
José Rebelo 9230580a01 Display devices with unknown name during scan 2023-09-19 20:45:14 +01:00
José Rebelo e078ceff0a Introduce DiscoveryActivityV2 2023-09-19 20:45:14 +01:00
José Rebelo a85246c279 Use GBDeviceCandidate#getName on all coordinators 2023-09-19 20:45:13 +01:00
José Rebelo 6f7fb261e7 Move Discovery activities to standalone package 2023-09-19 20:44:42 +01:00
José Rebelo ee3ce06899 Zepp OS: Fix health settings on older Zepp OS versions 2023-09-17 23:17:22 +01:00
José Rebelo 3f518364f2 Amazfit GTR 3 Pro: Fix firmware and watchface upload 2023-09-17 20:52:33 +01:00
José Rebelo c3d7718e65 Improve MTU error message, update README 2023-09-17 16:50:48 +01:00
José Rebelo d56a42a424 Zepp OS: Prevent AGPS file upload under low MTU 2023-09-17 16:39:39 +01:00
José Rebelo f6ff357a6b Reduce number of git commits on nightly changelog
- Include last 100 commits
- Ignore weblate commits

The changelog_git is still being accidentally included into release
builds. It currently takes 6kb compressed.
2023-09-17 15:40:16 +01:00
José Rebelo e855cfec08 Amazfit GTR Mini: Remove experimental, change AGPS updates to not use file transfer 2023-09-16 14:55:27 +01:00
José Rebelo 763ee10a6c Fix support classes for some Amazfit devices
Affected devices:
- Amazfit Bip Lite
- Amazfit Bip S Lite
- Amazfit GTS 2 Mini
- Amazfit Pop
- Amazfit Pop Pro
2023-09-14 22:05:27 +01:00
José Rebelo 2bd1cc332f Log error when bonding fails immediately 2023-09-13 20:19:19 +01:00
José RebeloandJosé Rebelo 9401b61a02 Allow text to be shared to devices 2023-09-11 13:28:37 +00:00
José Rebelo 7359186cee Zepp OS: Fix Alexa initial connection 2023-09-10 22:57:23 +01:00
José Rebelo 43d02b9661 Zepp OS: Parse SPO2 sleep data
Matched against the Zepp spo2 database
2023-09-10 16:58:40 +01:00
José Rebelo 1ac6983cd3 Amazfit Bip 5: Add new deviceSource 2023-09-08 21:38:22 +01:00
José Rebelo ec9b423785 Do not run master build and tests on nightly
In order to trigger a deployment, these were already executed, it
doesn't make sense to waste CI time running them again.
2023-09-07 13:06:41 +01:00
José Rebelo 418e0b7d43 Allow nightly builds to be triggered manually 2023-09-07 13:00:07 +01:00
José Rebelo c912ea0378 Zepp OS: Send UV Index as integer 2023-09-04 21:25:12 +01:00
José Rebelo 50c474e9ef Fix crash when timezone has no next DST transition 2023-09-04 14:12:59 +01:00
José Rebelo 0c13cad3e8 Update changelog 2023-09-02 11:10:20 +01:00
José Rebelo 4c7cb1cadc Fix ACTION_DST_CHANGED action 2023-09-02 11:08:19 +01:00
José Rebelo a4c79a9395 Attempt to fix DST changes 2023-09-02 10:13:14 +01:00
José Rebelo 2051ce2055 WeatherSpec: Fix typo in getLocation 2023-08-29 00:14:35 +01:00
José Rebelo 07dce81d85 Update changelog 2023-08-27 22:46:53 +01:00
José Rebelo 6d828260d0 WeatherSpec: Add some docs for AirQuality 2023-08-27 19:51:44 +01:00
José Rebelo 200cfdf29a Revert "Amazfit Bip 3 Pro: Enable HR stats and sleep respiratory rate"
Per the feedback on #3249, this does not seem to be supported.

This reverts commit 42f35259fc.
2023-08-27 17:45:57 +01:00
José Rebelo 88b72d51c8 Zepp OS: Use WeatherSpec gps coordinates for sunset if available 2023-08-27 16:23:32 +01:00
José RebeloandJosé Rebelo 495a8dec89 Zepp OS: Map WeatherSpec v4 fields
- Map hourly values
- Fix sunset and sunrise location
- Add moon rise, set and phase
- Add air quality
- Add wind speed, wind direction, visibility, pressure
2023-08-27 15:13:57 +00:00
José RebeloandJosé Rebelo 564cb1bfcc Introduce WeatherSpec v4
New fields for current weather:

- dewPoint
- pressure
- cloudCover
- visibility
- sunRise
- sunSet
- moonRise
- moonSet
- moonPhase
- airQuality
- latitude
- longitude
- feelsLikeTemp
- isCurrentLocation

New fields for daily forecast:

Deprecate the old "Forecast" class, which was not versioned, but keep it for backwards compatibility with old apps. Old WeatherSpec forecasts are de-serialized into the new Daily class. New fields:

- windSpeed
- windDirection
- uvIndex
- precipProbability
- sunRise
- sunSet
- moonRise
- moonSet
- moonPhase
- airQuality

Add hourly values:
- timestamp
- temp
- conditionCode
- humidity
- windSpeed
- windDirection
- uvIndex
- precipProbability

Air Quality:
- aqi (plume)
- co
- no2
- o3
- pm10
- pm25
- so2
- coAqi
- no2Aqi
- o3Aqi
- pm10Aqi
- pm25Aqi
- so2Aqi
2023-08-27 15:13:57 +00:00
José Rebelo 42f35259fc Amazfit Bip 3 Pro: Enable HR stats and sleep respiratory rate 2023-08-26 17:52:10 +01:00
José Rebelo 7e848d19fb Zepp OS: Handle watchface change 2023-08-26 15:47:04 +01:00
José Rebelo 55d0697c44 Huami: Display explicit error if there is not enough free space 2023-08-26 12:14:23 +01:00
José Rebelo d273e6652b Amazfit Bip 3 Pro: Remove unsupported display items 2023-08-25 22:25:10 +01:00
José Rebelo c01a33077e Huami: Enforce a maximum of 16 items on the main screen 2023-08-25 13:58:32 +01:00
José Rebelo 20d0d61ed8 WeatherSpec: Add a note on forecasts list 2023-08-23 16:16:40 +01:00
José Rebelo da779e9864 Zepp OS: Improve weather code mapping 2023-08-23 15:48:26 +01:00
José Rebelo fe58d64192 Zepp OS: Fix weather 2023-08-23 15:08:16 +01:00
José Rebelo 2320043c00 Fix min temp in cached weather data debug popup 2023-08-22 17:38:33 +01:00
José Rebelo 74dc0f70a6 Contacts: Migrate to ActivityResultContracts 2023-08-21 21:48:03 +01:00
José Rebelo 353c6d9679 Languages: Add some english, french and spanish variants 2023-08-21 16:11:52 +01:00
José Rebelo 36e357ba67 Zepp OS: Add Alexa shortcut card 2023-08-21 15:55:58 +01:00
José Rebelo 50f962c520 Show UV Index and precip probability for cached weather 2023-08-20 10:01:15 +01:00
José Rebelo b029aa252d Update changelog 2023-08-18 22:07:05 +01:00
José Rebelo 454d766e88 Zepp OS: Add all remaining devices as experimental 2023-08-18 12:16:36 +01:00
José Rebelo e5faf518ea Add support for experimental devices 2023-08-18 12:16:36 +01:00
José Rebelo 0a19f88a3f Amazfit Bip 3 Pro: Fix device icon for square device 2023-08-18 12:16:36 +01:00
José Rebelo 3fae1accb1 Zepp OS: Send calendar event location 2023-08-18 08:54:07 +01:00
José Rebelo b1bedfaa56 Keep charts current date on config changes 2023-08-16 13:42:44 +01:00
José Rebelo b297e767ad Amazfit Bip 3 Pro: Initial support 2023-08-16 12:27:00 +01:00
José Rebelo 515b9efce8 Zepp OS: Fix calendar sync for Zepp OS 2 2023-08-14 18:40:39 +01:00
José Rebelo d6567e553f Zepp OS: Map barcode types for ITF, PDF_417 and DATA_MATRIX 2023-08-14 14:12:46 +01:00
José Rebelo 19e7003c95 Zepp OS: Query calendar service version 2023-08-14 10:16:40 +01:00
José Rebelo 3716d99788 Add test to ensure no duplicated DeviceType keys 2023-08-13 13:56:57 +01:00
José Rebelo 0e06bde741 Zepp OS: Enable AGPS updates for all devices 2023-08-12 13:25:19 +01:00
José Rebelo 13af55bd2e Zepp OS: Add Zepp Coach display item and shortcut card 2023-08-12 13:18:20 +01:00
José Rebelo ee5325418a Zepp OS: Fix shortcut cards setting on Zepp OS 2.1 2023-08-12 13:18:20 +01:00
José Rebelo cecca8c17e Add Termux RUN_COMMAND permission 2023-08-09 20:50:33 +01:00
José Rebelo 3799c51dc3 Add preference to display changelog on startup 2023-08-09 20:00:47 +01:00
José Rebelo 7fb34eb262 Build nightly changelog from git 2023-08-09 20:00:47 +01:00
José Rebelo 942e853ca7 Prevent display of empty changelog 2023-08-09 19:37:27 +01:00
José Rebelo 3dc7fcad00 Update changelog 2023-08-09 17:57:44 +01:00
José Rebelo 180ed42ee1 Bangle.js: Handle fw and hw versions 2023-08-09 09:09:52 +01:00
José Rebelo a95820d09e Bangle.js: Fetch activity data 2023-08-08 22:11:14 +01:00
José Rebelo f97250d46b Upgrade ZeTime settings to androidx 2023-08-08 20:14:27 +01:00
José Rebelo f0067ebeae Upgrade Mi Band preferences to androidx 2023-08-08 20:10:05 +01:00
José Rebelo 61a78c0ad8 Move user name to about user preferences
- Remove from Mi Band prefs
- Remove fitness goal from mi band prefs - it's also un the about user
  section
- During pairing, direct user to the about user if there is invalid data
2023-08-08 20:10:05 +01:00
José RebeloandArjan Schrijver 99769702db Add margin to FM frequency picker preset buttons 2023-08-08 08:47:26 +00:00
José RebeloandArjan Schrijver 4688f7d43c Fix chart legend text color on dark theme 2023-08-08 08:47:26 +00:00
José RebeloandArjan Schrijver f67d33fb58 Set dialog title for canned messages 2023-08-08 08:47:26 +00:00
José RebeloandArjan Schrijver 88ebbdad7a Fix changelog background color to match dialog 2023-08-08 08:47:26 +00:00
José RebeloandArjan Schrijver 3e1b6b2f4d Fix sport activity details header background color 2023-08-08 08:47:26 +00:00
José Rebelo 2bda160fb5 Bangle.js: Allow enable/disable alarms 2023-08-06 00:23:05 +01:00
José Rebelo 28783ce146 Replace long changelog word to prevent horizontal scroll 2023-08-05 09:35:12 +01:00
José Rebelo 0aa0f14e75 Amazfit T-Rex Pro: Add to list of supported devices 2023-07-29 11:29:56 +01:00
José Rebelo 2d7a6b80eb Migrate Loyalty Cards preferences to AbstractSettingsActivityV2 2023-07-28 22:47:39 +01:00
José Rebelo fe95d9aaa8 Fix disable log preference if log file not initialized
Regression introduced by 01b457895
2023-07-28 21:31:48 +01:00
José RebeloandJosé Rebelo f3c74267c5 Set OpenTracks selection spinner to current package 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo 47a757bd91 Set default name for database export file 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo f9ef3f47ab Extract Pebble and HPlus settings to standalone activities 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo e068bfdb75 Fix crash when acquiring location 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo e9af9d9b4a Disable reserved icon space for all settings 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo db112cc90a Reformat preferences.xml 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo 12b5ec8415 Upgrade Settings to androidx
- Extend AbstractSettingsActivityV2
- Replace all checkbox preferences with switch preferences
- Add app:useSimpleSummaryProvider to all preferences that were in getPreferenceKeysWithSummary
- Add null checks on all prefs to fix crashes in nested preference screens
- Replace listeners with lambdas to reduce code indentation
- Set input type to number where relevant
2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo f4b059f173 Introduce AbstractSettingsActivityV2
This class introduces some of the common logic across preference
screens, handling nested PreferenceScreens, as well as the back button
and action bar title setting.
2023-07-28 20:21:53 +00:00
José Rebelo 597373f126 Allow filtering notifications from work profile apps 2023-07-28 18:53:50 +01:00
José Rebelo 078d3e2a55 Make application list sorting case-insensitive 2023-07-28 18:50:02 +01:00
José Rebelo 48ee259d89 Bangle.js: Reorganize device settings 2023-07-27 18:38:15 +01:00
José Rebelo b1160c994a Update changelog 2023-07-26 18:25:11 +01:00
José Rebelo 4ad0c58c13 Bump schema version
Needed after the c1fd0b77ad rebase
2023-07-26 18:21:58 +01:00