izivkov / GShockAPI

MIT License
19 stars 1 forks source link

[Feature] Phone Notifications #3

Open icefields opened 1 month ago

icefields commented 1 month ago

Hello, I own a GBD-200, which despite not being in the list of supported watches it still works with most commands. The Move app is able to read notifications and send them to the watch, I would love to have something like that in the Casio G-Shock Smart Sync app or in this API. Thanks

izivkov commented 1 month ago

I have been wanting to incorporate the Move app into this one for quite a while, but I do not have this watch. I am now focusing on reworking the app with a modern Material 3 interface, which will take about a month. After that, I will try to get somebody to lend me this watch, or donate it to the project. I cannot justify buying every Casio watch since I am not a collector. ;-)

Anyway, thanks for reporting. Regards

icefields commented 1 month ago

I was wondering if this API would be able to send the notifications to the watch, I think other watches you have in the list can also receive notifications

izivkov commented 1 month ago

I see you are a developer. If you would like to contribute to the project and add the fitness feature to the app, I will welcome this.

izivkov commented 1 month ago

No, not at the moment. The watch has to be always connected for that, like the ECB-30, but I would love to add notifications in the future

On Sat, Sep 14, 2024 at 11:38 PM Antonio (Luci4) @.***> wrote:

I was wondering if this API would be able to send the notifications to the watch, I think other watches you have in the list can also receive notifications

— Reply to this email directly, view it on GitHub https://github.com/izivkov/GShockAPI/issues/3#issuecomment-2351339854, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37XOV52UWZDI6ZQDZVLZWT6MTAVCNFSM6AAAAABOHM3BWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGMZTSOBVGQ . You are receiving this because you commented.Message ID: @.***>

icefields commented 1 month ago

@izivkov yeah I was thinking about either contributin to yout code, or making a separate app or plugin specifically for notifications. On the android side I know exactly what to do, I can capture notifications from any application, filter them, and so on. I just don't have enough knowledge on how to send them to the watch via Bluetooth, that's why I was looking into your API, hoping you had something in place to send a payload to the watch that the watch would see as a watch notification. At the moment my open source project Power Ampache 2 is taking most of my time, so I don't really have much time to study the Bluetooth interface and figure this out by myself.

izivkov commented 1 month ago

@icefields OK, yes, figuring out the forfmat of the data sent to the watch is a tediius process. It involves looking ar WireShark logs, and then figuring out how they encode data. If I had the watch, I would probobly try it, but without the watch is impossible.

Anyway, if you create your oun project using the API, let me know so i can see how you handle messages. Regards, Ivo

icefields commented 1 month ago

@izivkov I initially assumed that some of the watches you support already had the notification feature. Regardless, I'll definitely keep you updated if I find time to move forward with the project.

izivkov commented 1 month ago

These watches are partly supported, in a sense that the app can run on them. Not all features are supposed

On Sun, Sep 15, 2024, 7:33 PM Antonio (Luci4) @.***> wrote:

@izivkov https://github.com/izivkov I initially assumed that some of the watches you support already had the notification feature. Regardless, I'll definitely keep you updated if I find time to move forward with the project.

— Reply to this email directly, view it on GitHub https://github.com/izivkov/GShockAPI/issues/3#issuecomment-2351833394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37R4OX3KCU5DPNZG5VTZWYKLJAVCNFSM6AAAAABOHM3BWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRHAZTGMZZGQ . You are receiving this because you were mentioned.Message ID: @.***>

izivkov commented 1 month ago

BTW, I am rewriting the app in Jetpack Compose from the ground up. I wish I started that way. Way cleaner and easy to maintain. Hope to have a first version done in a couple of weeks for testing only.

On Sun, Sep 15, 2024 at 7:45 PM Ivo Zivkov @.***> wrote:

These watches are partly supported, in a sense that the app can run on them. Not all features are supposed

On Sun, Sep 15, 2024, 7:33 PM Antonio (Luci4) @.***> wrote:

@izivkov https://github.com/izivkov I initially assumed that some of the watches you support already had the notification feature. Regardless, I'll definitely keep you updated if I find time to move forward with the project.

— Reply to this email directly, view it on GitHub https://github.com/izivkov/GShockAPI/issues/3#issuecomment-2351833394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37R4OX3KCU5DPNZG5VTZWYKLJAVCNFSM6AAAAABOHM3BWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRHAZTGMZZGQ . You are receiving this because you were mentioned.Message ID: @.***>

icefields commented 1 month ago

I was looking at your code to see how can I contribute, and maybe involve my designer too (just a thought for now, as I said Power Ampache 2 is taking most of our free time), I noticed a few things, mostly on the architectural side of things, if you're interested we can chat in private.

izivkov commented 1 month ago

Sure, I'd be happy to chat.

If you are talking about the app, maybe we can look at the new compose version. I'll send you a link. If it is about the API, we can chat anytime My email address is izivkov@gmail.com. you can send me a message directly.

On Mon, Sep 16, 2024, 11:10 AM Antonio (Luci4) @.***> wrote:

I was looking at your code to see how can I contribute, and maybe involve my designer too (just a thought for now, as I said Power Ampache 2 is taking most of our free time), I noticed a few things, mostly on the architectural side of things, if you're interested we can chat in private.

— Reply to this email directly, view it on GitHub https://github.com/izivkov/GShockAPI/issues/3#issuecomment-2353199860, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37VTYBT5JGQ52JLJHY3ZW3YGJAVCNFSM6AAAAABOHM3BWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTGE4TSOBWGA . You are receiving this because you were mentioned.Message ID: @.***>

icefields commented 1 month ago

thanks. Yes, I'm talking about the app, I haven't checked the code for the API yet. I will send you an email later, pretty busy day today.