Add connecting time-out or auto reconnect after failing to connect
#2271
Open
opened 1 year ago by Gar-onn
·
3 comments
No Branch/Tag Specified
Dikay900/steps_diagram
GalaxyBudsPro
HeadPhonesFunctions
Lightwars/TurnClocksForward
SystemEvents
TaaviE/build-versions
TaaviE/multi-device-support-clean
TranslatableVariants
TranslatableVariantsWithoutCode
Vebryn/csv-export
andyboeh/ble_reconnect_scan
atx/master
boun/runnerup
christian-n/master
combined
comradekingu/patch-3
cycling_sensor
dakhnod/beautify-device-information
dakhnod/fix-notification-removed
elagin/sleep_values_on_chart
fossil-hr-activity-fix
fossil-hr-custom-widgets
fossil-hr-on-device-confirmation
fossil-q-hr-html
fossilhr-activity-recognition
freeyourgadget_master
health-new-database
huami-sms-reply
ildar/patches/circleci
joserebelo/mi2-vibrate-only
lazarosfs/EnableBtOnConnect
led-profile
live-sensor-data
lucasgaley/master
master
menu-watchface
mi2-text-notifications
miband6-alipay
multi-device-support
multi-device-support-clean-2
mvallerie/custom_menu_miband2
nightly-branch
openTracksObserver-debug
osmand-experiments
plugdio/master
polarm400
release-0.11.x
rosenpin/master
thePanz/add-raw-data-support
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.10.0
0.10.1
0.10.2
0.11.0
0.11.1
0.11.2
0.12.2
0.13.0
0.13.1
0.13.2
0.13.3
0.13.4
0.13.5
0.13.6
0.13.7
0.13.8
0.13.9
0.14.0
0.14.1
0.14.2
0.14.3
0.14.4
0.15.0
0.15.1
0.15.2
0.16.0
0.17.0
0.17.1
0.17.2
0.17.3
0.17.4
0.17.5
0.18.0
0.18.1
0.18.2
0.18.3
0.18.4
0.18.5
0.19.0
0.19.1
0.19.2
0.19.3
0.19.4
0.2.0
0.20.0
0.20.1
0.20.2
0.21.0
0.21.1
0.21.2
0.21.3
0.21.4
0.21.5
0.21.6
0.22.0
0.22.1
0.22.2
0.22.3
0.22.4
0.22.5
0.23.0
0.23.1
0.23.2
0.24.0
0.24.1
0.24.2
0.24.3
0.24.4
0.24.5
0.24.6
0.25.0
0.25.1
0.26.0
0.26.1
0.26.2
0.26.3
0.26.4
0.26.5
0.27.0
0.27.1
0.28.0
0.28.1
0.29.0
0.29.1
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.30.0
0.31.0
0.31.1
0.31.2
0.31.3
0.32.0
0.32.1
0.32.2
0.32.3
0.32.4
0.33.0
0.33.1
0.34.0
0.34.1
0.35.0
0.35.1
0.35.2
0.36.0
0.36.1
0.36.2
0.37.0
0.37.1
0.38.0
0.39.0
0.39.1
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.40.0
0.40.1
0.41.0
0.41.1
0.42.0
0.42.1
0.43.0
0.43.1
0.43.2
0.43.3
0.44.0
0.44.1
0.44.2
0.45.0
0.45.1
0.46.0
0.47.0
0.47.1
0.47.2
0.48.0
0.49.0
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.50.0
0.51.0
0.52.0
0.53.0
0.54.0
0.54.1
0.55.0
0.56.0
0.56.1
0.56.2
0.57.0
0.57.1
0.58.0
0.58.1
0.58.2
0.59.0
0.59.1
0.59.2
0.59.3
0.6.0
0.6.1
0.6.2
0.6.3
0.6.4
0.6.5
0.6.6
0.6.7
0.6.8
0.6.9
0.60.0
0.61.0
0.62.0
0.63.0
0.63.1
0.64.0
0.65.0
0.66.0
0.67.0
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.8.0
0.8.1
0.8.2
0.9.0
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.9.6
0.9.7
0.9.8
Labels
activity data processing, import, export activity/health Android 12 android integrations bug charts developer documentation
Information for contributors device amazfit band 5
Amazfit Band 5 device amazfit bip device amazfit cor device Casio device fossil device gtr 2e device gts 2 mini device h30 device hplus device Huawei
Huawei honor device liveview device mi band device mi band 2 device mi band 3 device mi band 4 device mi band 5
Mi Smart Band 5 device mi band 6
Mi Smart Band 6 device no.1 f1 device pace device pebble device pebble 2 device pinetime infinitime device request device sony
Sony device support device watch 9 discussion documentation duplicate enhancement feature request Gadgetbridge
Gadgetbridge good first issue
good entry level issue for new contributors help wanted i am developing my own app can you help
no, sorry internationalisation
metric/imperial/celsius/fahrentheit... invalid needs work network companion app
ideas pool for a network enabled companion app no feedback not a bug notifications
ideas and improvements for notifications one of the 1000 issues about disconnection pairing/connecting potentially fixed / confirm and close question research security Solved, waiting for F-Droid release suggest to close
probably should/could close task user interface / UX weather wontfix
Apply labels
Clear labels
activity post processing
activity data processing, import, export activity/health Android 12 android integrations bug charts developer documentation
Information for contributors device amazfit band 5
Amazfit Band 5 device amazfit bip device amazfit cor device Casio device fossil device gtr 2e device gts 2 mini device h30 device hplus device Huawei
Huawei honor device liveview device mi band device mi band 2 device mi band 3 device mi band 4 device mi band 5
Mi Smart Band 5 device mi band 6
Mi Smart Band 6 device no.1 f1 device pace device pebble device pebble 2 device pinetime infinitime device request device sony
Sony device support device watch 9 discussion documentation duplicate enhancement feature request Gadgetbridge
Gadgetbridge good first issue
good entry level issue for new contributors help wanted i am developing my own app can you help
no, sorry internationalisation
metric/imperial/celsius/fahrentheit... invalid needs work network companion app
ideas pool for a network enabled companion app no feedback not a bug notifications
ideas and improvements for notifications one of the 1000 issues about disconnection pairing/connecting potentially fixed / confirm and close question research security Solved, waiting for F-Droid release suggest to close
probably should/could close task user interface / UX weather wontfix
No Label
activity post processing
activity/health
Android 12
android integrations
bug
charts
developer documentation
device amazfit band 5
device amazfit bip
device amazfit cor
device Casio
device fossil
device gtr 2e
device gts 2 mini
device h30
device hplus
device Huawei
device liveview
device mi band
device mi band 2
device mi band 3
device mi band 4
device mi band 5
device mi band 6
device no.1 f1
device pace
device pebble
device pebble 2
device pinetime infinitime
device request
device sony
device support
device watch 9
discussion
documentation
duplicate
enhancement
feature request
Gadgetbridge
good first issue
help wanted
i am developing my own app can you help
internationalisation
invalid
needs work
network companion app
no feedback
not a bug
notifications
one of the 1000 issues about disconnection
pairing/connecting
potentially fixed / confirm and close
question
research
security
Solved, waiting for F-Droid release
suggest to close
task
user interface / UX
weather
wontfix
Milestone
Set milestone
Clear milestone
No items
No Milestone
Assignees
Assign users
Clear assignees
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
This issue currently doesn't have any dependencies.
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Before requesting a new feature, please confirm the following:
Your wearable device is:
Mi-band 5
HW: v0.44.18.2
FW: 1.0.2.58
Your android version is:
10
Moto G8
Your Gadgetbridge version is:
0.56.1
Issue:
After wandering too far from my phone, my MiBand loses its connections and won't connect for hours until I manualy disconnect en reconnect it. It get's stuck in the 'connecting' state.
This appears to happen with my girlfriend's phone as well.
I see the exact same behaviour daily using Gadgetbridge 0.58.0 and Samsung A70 running Android 10.
In addition, this issue looks like it's closely related to #877, if not a duplicate.
I have been using Gadgetbridge for about two years, and have experienced this same issue (on nearly a daily basis) across all versions over that time period, with two different Amazfit watches. This would be a huge quality of life improvement if the app would timeout and attempt a reconnect if it is stucking in either "Connecting" or "Activity Fetching" states for more than 30 seconds. As others have noticed, this problem appears to be brought on primarily, by walking far enough away from the phone to cause a disconnect, though this does not seem to be the only cause, but it may be that I simply blocked the antenna or something causing a disconnect.
Same thing with my Amazfit Neo