1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00
Commit Graph

12416 Commits

Author SHA1 Message Date
Andreas Shimokawa
f77a60a14c Marstek B2500: add copyright header 2024-12-21 23:26:30 +01:00
Andreas Shimokawa
ef4743d554 Marstek B2500: decode more stuff and improve debug output
Known now:
- P1/P2 active (unclear yet if that means connected or actually outputting, will see in the night)
- Input in W from solar panels (Connector pairs 1+2)
- Output to inverter (Connector pairs 1+2)
2024-12-21 23:26:30 +01:00
Andreas Shimokawa
899f283a1b Marstek B2500: support battery pass-though, cleanups 2024-12-21 23:26:27 +01:00
Andreas Shimokawa
3ef6f092b3 Marstek B2500: allow setting and getting manual/automatic mode
we do not support the smartmeter though
2024-12-21 23:25:41 +01:00
Andreas Shimokawa
225ee7a248 Marstek B2500: set as experimental 2024-12-21 23:25:41 +01:00
Andreas Shimokawa
916368c05f Marstek B2500: support battery level display and reboot. Decode some more stuff 2024-12-21 23:25:41 +01:00
Andreas Shimokawa
f79930fad9 Marstek B2500: initial support
Supported
- setting the time
- setting/getting the minimum charge of the battery that shall remain
- setting/getting 5 time intervals with output wattage and enable/disable switch
- getting the firmware version

TODO:
- check if times overlap
- check if we can output less than 80W (offical app only supports 80-800)
- research about the "automatic mode"
- research about unknown values we get from the two info calls

