91b1464824
Replacing the top frame with a data-uri is forbidden since chromium-based-webview version 60. With this commit we swap the body with an iframe when needed. Old webviews work as usual also with this approach. No special treatment is needed for local storage as its usage is forbidden in data-uri iframes. Fixes #758 |
||
---|---|---|
.github | ||
.tx | ||
app | ||
config | ||
fastlane/metadata/android | ||
GBDaoGenerator | ||
gradle/wrapper | ||
.gitignore | ||
.travis.yml | ||
build.gradle | ||
CHANGELOG.md | ||
CONTRIBUTORS.rst | ||
Get_it_on_F-Droid.svg.png | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
LICENSE.artwork | ||
README.md | ||
settings.gradle |
Gadgetbridge
Gadgetbridge is an Android (4.4+) application which will allow you to use your Pebble or Mi Band or HPlus device without the vendor's closed source application and without the need to create an account and transmit any of your data to the vendor's servers.
Download
Supported Devices
- Pebble, Pebble Steel, Pebble Time, Pebble Time Steel, Pebble Time Round Wiki section about this device
- Pebble 2 (add the device from within Gadgetbridge!) Wiki section about pebble, most parts apply to Pebble 2 as well
- Mi Band, Mi Band 1A, Mi Band 1S Wiki section about this device
- Mi Band 2 Wiki section about mi band, some parts apply to mi band 2 as well
- HPlus Devices (e.g. ZeBand) Wiki section about this device
- Liveview
- Vibratissimo (experimental)
Features (Pebble)
- Incoming calls notification and display
- Outgoing call display
- Reject calls (optionally with predefined texts) / hangup calls
- SMS notification
- Support for generic notifications
- Support for up to 16 predefined replies for SMS and Android Wear compatible notifications (experimental, tested with Signal and Conversations)
- Dismiss individual notifications, mute or open corresponding app on phone from the action menu (generic notifications)
- Dismiss all notifications from the action menu (SMS and PebbleKit notifications)
- Music playback info (artist, album, track)
- Music control: play/pause, next track, previous track, volume up, volume down
- List and remove installed apps/watchfaces
- Install watchfaces and watchapps (.pbw)
- Install firmware files (.pbz) READ THE WIKI
- Install language files (.pbl)
- Take and share screenshots from the Pebble's screen
- PebbleKit support for 3rd Party Android Apps (experimental)
- Fetch activity data from Pebble Health
- Build-in support for Misfit and Morpheuz (experimental)
- Configure watchfaces / apps (limited compatibility, experimental)
Notes about Firmware >=3.0 (Pebble Time, updated OG)
- Gadgetbridge will keep track of installed watchfaces, but if the Pebble is used with another phone or another app, the information displayed in the app manager can get out of sync since it is impossible to query Firmware >= 3.x for installed apps/watchfaces.
Getting Started (Pebble)
- Pair your Pebble through the Android's Bluetooth Settings or Gadgetbridge. Pebble 2 MUST be paired though Gadgetbridge (tap on the + in Control Center)
- Start Gadgetbridge, tap on the device you want to connect to
- To test, choose "Debug" from the menu and play around
For more information read this wiki article
Features (Mi Band 1x)
- Discovery and pairing
- Mi Band notifications (LEDs + vibration) for
- Display live activity data (alpha)
- Incoming calls
- SMS received
- K-9 mails received
- Conversations messages
- Generic Android notifications
- Synchronize the time to the Mi Band
- Display firmware version and battery state
- Firmware update
- Heart rate measurement on demand and during sleep
- Synchronize activity data
- Display sleep data (alpha)
- Display sports data (step count) (alpha)
- Display live activity data (alpha)
- Set alarms on the Mi Band
Features (Mi Band 2)
- Discovery and pairing
- Mi Band notifications (Display + vibration) for
- Incoming calls
- SMS received
- K-9 mails received
- Conversations messages
- Generic Android notifications
- Synchronize the time to the Mi Band 2
- Display firmware version
- Firmware update (beta)
- Heart rate measurement on demand and during sleep
- Synchronize activity data (alpha)
- Set alarms on the Mi Band 2
How to use (Mi Band 1+2)
-
When starting Gadgetbridge the first time, it will automatically attempt to discover and pair your Mi Band. Alternatively you can invoke discovery manually via the "+" button. It will ask you for some personal info that appears to be needed for proper steps calculation on the band. If you do not provide these, some hardcoded default "dummy" values will be used instead.
When your Mi Band starts to vibrate and blink during the pairing process, tap it quickly a few times in a row to confirm the pairing with the band.
- Configure other notifications as desired
- Go back to the "Gadgetbridge" activity
- Tap the Mi Band item to connect if you're not connected yet
- To test, chose "Debug" from the menu and play around
Known Issues:
- The initial connection to a Mi Band sometimes takes a little patience. Try to connect a few times, wait, and try connecting again. This only happens until you have "bonded" with the Mi Band, i.e. until it knows your MAC address. This behavior may also only occur with older firmware versions.
- If you use other apps like Mi Fit, and "bonding" with Gadgetbridge does not work, please try to unpair the band in the other app and try again with Gadgetbridge.
- While all Mi Band devices are supported, some firmware versions might work better than others. You can consult the projects wiki pages to check if your firmware version is fully supported or if an upgrade/downgrade might be beneficial.
Features (Liveview)
- set time (automatically upon connection)
- display notifications and vibrate
Authors
Core Team (in order of first code contribution)
- Andreas Shimokawa
- Carsten Pfeiffer
- Daniele Gobbetti
Additional device support
- João Paulo Barraca (HPlus)
Contribute
Contributions are welcome, be it feedback, bugreports, documentation, translation, research or code. Feel free to work on any of the open issues; just leave a comment that you're working on one to avoid duplicated work.
Translations can be contributed via https://www.transifex.com/projects/p/gadgetbridge/resource/strings/ or manually.
Do you have further questions or feedback?
Feel free to open an issue on our issue tracker, but please:
- do not use the issue tracker as a forum, do not ask for ETAs and read the issue conversation before posting
- use the search functionality to ensure that your question wasn't already answered. Don't forget to check the closed issues as well!
- remember that this is a community project, people are contributing in their free time because they like doing so: don't take the fun away! Be kind and constructive.
Having problems?
- Phone crashing during device discovery? Disable Privacy Guard (or similarly named functionality) during discovery.
- Open Gadgetbridge's settings and check the option to write log files
- Reproduce the problem you encountered
- Check the logfile at /sdcard/Android/data/nodomain.freeyourgadget.gadgetbridge/files/gadgetbridge.log
- File an issue at https://github.com/Freeyourgadget/Gadgetbridge/issues/new and possibly provide the logfile
Alternatively you may use the standard logcat functionality to access the log.