Huawei/Honor gadgets¶
List of supported Huawei and Honor gadgets:
Supported features¶
Support for Huawei and Honor devices was added in pull request #2462.
Note that not all devices have support for all features.
-
Set band settings
- Time
- Language
- Do not disturb
- Inactivity warnings
- Rotate wrist to switch info (only on some devices)
- Activate display on wrist lift
- Notification on bluetooth disconnect
- User information (height, weight, age, year of birth, gender)
- Enable measuring skin temperature (only on some devices, sync not yet implemented)
-
Alarms
- Including smart alarm (only on some devices)
- Retrieving alarms that were changed on the device1
- HR zones (static, configuring this is not yet implemented)
- Battery level synchronization
- Show notifications (has some bugs)
- Call notifications, with accept/reject (has some bugs on some devices, see this for more information)
- Music control
-
Activity synchronization
- Sleep synchronization (for TruSleep only begin/end time; no sleep stages)
- Step count synchronization
- Heart Rate synchronization (not supported by all devices)
- SpO2 synchronization (not supported by all devices)
-
Workout synchronization
Which data is actually present depends on device and workout type.- HR for workout
- speed
- step rate
- cadence
- step length
- ground contact time
- impact
- swing angle
- fore foot landings
- mid foot landings
- back foot landings
- eversion angle
- swim style (swimming, per segment)
- strokes (swimming, per segment)
- distance (swimming, per segment)
- swolf (swimming, per segment)
- stroke rate (swimming, per segment)
- calories
- cycling power
- altitude
- GPS track
- Find my phone (must be paired as companion device)
-
Weather support (not supported by all devices)
- Current weather
- Hourly forecast
- Daily forecast
- Sunrise/set
- Moonrise/set
- Phase of the moon
- Sending GPS from the phone to the band during workouts2
- Uploading watch faces
- Remote camera shutter support (limited functionality)
- Uploading music over Bluetooth (not supported by all devices)
- Calendar sync support (not supported by all devices)
- Contact sync support (not supported by all devices)
- Basic support for installing applications (limited functionality, not supported by all devices)
- See issue #4175 for more details
See the Specifics for Huawei and Honor devices for an overview of how the Huawei/Honor devices differ from other devices in Gadgetbridge.
Known issues¶
Open issues
Do not forget to check any other open issues in the project repository.
See the Specifics for Huawei and Honor devices for more details.
Not supported (yet)¶
- Sleep stages for TruSleep
- If your watch supports sleep without TruSleep enabled, it will show light/deep sleep when TruSleep is disabled. Not all watches support this.
- Tidal information support
- Stress measuring
- Starting a workout from GB
- Real time data
- Firmware operations (like updating)
- Band info screen selection (choice & order)
- Sending phone volume to the band (for the music control)
- Allow the user to set up their own HR zones
- Synchronizing skin temperature data
Note that this list is incomplete.
Pair without factory reset¶
As of pull request #3721 it is possible to pair a device with Gadgetbridge without factory reset after using the official app. For this, you need to get the Huawei account ID, a 17-digit number.
Through the website¶
On Firefox:¶
- Go to https://cloud.huawei.com/ and log in
- Press F12
- Go to the
Storage
tab in the newly opened view - If not selected, select
https://cloud.huawei.com/
under theCookies
header on the left (this should be selected by default) - In the
Name
column, look foruserId
. In theValue
column, you should see a 17 digit number. - Copy that key into your clipboard and jump to the next section to continue.
On Chrome/a Chromium based browser:¶
- Go to https://cloud.huawei.com/ and log in
- Press F12
- Go to the
Application
tab in the newly opened view - To the left under
Storage
, click the little downward arrow next toCookies
and open the cookie namedhttps://cloud.huawei.com/
- In the
Name
column, look foruserId
. In theValue
column, you should see a 17 digit number. - Copy that key into your clipboard and jump to the next section to continue.
On rooted phones¶
Run following command in a root shell. (e.g. Termux for on-device, or ADB for on-computer)
This should output something similar to this:
The account ID in this example would be 20007000023812345
.
Now, keep that key in your clipboard and jump to the next section to continue.
Without root¶
It has also been reported that the key is printed to logcat by the official app.
Use the adb logcat
command and search for huid=
, you should be able to find the value for the key.
Entering key¶
If you are currently on the "Device discovery" page, long press on the device name and click on "Auth key" to enter the key.
If you added the gadget already, touch the icon under your gadget name (while on the home screen) to go to the "Device specific settings", open the "Authentication" section, and click on "Auth key" to enter the key.
After entering your account ID, you should be able to connect to both the official app and Gadgetbridge without resetting the band every time.
Note that reconnecting to Gadgetbridge requires you to pair the device again - you can do this by disconnecting the device first, and then using the Add on the bottom-right corner of the home screen to pair the device again. You do not delete the device before you do this! Deleting the device will also delete the associated data!
Now you're ready to start using Gadgetbrigde!