1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 02:46:50 +01:00
A free and cloudless replacement for your gadget vendors' closed source Android applications. See the list for supported devices.
Go to file
Daniele Gobbetti cad777e4ce Pebble: always return the position after 10 tries. Fixes #643
This is a workaround for bugs in the javascript code of the configured watchfaces, that could fail to handle a returned failure properly and crash the webview / fill its stack.
2017-04-08 08:57:23 +02:00
.github Add some preliminary checks/links to the issue template 2017-03-29 08:53:13 +02:00
.tx Updated translations from transifex (#46) 2015-05-06 17:39:46 +02:00
app Pebble: always return the position after 10 tries. Fixes #643 2017-04-08 08:57:23 +02:00
config Update gradle to 3.0, gradle android plugin to 2.2-beta2 2016-08-26 22:27:17 +02:00
GBDaoGenerator HPlus: Fix deprecation warning 2017-01-10 13:44:32 +00:00
gradle/wrapper update grade for AndroidStudio 2.3 2017-03-03 09:27:56 +01:00
.gitignore More work on firmware detection, recognition and validation #234 2016-03-21 23:42:34 +01:00
.travis.yml travis trial and error 2017-03-03 17:40:52 +01:00
build.gradle Update build gradle dependency to 2.3.1 2017-04-06 23:57:24 +02:00
CHANGELOG.md Apply some Material design guidelines to the charts 2017-04-01 17:47:54 +02:00
CONTRIBUTORS.rst Updated contributors list 2017-02-21 22:52:06 +01:00
Get_it_on_F-Droid.svg.png run optipng on all pngs 2016-09-21 09:25:33 +02:00
gradle.properties Allow in-process dex with 2GB heap, as recommended 2016-05-08 21:39:55 +02:00
gradlew First checkin of actual code 2015-01-07 14:00:18 +01:00
gradlew.bat First checkin of actual code 2015-01-07 14:00:18 +01:00
LICENSE Initial commit 2015-01-06 00:19:03 +01:00
LICENSE.artwork update LICENSE.artwork 2015-12-29 20:45:37 +01:00
README.md Add links to the wiki sections next to supported devices line 2017-03-29 08:59:53 +02:00
settings.gradle Work towards using greenDAO #206 2016-03-28 23:18:23 +02:00

Gadgetbridge

Gadgetbridge is an Android (4.4+) application which will allow you to use your Pebble or Mi Band 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.

Build

Download

Gadgetbridge on F-Droid

List of changes

Supported Devices

Features (Pebble)

  • Incoming calls notification and display
  • Outgoing call display
  • Reject/hangup calls
  • SMS notification
  • K-9 Mail notification support
  • Support for generic notifications (above filtered out)
  • Support for up to 16 predefined replies for SMS and Android Wear compatible notifications (experimental, tested with Signal)
  • Dismiss individual notifications, mute or open corresponding app on phone from the action menu (generic notifications)
  • Dismiss all notifications from the action menu (non-generic 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, 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)

  1. Pair your Pebble through the Android's Bluetooth Settings or Gadgetbridge. Pebble 2 MUST be paired though Gadgetbridge (tap on the + in Control Center)
  2. Start Gadgetbridge, tap on the device you want to connect to
  3. 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.

  1. Configure other notifications as desired
  2. Go back to the "Gadgetbridge" activity
  3. Tap the Mi Band item to connect if you're not connected yet
  4. 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?

  1. Phone crashing during device discovery? Disable Privacy Guard (or similarly named functionality) during discovery.
  2. Open Gadgetbridge's settings and check the option to write log files
  3. Reproduce the problem you encountered
  4. Check the logfile at /sdcard/Android/data/nodomain.freeyourgadget.gadgetbridge/files/gadgetbridge.log
  5. 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.