mirror of https://github.com/espruino/BangleApps
Gbridge added troubleshooting section to README
parent
db4e2fa480
commit
d55417d90f
|
@ -52,3 +52,62 @@ Activity reporting
|
|||
You'll need a Gadgetbridge release *after* version 0.50.0 for Actvity Reporting to be enabled.
|
||||
|
||||
By default heart rate isn't reported, but it can be enabled from `Settings`, `App/Widget Settings`, `Gadgetbridge`, `Record HRM`
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
1. Switch to using one of the stock watch faces like s7clk or wave on a Bangle 2.
|
||||
|
||||
2. Check that the battery charge level is being seen by the Gadgetbridge App on the phone. This proves that data is getting to your phone.
|
||||
|
||||
### You can test the notifications on the Bangle
|
||||
|
||||
First disconnect from Gadgetbridge on your phone. Then connect
|
||||
through the IDE and enter the following code. You should get a pop
|
||||
up screen on your Bangle. This proves that the watch is correctly
|
||||
setup for notifications.
|
||||
|
||||
|
||||
GB({"t":"notify","id":1575479849,"src":"Hangouts","title":"A Name","body":"message contents"})
|
||||
|
||||
|
||||
NOTE: On a Bangle 2, this will fail if you have not installed 'Notifications Fullscreen'.
|
||||
|
||||
### Check that notifications are getting through to your Bangle
|
||||
|
||||
* Disconnect your Bangle from Gadgetbridge on your phone.
|
||||
* Connect through the IDE
|
||||
* Run the following bit of code
|
||||
|
||||
var log = [];
|
||||
function GB(d) {
|
||||
log.push(JSON.stringify(d));
|
||||
}
|
||||
|
||||
* Disconnect from the IDE
|
||||
* Connect your Bangle to Gadgetbridge
|
||||
* Call your phone to get a missed call
|
||||
* Disonnect your Bangle to Gadgetbridge
|
||||
* Connect through the IDE
|
||||
* Run the following bit of code
|
||||
|
||||
log;
|
||||
|
||||
If notifications are getting through then you should see something like.
|
||||
|
||||
|
||||
>log
|
||||
=[
|
||||
"{\"t\":\"call\",\"cmd\"" ... "r\":\"0191xxxxxxx\"}",
|
||||
"{\"t\":\"call\",\"cmd\"" ... "r\":\"0191xxxxxxx\"}"
|
||||
]
|
||||
|
||||
|
||||
IMPORTANT: Now reset your Bangle using a BTN3 long press so that the GB() function is restored.
|
||||
|
||||
## References
|
||||
|
||||
[Bangle Gadgetbridge Page](https://www.espruino.com/Gadgetbridge)
|
||||
|
||||
[Gadgetbridge Project Home](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Home)
|
||||
|
||||
|
|
Loading…
Reference in New Issue