Alarm notification

Ianseeks bingmybong at btinternet.com
Tue Aug 24 14:17:45 BST 2021


On Tuesday, 24 August 2021 14:01:47 BST Jiří Wolker wrote:
>  > On Tuesday, 24 August 2021 10:05:43 BST Jiří Wolker wrote:
>  >> On 24. 08. 21 9:32, Ianseeks wrote:> Is there anyway I can get a
>  >> notification on my desktop when the alarm on my phone activates (android
>  >> 8)?  I get a notification to say that its been set up and thats the end
>  >> of it.
>  >>
>  >> Hi,
>  >>
>  >> AFAIK, there is not such feature. I have found 3 methods to get alarm
>  >> notifications implemented. All of them have some limitations.
>  >
>  > Thanks for the update, shame its so difficult.
>  >
>  > A question:
>  > As there is a notification to say that there is an alarm set at a 
> specific time, the correct info is sent to the desktop.
>  > Could there be a config item in the desktop kdeconnect settings for 
> "Alarm" where you specify a local program (eg. kalarm) with a
>  > time parameter that sets the alarm locally?
> 
> That's the third method mentioned in my message. Android notifications 
> do not provide many metadata. It would require parsing the notification 
> text. That means having some code that “reads” the notification text and 
> outputs the time and alarm name. And because the notification text is 
> different for every Android system language, it would have to be able to 
> process all such variants of alarm notification. And it is even worse: 
> Android system updates (or device manufacturer's modifications) can 
> change the text, and that would break the functionality.
> 
> So, it is possible to solve, but it would be very sensitive to changes 
> in Android UI.
> 
> See the end of my original message:


Thanks.  

I'll just have to start using the alarm systems on my desktop instead of the phone if they are in separate locations.


>  >> ---[snip]---
>  >>
>  >> Parsing the ongoing alarm notifications
>  >> ───────────────────────────────────────
>  >>
>  >> KDEConnect app is able to read the notifications and it could parse it
>  >> and provide information about alarms. That would be possible, but even
>  >> subtle modification of notification text (done by manufacturer's
>  >> modifications, by update etc.) would break it.
>  >>
>  >> → Breaks easily, but provides metadata and alarm information *before*
>  >> the alarm rings.
>  >>
>  >> ---[snip]---
> 


-- 
opensuse:tumbleweed:20210820
Qt: 5.15.2 KDE Frameworks: 5.85.0 - KDE Plasma:  5.22.4 - kwin 5.22.4
kmail2 5.18.0 (21.08.0) - akonadiserver 5.18.0 (21.08.0) - Kernel:  5.13.12-1-default  - xf86-video-nouveau:  1.0.17





More information about the KDEConnect mailing list