This has been tested with Firmware V220
I only have a very brief capture of V210 which obviously had less feature. I tried to somehow support it but I am not sure
2024-12-21 23:25:38 +01:00
Arjan Schrijver
7ff1e87ea8 About screen: Copy build details on tap 2024-12-21 23:07:50 +01:00
Unpublished
31c85be5a0 Colmi R0x: Read charging state from battery notification 2024-12-21 18:57:48 +01:00
Jisakiel
416631e028 Cleanup unneeded imports & fix missing one on Casio 5600
Side effect of last minute fixes on it.
2024-12-21 00:29:37 +00:00
Jisakiel
326b01c296 fix byte errors flagged by intellij in Casio code
since byte is signed, 0x81 and 0xff go out of range and need explicit casts for equal comparisons to work.
2024-12-20 23:43:55 +00:00
Jisakiel
960a864ea0 Casio ECB-S100 support
Lightly refactoring gwb5600 as a starting base, since the commands supported etc seem pretty similar. Using as well https://github.com/izivkov/GShockAPI as further reference for what is supported (which I tested with the watch) and the same commands.
2024-12-20 23:43:55 +00:00
AndrewP
bac9c8b239 Activity icons for stretching, free training, outdoor walking and trail run 2024-12-20 13:59:59 +00:00
Sebastian Dröge
15fff6a38d Xiaomi: Parse max step rate in outdoor walking v2 parser for > v1 2024-12-20 13:26:13 +02:00
a0z
d6dee559f7 PAI fragment: update colors, replace piechart with gauge 2024-12-18 23:04:10 +00:00
Arjan Schrijver
2ec37fa77a Dashboard: Make today widget data loading more efficient 2024-12-18 23:30:59 +01:00
AndrewP
ae4079eb14 Max step rate for OutdoorWalkingV2Parser version 1 2024-12-18 21:41:25 +01:00
José Rebelo
f4bc2ed6af Zepp OS 3.5+: Fix notification vibration 2024-12-17 18:43:44 +00:00
José Rebelo
199a6835a2 Garmin: Add intensity minutes 2024-12-15 21:22:29 +00:00
Sebastian Dröge
396aa41647 Xiaomi: Add a comment about possible interpretation of unknown bytes in v5 freestyle activity parser
They're probably the same as for v8.
2024-12-15 20:39:27 +00:00
Sebastian Dröge
e9363ec51a Xiaomi: Parse configured time/calories goal for freestyle activity parser v5
They're parsed for other activities like this.
2024-12-15 20:39:27 +00:00
Sebastian Dröge
e249236873 Xiaomi: Parse more fields in freestyle activity parser for v8/9/10
Specifically: workout type, configured time/calories goal, workout load and vitality gain.
2024-12-15 20:39:27 +00:00
Martin.JM
600629e7ed Switch from kcal to cal in samples
This allows for higher precision in devices that support it.
2024-12-15 21:10:05 +01:00
Martin.JM
d807909b25 Huawei: Add calories support
These devices provide calories instead of kcal, which are rounded
per-sample, resulting in a slight difference from what is shown on the
device itself.
2024-12-15 21:08:49 +01:00
Sebastian Dröge
b31832a72e Xiaomi: Don't show heart rate avg/max/min duplicates of outdoor walking v2 in the UI 2024-12-15 15:16:02 +00:00
Sebastian Dröge
5781d5ac18 Xioami: Parse vitality gain and TRAINING_EFFECT_ANAEROBIC in outdoor walking v2 parser 2024-12-15 15:16:02 +00:00
Sebastian Dröge
0cdc0777c0 Xiaomi: Change recoveryValue to TRAINING_EFFECT_AEROBIC in outdoor walking v2 parser
That's how this value is treated elsewhere.
2024-12-15 15:16:02 +00:00
Sebastian Dröge
eb97208ca1 Xiaomi: Add a comment about possible interpretation of unknown bytes in v3 jump roping activity parser
They're probably the same as for v5.
2024-12-15 15:06:51 +00:00
Sebastian Dröge
8aac1f4f12 Xiaomi: Parse more fields for v5 jump roping parser
Specifically: aerobic training effect, recovery time, anaerobic training
effect, configured time/calories/jump goal, workout load and vitality
gain.
2024-12-15 15:06:51 +00:00
DeLoooping
59caecf717 fix calendar synchronization (#4403)
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4403
Co-authored-by: DeLoooping <cj-codeberg@loooping.de>
Co-committed-by: DeLoooping <cj-codeberg@loooping.de>
2024-12-14 15:53:55 +00:00
a0z
624deee7bc Sleep week fragment: resolve scroll issue 2024-12-14 16:39:48 +01:00
a0z
d1e19df3fe Sleep score: widget 2024-12-14 16:39:41 +01:00
José Rebelo
4374a61c40 TimeSampleProvider: Add getLatestSample(until) 2024-12-14 14:16:02 +00:00
José Rebelo
66457a76f9 Update protobuf to v4.29.1 2024-12-14 14:03:00 +00:00
dependency-bot
dc806c4226 Update android-emojify to v1.9.5 2024-12-14 14:01:58 +00:00
dependency-bot
c581aba998 Update androidx.camera to v1.4.1 2024-12-14 01:08:19 +00:00
Arjan Schrijver
c918765931 Fix app crash when switching between Android user profiles 2024-12-13 21:38:38 +01:00
Gordon Williams
839cbcd3e5 Bangle.js: Fix call notification in Turkish locale
Turns out toUpper/Lowercase use the current locale, so for Turkish, "INCOMING" turns into "ıncomıng" (the 'i' is different!)
2024-12-13 11:07:21 +00:00
José Rebelo
03eb303181 Garmin Fenix 7X: Initial support 2024-12-12 18:14:32 +00:00
Sebastian Dröge
43829d8f62 Xiaomi: Add support for parsing jump roping summary v5
It contains an extra unknown byte between the heartrates and heartrate
zone times.
2024-12-12 18:47:48 +02:00
José Rebelo
b754b595df Redmi Watch 5 Lite: Initial support 2024-12-11 22:47:11 +00:00
José Rebelo
a1d89e3e55 Amazfit Cheetah: Unmark as experimental (#4394) 2024-12-11 19:16:36 +00:00
AndrewP
cd7c7092b2 Xiaomi: Workout parser for jump roping (#4389)
workout parser for jump roping incl. new field names, units und a group

Co-authored-by: AndrewP <>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4389
Co-authored-by: AndrewP <andrewp@noreply.codeberg.org>
Co-committed-by: AndrewP <andrewp@noreply.codeberg.org>
2024-12-07 18:16:04 +00:00
Martin.JM
c5714746fb Huawei: Initial Freebuds (5i) support 2024-12-06 23:23:46 +00:00
a0z
55238f4ee9 AbstractActivityChartFragment: heart rate gap support 2024-12-07 00:10:31 +01:00
a0z
c4e44df2c4 Workout heart rate chart: line chart gap instead of drawing when no data for longer than max gap 2024-12-07 00:04:47 +01:00
a0z
1b78ebfad9 Heart rate fragment: line chart gap instead of drawing when no data for longer than max data gap 2024-12-06 23:40:19 +01:00
AndrewP
c01607dc06 Xiaomi: Outdoor Cycling and GPX fix for Smart Band 8 Active 2024-12-06 19:21:01 +01:00
José Rebelo
32109507d9 Xiaomi-protobuf: Fix RR parsing
Thanks to nic8 on matrix for the fix.
2024-12-06 16:45:58 +00:00
José Rebelo
69847c19ff Xiaomi-protobuf: Persist heart pulse samples 2024-12-06 16:45:54 +00:00