theironrobin / siglo

GTK app to sync InfiniTime watch with PinePhone
Mozilla Public License 2.0
153 stars 22 forks source link

Notifications #1

Closed muppeth closed 3 years ago

muppeth commented 3 years ago

Does siglo send notifications to the watch?

theironrobin commented 3 years ago

All Siglo does is update the time and disconnect, and soon it will be able to OTA update and disconnect. I don't know if I want to make it do things like stay synced to the phone at this point in time.

sirnewton01 commented 3 years ago

I wondered about this myself. Maybe gnome/kde could plug in bluetooth gatt notifications into their notification systems directly.

theironrobin commented 3 years ago

I was thinking some kind of daemon code that keeps running in the background. when it picks something up on the dbus (gnome or kde notification) it simply takes the text and pushes it to the connected pinetime.

sirnewton01 commented 3 years ago

Having done something with free desktop notifications recently (long story: my kids needed a thing that would indicate their difference recess times) one problem that you might face is that those notifications are removed from dbus by the desktop environment's notifier. So, by the time my program tried to get the notifications they were gone. Maybe I did something wrong or could have done something different, but I think that in this case there can only be one consumer (many producers) of the desktop notifications. I got around it by killing the built-in notifier before running my program.

sirnewton01 commented 3 years ago

I can't wait to give this a try. Thank you!

sirnewton01 commented 3 years ago

This is working great so far.

theironrobin commented 3 years ago

good to hear, how does it hold up after suspend/resume cycle?

On Saturday, May 1, 2021, 5:44:40 PM CDT, Chris McGee ***@***.***> wrote:  

This is working great so far.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub, or unsubscribe.