Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Shimokawa 95c1cf770d Pebble: Support TrekV3Reworked watchface natively
(for @izzy)
2026-06-14 12:30:53 +02:00
Andreas Shimokawa 7d9cb26d02 Pebble: pass dev_settings=true to rebble store url, do enable pbw downloads in browser 2026-06-05 10:19:52 +02:00
Andreas Shimokawa 467b58edf3 Pebble: fix sending config to watchfaces 2026-03-01 10:14:42 +01:00
Andreas Shimokawa 7f3eec47ec Pebble: Fix crash when returning from exernal website from browser application. 2026-02-28 19:49:40 +01:00
Andreas Shimokawa 7d0ee3e93b Pebble: Prepare for Pebble Time Round 2
(This also corrects model strings send to the javascript configuration interface for Pebble 2 Duo and Pebble Time 2)
2026-01-04 18:24:38 +01:00
Andreas Shimokawa 25cb04c63f Initial support for Garmin Forerunner 920
(Ich just worked after a87ddbb66a)
2026-01-01 12:47:21 +01:00
Andreas Shimokawa b2c3f9376e Zendure SolarFlow: Support battery bypass modes
Not sure how exactly this works yet
2025-12-27 12:28:56 +01:00
Andreas Shimokawa 752c201425 widget_info.xml : add missing android: prefix 2025-12-27 01:18:31 +01:00
Andreas Shimokawa 29beb6bf5f Zendure Solarflow: support always on display setting
(rename previous devicesettings_always_on_display.xml to devicesettings_always_on_display_mode.xml)
2025-12-27 01:16:52 +01:00
Andreas Shimokawa 49469e0050 update changelog 2025-12-25 23:01:05 +01:00
Andreas Shimokawa 5a700f7ed9 add icon to solar panel peak W config items 2025-12-25 22:44:48 +01:00
Andreas Shimokawa b553704376 Zendure SolarFlow: fix reading min/max charge from device
add icons for settings of those also
2025-12-25 22:35:40 +01:00
Andreas Shimokawa b3e5608dd2 Marstek B2500/Zendure Solarflow: Allow setting panel peak values to be honored by the SolarEquipmentStatusActivity
This gets rid of hardcoded 380Wp :P
2025-12-25 22:10:02 +01:00
Andreas Shimokawa d01b6bb844 Zendure SolarFlow: support off grid mode settings 2025-12-25 20:16:03 +01:00
Andreas Shimokawa 0bed5563c4 Zendure SolarFlow: sync setting from device to prefs when connecting 2025-12-25 20:15:40 +01:00
Andreas Shimokawa 73b20db4e5 Zendure SolarFlow: allow setting target power to grid 2025-12-25 20:15:38 +01:00
Andreas Shimokawa 8f866a4773 Zendure SolarFlow: show off-grid AC power as Power Output 2 in status activity (Output 1 is to grid) 2025-12-25 20:15:03 +01:00
Andreas Shimokawa db92b58083 Zendure SolarFlow: parse firmware version, allow setting maximum charge 2025-12-25 20:15:03 +01:00
Andreas Shimokawa 897647175c Zendure Solarflow: allow setting minimum battery charge level
(yay, it works, now we can add some more settings!)
2025-12-25 20:15:03 +01:00
Andreas Shimokawa 33e7423406 Marstek B2500: set panel 3+4 to -1W to make the status activity remove it 2025-12-25 20:15:03 +01:00
Andreas Shimokawa 05b9e6cdc5 Add iniital exprimental support for Zendure SolarFlow devices (so far only reads a few values)
Also generalizes the SolarEquipmentStatus activity to share with Marstek B2500
2025-12-25 20:14:58 +01:00
Andreas Shimokawa 538f16d210 map Schildichat to Element notifications 2025-12-23 16:14:17 +01:00
Andreas Shimokawa 76a844eb8a Pebble: Support Signal icon with 2025 models 2025-12-20 19:42:41 +01:00
Andreas Shimokawa f765c70971 ATC_BLE_OEPL: fix support for WO 260 BWRY JD V2 2025-12-09 11:03:41 +01:00
Andreas Shimokawa 168fad9b9d bump version, update changelog 2025-12-07 00:20:45 +01:00
Andreas Shimokawa 9183714880 Pebble: support the new element icon on firmware 4.9.x and add contants for all recently added ones
Also remove RIOT (previously ELEMENT, no longer works), unify ELEMENT and ELEMENTX which do not deserve its own Type.
2025-12-07 00:07:40 +01:00
Andreas Shimokawa 6069842fb4 Pebble: remove unused function (was used for firmware 2.x) 2025-11-20 18:54:12 +01:00
Andreas Shimokawa 15d8ceea8a Pebble: Map cloudy weather icons in system weather app (on fw 4.x) 2025-11-20 18:32:55 +01:00
Andreas Shimokawa 6959f7655e Pebble: Support multiple weather location with system weather app (on fw 4.x) 2025-11-19 20:43:15 +01:00
Andreas Shimokawa 30ed0ea861 Pebble TrekVolle: Show night icon if appropriate 2025-11-09 12:20:43 +01:00
Andreas Shimokawa c31f4e7c82 Pebble TimeStyle: support night icons finally 2025-11-09 09:52:27 +01:00
Andreas Shimokawa f898eb912c Penble 2: Fix crash (regression) 2025-11-06 20:17:09 +01:00
Andreas Shimokawa da7c7181f1 Pebble: support fetching debug logs
Those are only displayed in logcat. And really disappointng

