theironrobin / siglo

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

Host service daemon #91

Open uniformbuffer opened 3 years ago

uniformbuffer commented 3 years ago

Hi, recently i have started to write a generic daemon to make possible to interact with bluetooth services; my use case is a Pinephone PostmarketOS with the Pinetime (i have not tested it in a flatpak environment). Some days ago i have noticed in a PR where there was expressed the desire to have a service daemon. I was wondering if maybe the daemon i have made could be useful to the Siglo project. It is written in pure python and it use only dbus for service interaction and gobject for the event loop. I have managed to interact correctly with near every service the Pinetime (InfiniTime) exposes and i'm currently working to figure out the best way to handle device reconnection. You can find the code and a table of the working features at https://github.com/uniformbuffer/pinetime_service . Even if i (temporary) called it pinetime_service, it is actually very generic and 99% of the features should work with every bluetooth device. Of course if you are interested i can help to integrate/adapt my code to fit the needs.

Thanks for listening, Have a good day

theironrobin commented 3 years ago

i kinda really like this idea... this could possibly serve as a backend for siglo.