Commit Graph
100 Commits
Author SHA1 Message Date
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
Andreas Shimokawa 668ed5ab71 update changelogs, bump version 2024-03-25 09:46:40 +01:00
Andreas Shimokawa 8d6110e9b3 update changelog again 2024-02-22 17:49:36 +01:00
Andreas Shimokawa 59dcea5d94 bump version, update changelogs 2024-02-22 13:38:22 +01:00
Andreas Shimokawa 8b9462f521 fix tests 2024-02-12 18:31:48 +01:00
Andreas Shimokawa 5b804bfb17 update changelogs, bump version 2024-02-12 15:36:50 +01:00
Andreas Shimokawa baaee8f589 update fastland and xml changelog 2024-01-14 22:55:22 +01:00
Andreas Shimokawa aae820a6e7 make changelog smaller, bump version 2024-01-14 22:42:05 +01:00
Andreas Shimokawa 177fa56bb9 Pixoo: Quick hack to "install" any image on the pixoo 2023-12-26 20:38:13 +01:00
Andreas Shimokawa f4d7a6b490 Pixoo: implement sending bitmaps
Not really used right not - mapped to "test new functionality"
2023-12-26 01:14:16 +01:00
Andreas Shimokawa 4f75141d76 pixoo: add missing settings xml file 2023-12-20 15:05:23 +01:00
Andreas Shimokawa 81c9aa5faf Pixoo: support "clap hands to turn off screen" and "sleep after silence" settings
Also fix crc calculation :P
2023-12-19 21:08:25 +01:00
Andreas Shimokawa 198800e087 Pixoo: Decode alarms from device, support sending alarms
This is probably not quite right yet.

Also we need to properly chunk incoming protocol messages before decoding them
2023-12-19 10:58:49 +01:00
Andreas Shimokawa ea0817f7b6 Use TextUtils.join intead of String.join, to make at least the linter happy
It is not clear to me if this would get desugarized anyway, but linter says needs API 26
2023-12-16 19:37:40 +01:00
Andreas Shimokawa c58d45423e bump version, update fastlane and xml changelog 2023-12-16 18:28:01 +01:00
Andreas Shimokawa b4aca410b4 Pixoo: implement some protocol for testing 2023-12-07 21:07:52 +01:00
Andreas Shimokawa b44b0fec7e Divoom Pixoo: Initial experimental support
Works:
- notifications
- call notification
- set time
- setting brightness
- setting 24h/12h format
- sending weather

Note
- this is implemented using using the classic bluetooth serial protocol, the
  device can do BLE, but I don't know how to use it, as I did not have the
  offical app to sniff.
- The information about the protocol comes from here
  https://github.com/jfroehlich/node-p1x3lramen/blob/main/source/devices/pixoo.js

TODO:
- Enable beep? Possible? I heard it beep once at least when switching it on
- Getting out of factory mode? Why does it always play animations even when I
   switch to the clock?
- Implement switching modes (can be done with the button)
- Implement sending own images and animations
- Firmware update?
- ...
2023-12-06 15:56:18 +01:00
Andreas ShimokawaandJosé Rebelo 776346d311 Xiaomi: guard against null pointer crash 2023-12-05 18:20:02 +00:00
Andreas Shimokawa 1b2a9ac140 Xiaomi: When sending contacts, use correct command to replace the ones already on the watch 2023-12-01 20:07:32 +01:00
Andreas Shimokawa 81e24e53ed Xiaomi: WIP implementation for sending contacts
This is not useful yet because contacts just get added when sending them, instaed of replacing.
Should be fixed or disabled before the release
2023-12-01 12:40:53 +01:00
Andreas Shimokawa 6e5bedb365 Xiaomi: Implement Screen On on Notification setting
Works on Redmi Watch 3 Active
Does not work on Mi Watch Lite
2023-12-01 07:52:08 +01:00
Andreas Shimokawa 6f2876fa66 Mi Watch 3 Lite: Fix firmware update
(not enabled yet)
2023-11-26 00:22:37 +01:00
Andreas ShimokawaandJosé Rebelo 84cf8efb59 Redmi Watch 3 Lite: Initial support
This is just using mi band 8 code, some feature work
2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo 50f086b03a Xiaomi: Implement daily forecast
Works on Mi Watch Lite
2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo e2f60b38c9 Xiaomi: fix NPE when no air quality is available 2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo 0e3e406320 Xiaomi: Send AQI
Todo: map to strings
2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo 9749716c23 Xiaomi: add two more fields to current weather (seen on Mi Band 8) 2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo 929ea7ae57 Xiaomi: Implement sending current weather
TODO: Support °F, find out about unknown values