Guess I need to build a debug firmware to figure out why this is so.
2025-11-03 12:13:06 +01:00
Andreas Shimokawa fd2627caee Pebble 2 Duo: Fix getting inital battery level (for the rest still rely on datalog 2025-11-02 13:06:36 +01:00
Andreas Shimokawa 876f5c8050 Pebble 2 Duo: request battery level though battery service when connecting
Also cleanup code a bit.

Problem is that the battery level vanishes for some reason after being displayed for a split second
2025-11-02 12:27:15 +01:00
Andreas Shimokawa d0c9878934 Pebble 2/Duo: Fix random crash on disconnect. 2025-11-02 07:57:08 +01:00
Andreas Shimokawa d5d21f531c Do not open discovery activity for new installs, there is the + button, and previously that was only for Android 6 an earlier anyway 2025-11-02 07:43:59 +01:00
Andreas Shimokawa ae0aa6df63 Pebble 2 Duo: react to MTU changes though the official BLE way 2025-11-02 07:38:45 +01:00
Andreas Shimokawa 75035f26c3 Pebble: Remove firmware 1.x and 2.x support
All pebbles ever released support Firmware >=3.x
And it got really old by now
2025-10-31 13:58:28 +01:00
Andreas Shimokawa 25cc9294be Pebble: bump app version to report to pebble to 4.4.2 (last official)
Also change magic values to actual flags for protocol caps
(looked up in libpebble3)
2025-10-31 12:55:15 +01:00
Andreas Shimokawa 0ab9cacd7f Pebble 2 Duo: prefer flint/ and diorite/ folders over aplite/ when installing apps
(Elso only OG binaries will be insalled which make TimeStyle for example much worse)
2025-10-31 11:26:52 +01:00
Andreas Shimokawa 9f751725e9 remove unneccessary checks for Android M 2025-10-30 22:12:47 +01:00
Andreas Shimokawa be23263a16 Pebble: small code cleanup 2025-10-30 22:06:49 +01:00
Andreas Shimokawa c722170b76 Pebble Time 2: recoginze as obelix 2025-10-30 19:27:52 +01:00
Andreas Shimokawa 0698380a1d Pebble 2 Duo: allow activating health 2025-10-30 18:35:04 +01:00
Andreas Shimokawa 09a99f934a use native method of setting MTU on Pebble 2 Duo 2025-10-30 17:40:11 +01:00
Andreas Shimokawa 346bb208d5 Pebble: try to fix pebble time regession 2025-10-30 16:54:38 +01:00
Andreas Shimokawa ba0647b9dd recognize Pebble 2 Duo hw rev code as asterix
Firmware update works!!!!
2025-10-30 15:51:15 +01:00
Andreas Shimokawa 9c5980617d Pebble: Make connection to new Pebble 2 Duo work in recovery mode
This is just a first hack, it is unclear how to deal with MTU etc yet.
I was able to pair and connect after some tries, which is better than nothing
2025-10-30 15:03:50 +01:00
Andreas Shimokawa b054bc62a4 README: do not mention Android version. Remove Pebble, Mi Band mention, more generic wording 2025-09-22 12:03:32 +02:00
Andreas Shimokawa 74a0b391a9 remove lollipop version guard 2025-09-22 11:58:21 +02:00
Andreas Shimokawa 76102a3f4e README: move stuff around again 2025-09-14 12:36:19 +02:00
Andreas Shimokawa 2b9417de85 link "get it on codeberg" to release page, move rb badge 2025-09-14 12:34:23 +02:00
Andreas Shimokawa 6df6e741da add rb badge 2025-09-14 12:32:21 +02:00
Andreas Shimokawa 3b900f3aef ATC_BLE_OEPL: add support for WO 260 BWRY JD V2 2025-08-20 16:46:22 +09:00
Andreas Shimokawa 6de321239f Fossil: when fetching activity, Do not calculate CRC32C which is never used 2025-07-22 00:45:45 +02:00
Andreas Shimokawa a490288b14 Fossil Hybrid HR: some code cleanups 2025-07-21 23:36:12 +02:00
Andreas Shimokawa f5642092c8 ATC_BLE_OEPL: Fix keeing aspect in some cases 2025-07-07 21:36:45 +02:00
Andreas Shimokawa e1c3bf3e64 ATC_BLE_OEPL: use printer icon 2025-07-07 14:40:39 +02:00
Andreas Shimokawa 6a04734f9c ATC_BLE_OEPL: apply dithering using PnnLABQuantizer
This involves making PnnLABQuantizer::dither public and abusiung it to be able to use dithering with a predefined palette
2025-07-07 10:56:13 +02:00
Andreas Shimokawa 165a78f99c ATC_BLE_OEPL: Keep aspect ratio when scaling 2025-07-05 15:13:01 +02:00
Andreas Shimokawa ed5de171e8 ATC_BLE_OEPL: support newly added HS 260 BWRY JD (needs firmware V105) 2025-07-04 19:18:42 +02:00
Andreas Shimokawa b4277e7bd2 ATC_BLE_OEPL: Support black/white/yellow displays 2025-07-04 02:34:47 +02:00
Andreas Shimokawa b0bb0f0eb5 Rename ATC_TLSR_Paper to ATC_BLE_OEPL
It seems the old github repo is named ATC_TLSR_Paper, but the firmware (without published source) we use now is called ATC_BLE_OEPL

At least the author calls it ATC_BLE_OEPL now

https://www.youtube.com/watch?v=9oKWkHGI-Yk
2025-07-03 23:57:54 +02:00
Andreas Shimokawa 7e7f554045 ATC_TLSR_Paper: support enabling/disabling oepl protocol, fix setting BLE advertising interval 2025-07-03 20:49:57 +02:00
Andreas Shimokawa c34885974a ATC_TLSR_Paper: support getting/setting the ble advertising interval 2025-07-03 15:36:17 +02:00
Andreas Shimokawa 34bde9ce30 bump gradle plugin 2025-07-03 14:56:14 +02:00
Andreas Shimokawa b610f7720f ATC_TSLR_Paper: support HS 154 BWRY JD
This sends a full configuration instead of a single id because it is not supported officially by the firmware it seems

Tested with 1.54 inch Hanshow Nebular Pro 154Q-N (200x200 px)
2025-07-02 22:54:42 +02:00
Andreas Shimokawa cb03fb18bf ATC_TSLR_Paper: allow setting the display type
This will reboot the system and load a preset from the firmware
Some displays still need tweaks which is not supported yet.
2025-07-02 21:31:13 +02:00
Andreas Shimokawa 30ccb07698 ATC_TSLR_Paper: scan also for service, to not interfere with Mijia devices 2025-07-01 18:10:12 +02:00
Andreas Shimokawa 125dd289a3 ATC_TLSR_Paper: Support firmware update 2025-06-30 14:03:50 +02:00
Andreas Shimokawa 0c2dad6f89 ATC_TLSR_Paper: Initial support
This is for epaper devices with a TLSR8359 chip, running a fork of openepaperlink that enables BLE

The firmware that has to be flashed is this one:

https://atc1441.github.io/ATC_BLE_OEPL.bin
(there seems to be no source for that)

It also has to be configured already to match your screen, so you should already see the openepaperlink screen on the device before using Gadgetbridge

Works:
- getting screen configuration
- sending images to epaper displays with black/white or black/white/red/yellow

TODO:
- allow configuration of screen type and parameters through Gadgetbridge
- firmware update
2025-06-30 12:25:25 +02:00
Andreas Shimokawa aabfd91cf8 update changelog, bump version 2025-02-23 13:51:16 +01:00
Andreas Shimokawa 66adda46ec Marstek B2500: fix inverted logic for connection 2025-02-23 13:47:13 +01:00
Andreas Shimokawa 038bada484 Marstek B2500: decode more values and show debug in dashboard, improve colors for gauge 2025-01-10 00:37:59 +01:00
Andreas Shimokawa a6e4adc442 Marstek B2500: Fix setting pass-through mode 2025-01-02 01:27:28 +01:00
Andreas Shimokawa e661a4661a Marstek B2500: decode more unknown values, display temperature values in activity 2025-01-02 00:15:07 +01:00
Andreas Shimokawa 151f633247 Marstek B2500: also display current battery change level in Wh, not only percentage 2024-12-26 13:31:37 +01:00
Andreas Shimokawa 122108ec6d Marstek B2500: Fix wrong gauge display for panel 2 and output 2 2024-12-25 11:52:27 +01:00
Andreas Shimokawa b83aeb0f35 fix typo
Signed-off-by: Andreas Shimokawa <shimokawa@fsfe.org>
2024-12-22 16:07:25 +01:00
Andreas ShimokawaandHosted Weblate 495fb01fd4 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (3459 of 3475 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2024-12-22 12:44:39 +01:00
Andreas Shimokawa 891db1eb96 add xml and fastlane changelogs 2024-12-22 12:22:14 +01:00
Andreas Shimokawa 2b56fb1307 Marstek B2500: improve gauges (show gray if a value is 0, not red or green) 2024-12-22 12:13:12 +01:00
Andreas Shimokawa 2dff32a4dc Marstek B2500: Improve initalization sequence to be more reliable 2024-12-22 12:06:00 +01:00
Andreas Shimokawa 1cd30c29c6 bump version update changelog 2024-12-22 00:03:27 +01:00
Andreas Shimokawa 4a2d09c4c8 remove some remaining lollipop checks 2024-12-21 23:59:35 +01:00
Andreas Shimokawa b220a2553c Marstek B2500: Remove duplicate logging, add copyright header 2024-12-21 23:26:30 +01:00
Andreas Shimokawa 6c8950209d Marstek B2500: add status activity which shows current inputs, outputs and charge level 2024-12-21 23:26:30 +01:00
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
Andreas Shimokawa de37e5b6fd bump version, add xml changelog 2024-11-11 23:29:47 +01:00
Andreas Shimokawa 1e0117727e fix xml 2024-10-29 11:49:59 +01:00
Andreas Shimokawa 3a152978d7 bump version, update changelog
trim changelog_master.xml to include changes for the last 2 years only
2024-10-29 11:45:00 +01:00
Andreas Shimokawa 4cc00144b6 bump version add xml and fastlane changelog 2024-06-28 16:54:30 +02:00
Andreas Shimokawa 7fe619c976 BLEScanService: Allow supported ScanSettings on Android API level 23 2024-03-25 10:34:44 +01:00