Commit Graph

42 Commits (e80a4dd54d3ffaef769253fd2d9ff9f241546ec8)

Author SHA1 Message Date
Richard de Boer 0b76f7848e gbridge: respect Quiet Mode 2021-03-25 23:53:51 +01:00
Richard de Boer 427fd49fa3 gbridge: fix HRM setting
The settings menu didn't handle `undefined` value for `hrm` properly, so
you were unable to toggle it.
Fixed by forcing the value to a boolean.
2021-02-28 21:55:29 +01:00
Gordon Williams b5c7ded4b5 gbridge 0.20: Reduce memory usage 2021-02-11 09:57:34 +00:00
Gordon Williams 0e2f33d656 gbridge: 0.19: Support for call incoming/start/end 2021-02-11 09:45:50 +00:00
Gordon Williams 23aa25dbef tweaks - sort out activity handling when HRM=false (default), add README 2020-12-08 14:41:38 +00:00
Gordon Williams 9a3b203429 gadgetbridge: 0.18: Added reporting of step count and HRM (new Gadgetbridges can now log this) 2020-12-08 14:13:01 +00:00
Richard de Boer 6406788165 gbridge: Modified music notification for updated 'notify' library 2020-07-19 21:59:59 +02:00
Richard de Boer 8df352cca9 Add some sample GB() messages, for testing purposes 2020-07-19 21:54:25 +02:00
Richard de Boer 1b2f8e7404 gbridge: Nicer display of alarm clock notifications
My phone generates these events for alarms (even labelled ones):
{"t":"notify","id":1592721702,"src":"ALARMCLOCKRECEIVER"}
{"t":"notify-","id":1592721702} // when dismissing the alarm

This commit shows a nice alarm-clock icon and friendlier title instead,
but preserves event title/body if it is provided after all.

Lifted the icon from apps/alarm/app-icon.js
2020-07-07 21:41:24 +02:00
Richard de Boer a5f3118859 gbridge: Handle notify- events
So dismissing notifications on the phone also clears them on the watch
2020-07-07 20:53:00 +02:00
Richard de Boer b172017f2e gbridge: Don't keep LCD on while playing music
Looks like this fell through during the 'notify' upgrade.
Some apps can keep the LCD pretty much awake all the time with
"position" updates.
2020-06-30 22:48:00 +02:00
Gordon Williams 77de51dac4 gadgetbridge: Added 'find' event handling 2020-06-05 11:21:52 +01:00
Gordon Williams 519262793d Added ability to specify dependencies (used for `notify` at the moment)
Gadgetbridge: Modified to use the 'notify' library
2020-06-04 15:19:37 +01:00
Richard de Boer 03246fdc85 gbridge: minor fixes
IDE kept complaining about unused constant & unsafe comparisons
2020-05-29 10:41:19 +02:00
Richard de Boer 855186f7c9 gbridge: improve settings handling
No need to keep them in memory after reload() is done
2020-05-29 10:37:44 +02:00
Richard de Boer fa692c4d8e gbridge: Fix setting to show/hide icon
Don't reload all widgets: just change this one and redraw
2020-05-29 00:05:26 +02:00
Richard de Boer 631abb812e gbridge: Add setting to show/hide icon 2020-05-28 23:27:10 +02:00
Ben Whittaker 9ebb718cc2 gbridge: report battery status more often
Make the gbridge widget report battery status
- every 10 minutes
- 2 seconds after a new bluetooth connection is initiated
2020-05-17 19:12:31 -04:00
Ben Whittaker 31e56b23ed Stop Gadgetbridge from ignoring initial message.
Gadgetbridge seems to ignore the first line sent to it after connecting.
This commit works around this by prepending each message with a blank line.
2020-05-17 19:12:31 -04:00
Gordon Williams a4ec9965ba Make widget play well with other Gadgetbridge widgets/apps 2020-04-16 10:31:59 +01:00
Gordon Williams f890227b61 gbridge: 0.09: Update Bluetooth connection state automatically 2020-04-15 10:53:03 +01:00
Richard de Boer 1bea7a450e gbridge: don't turn on screen at start of every song
Do draw the notification, so you can still look up what is playing.
2020-04-07 22:08:29 +02:00
Richard de Boer 27c02f05e4 Gadgetbridge: move config to settings menu
gbridge: remove `gbridge.app.js` from `apps.json`

This file no longer exists, so don't mention it anymore.
2020-04-06 21:52:56 +02:00
Gordon Williams 86ab3706ea Gadgetbridge App 'Connected' state is no longer toggleable 2020-04-03 13:42:31 +01:00
Gordon Williams 155270f668
Merge branch 'master' into call-notifications 2020-04-03 13:25:38 +01:00
Michael Werner 9692204ce0 Bump Gadgetbridge version to 0.05 2020-04-02 21:20:56 +02:00
Michael Werner 792e79c3a8 Gbridge: Limit title length
Some group chats like in whatsapp have really long title as they consist of group chat name + person name
2020-04-02 21:20:56 +02:00
Michael Werner 8468899a80 Fix indention 2020-04-02 21:20:56 +02:00
Michael Werner 0af2cb7a6f Gbridge: change animation timeout
a litte bit slower animation looks more fluent
2020-04-02 21:20:56 +02:00
Simon Weis d60af1dabd Remove lost break 2020-04-02 20:40:56 +02:00
Simon Weis 63d4dbb101 Inline variables and restore notification code 2020-04-02 20:36:58 +02:00
Simon Weis e8138d1665 Documents gadgetbrigde protocol 2020-03-31 22:13:21 +02:00
Simon Weis 33a88627d9 Fix music notifications 2020-03-28 13:30:13 +01:00
Simon Weis b7b5d6764b Adds gbridge call notification and refactor widget 2020-03-28 13:12:59 +01:00
Malik Enes Şafak d8b782809a
Delete duplicate Changelog file
This file is duplicate of apps/gbridge/ChangeLog file
2020-03-18 20:06:37 +03:00
Gordon Williams e0d29c81f2 Big refactor #2 - variable width widgets 2020-03-05 13:15:27 +00:00
Gordon Williams a772280871 Add ChangeLog checking 2020-03-05 13:15:03 +00:00
Gordon Williams 50e3c852fb MASSIVE REFACTOR
New Bangle.js firmwares remove 8 char name restriction so we're ditching the first char -> file type and using normal file extensions
Took the opportunity to remove code for older Bangle.js (since the new stuff won't work anyway)
Also removed the need for an 'app.json' - it's now renamed 'app.info' on the watch, and we just auto-generate it
Renamed a few apps so widgets all start with 'wid'
2020-02-28 11:44:25 +00:00
Gordon Williams 899579e1b1 gadgetbridge widget now shows connection state (fix #77) 2020-02-12 14:44:55 +00:00
ra100 65634ecccb
gbridge: increase contrast 2020-02-10 12:44:22 +01:00
Gordon Williams 6d15ec14f0 Fix issue passing extra arguments to load() now we've allowed load to take an extra argument 2020-01-17 11:53:54 +00:00
Gordon Williams bcf0f80d29 add gadgetbridge app, plus ad versions 2019-12-05 14:48:36 +00:00