Tested on Mi Watch Lite
2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo 27fba50283 Xiaomi: move emoji conversion to base class
This works on Mi Watch Lite from FW 4.1.12
2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo cef4b62458 Mi Watch Lite: enable install handler
Does not work as is because we do not recognize watchfaces and firmware yet
2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo 9ea7b48e0c Xiaomi: Add outdoor running subtype to enum. 2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo 7a3139fce0 Xiaomi: remove call notification if call has been taken on the phone or rejected, ended.
For in-call notification if those exist, it would not work.
2023-11-25 21:16:53 +00:00
Andreas ShimokawaandJosé Rebelo fce2dfa0ca Xiaomi: fix incoming calls on Mi Watch lite (shoud not break Mi Band 8) 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo b09879dd31 Mi Watch Lite: disable some features that do not exist on the watch 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo 9e1a6ca76a Xiaomi: change order of enabling notifications 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo cd2d7d144e Xiaomi: Fix unencrypted support again 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo 01a552e0f7 Mi Watch Lite: Do not set firmware version to ... during connect 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo 7de94432d0 Mi Watch Lite: authenticate via use XiaomiAuthService, handle subtype 5 send user id reply
This makes device info and battery status work since AuthService calls phase2Initialize()
2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo a19318c5bd Mi Watch Lite: more small fixes for non-encrypted path 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo b103b4f3e4 Mi Watch Lite: fix unencrypted support after refactoring common Xiaomi code 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo 84dff5b8df fix initialization 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo cdef620700 Mi Watch Lite: use xiaomi protobuf for sending user id 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo d3fa3e2c05 Xiaomi Protocol: Add userId auth command 2023-11-25 21:16:52 +00:00
Andreas ShimokawaandJosé Rebelo 7803581922 Mi Watch Lite test based on miband 8 branch
very much wip
2023-11-25 21:16:52 +00:00
Andreas Shimokawa dbb47351dd Fix a crash (I have that with a device I am working on) 2023-10-08 21:27:19 +02:00
Andreas Shimokawa 294d45f6c3 add Bip U Pro to README 2023-09-16 23:00:55 +02:00
Andreas Shimokawa c86c7c59f4 bump version, update changelogs 2023-09-16 22:58:50 +02:00
Andreas Shimokawa 7420899bb9 remove some stuff too technical from changelog 2023-09-02 12:39:52 +02:00
Andreas Shimokawa 21be98ab23 update changelogs 2023-09-02 12:28:24 +02:00
Andreas Shimokawa 3124c8ebba try to fix woodpecker build 2023-08-10 10:30:31 +09:00
Andreas Shimokawa 932249f148 bump version, add changelog 2023-07-07 21:08:53 +02:00
Andreas Shimokawa 0f7fa75931 add changelogs, bump version 2023-06-30 13:06:00 +02:00
Andreas Shimokawa 0286559100 remove lgtm.com, it's dead. 2023-06-21 20:16:01 +02:00
Andreas Shimokawa f8d06708e1 make CheckBoxPreference a SwitchPreference for reconnect settings 2023-06-21 19:32:02 +02:00
Andreas Shimokawa 2acf903759 update changelog 2023-06-14 17:50:48 +02:00
Andreas Shimokawa f80b873866 Prefs: make allow high MTU default to true.
It is 2023, it should work, if not it can be turned off.

For newer devices with big firmwares and apps (like Mi Band 7), people just wonder how slow Gadgetbridge installs stuff...
2023-06-14 16:44:51 +02:00
Andreas Shimokawa 55e7f6595b fix build after rebase 2023-05-21 22:50:52 +02:00
Andreas Shimokawa 9ccd898d42 add supportNavigation() to cooridinator 2023-05-21 22:50:52 +02:00
Andreas Shimokawa e7c048551f Infinitime: Fix icon mapping 2023-05-21 22:50:52 +02:00
Andreas Shimokawa 4cad3b3837 InfiniTime: support navigation app 2023-05-21 22:50:52 +02:00
Andreas Shimokawa 93b9ee735c add missing file 2023-05-21 22:50:52 +02:00
Andreas Shimokawa d7e2f1ff8c make use of onSetNavigationInfo() in osmand receiver.
This is not implemented anywhere, purely preparing for further experiments
2023-05-21 22:50:52 +02:00
Andreas Shimokawa 48dee7486f add onSetNavigationInfo() to device interface 2023-05-21 22:50:52 +02:00
Andreas Shimokawa 6379036559 subscribt to voice info also 2023-05-21 22:50:52 +02:00
Andreas Shimokawa 0d1a1f8a9f experiment with osmand
add osmand license note to readme
Cleanup unneeded aidl and java
2023-05-21 22:50:52 +02:00
Andreas Shimokawa a61c9391a4 bump version, update changelogs 2023-05-10 15:27:31 +02:00
Andreas Shimokawa 4f34725656 add changelog, bump version 2023-02-21 16:39:30 +01:00
Andreas Shimokawa d07fec33ca SoFlow SO6: Add light command and request lock state 2023-02-21 16:09:23 +01:00
Andreas Shimokawa 4bd8c20a6d SoFlow SO6: few cleanups and more testing 2023-02-21 16:09:23 +01:00
Andreas Shimokawa 74517f12a3 SoFlow SO6: First working lock&unlock
needs key
2023-02-21 16:09:23 +01:00