I think you are right, because now I’ve Alarm Time Stamps that are not set within the Android Alarm Clock App. But how can I figure out which App on the phone causes the wrong alarms?
Is this the Log that you mean? I searched for “Alarm” but didn’t find anything.
And I’ve a suspect. When I told Alexa “remember me in 30min”, the time from the Alexa reminder was transfered from the Openhab App to my OpenHab System.
Is there the possibility to block Alexa reminders and alarms?
currently it seems that I got valid Alarms from the Alexa App but also invalid “UNDEF” Alarms that are overwriting the Alarms from the native Androird Alarm Clock App. Tell me if I can support in any way with tests or something like that.
I’ve been seeing the same issue on my phone (Google Pixel 6a running Android 13 beta, with Googles own clock app) and I’m wondering if it’s perhaps caused by the original-package values being passed back by PackageParser.java along with the package name as an array rather than a single value?
val sender = info?.showIntent?.creatorPackage
In any case, sender evaluates as ‘null’ and my openhab app refuses to send through the time.
It could just be the beta OS causing the issues, ofc. Any ideas?
08-08 17:07:46.682 30877 30877 D BackgroundTasksManager: onReceive() with intent android.app.action.NEXT_ALARM_CLOCK_CHANGED
08-08 17:07:46.682 30877 30877 D BackgroundTasksManager: Alarm clock changed
08-08 17:07:46.684 30877 30877 D BackgroundTasksManager: Alarm sent by null
08-08 17:07:46.685 30877 30877 D BackgroundTasksManager: Got value 'ValueWithInfo(value=UNDEF, mappedValue=null, type=Timestamp, debugInfo=Ignored alarm time update to 07:30 2022-08-09 which was sent by null)' for alarmClock
08-08 17:07:46.689 30877 30877 I BackgroundTasksManager: Don't send update for item ColinAlarmClock with value ValueWithInfo(value=UNDEF, mappedValue=null, type=Timestamp, debugInfo=Ignored alarm time update to 07:30 2022-08-09 which was sent by null)
08-08 17:07:47.442 30877 30877 D BackgroundTasksManager: onReceive() with intent android.app.action.NEXT_ALARM_CLOCK_CHANGED
08-08 17:07:47.442 30877 30877 D BackgroundTasksManager: Alarm clock changed
08-08 17:07:47.442 30877 30877 D BackgroundTasksManager: Alarm sent by null
08-08 17:07:47.443 30877 30877 D BackgroundTasksManager: Got value 'ValueWithInfo(value=UNDEF, mappedValue=null, type=Timestamp, debugInfo=Ignored alarm time update to 07:30 2022-08-09 which was sent by null)' for alarmClock
08-08 17:07:47.447 30877 30877 I BackgroundTasksManager: Don't send update for item ColinAlarmClock with value ValueWithInfo(value=UNDEF, mappedValue=null, type=Timestamp, debugInfo=Ignored alarm time update to 07:30 2022-08-09 which was sent by null)
08-08 17:07:48.727 30877 30887 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
08-08 17:07:48.727 30877 30887 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
08-08 17:07:50.845 30877 30877 D BackgroundTasksManager: onReceive() with intent android.app.action.NEXT_ALARM_CLOCK_CHANGED
08-08 17:07:50.845 30877 30877 D BackgroundTasksManager: Alarm clock changed
08-08 17:07:50.846 30877 30877 D BackgroundTasksManager: Alarm sent by null
08-08 17:07:50.846 30877 30877 D BackgroundTasksManager: Got value 'ValueWithInfo(value=UNDEF, mappedValue=null, type=Timestamp, debugInfo=Ignored alarm time update to 07:00 2022-08-10 which was sent by null)' for alarmClock
08-08 17:07:50.849 30877 30877 I BackgroundTasksManager: Don't send update for item ColinAlarmClock with value ValueWithInfo(value=UNDEF, mappedValue=null, type=Timestamp, debugInfo=Ignored alarm time update to 07:00 2022-08-10 which was sent by null)
08-08 17:07:51.683 30877 30877 D BackgroundTasksManager: onReceive() with intent android.app.action.NEXT_ALARM_CLOCK_CHANGED
08-08 17:07:51.684 30877 30877 D BackgroundTasksManager: Alarm clock changed
08-08 17:07:51.684 30877 30877 D BackgroundTasksManager: Alarm sent by null
08-08 17:07:51.685 30877 30877 D BackgroundTasksManager: Got value 'ValueWithInfo(value=UNDEF, mappedValue=null, type=Timestamp, debugInfo=Ignored alarm time update to 07:30 2022-08-09 which was sent by null)' for alarmClock
08-08 17:07:51.687 30877 30877 I BackgroundTasksManager: Don't send update for item ColinAlarmClock with value ValueWithInfo(value=UNDEF, mappedValue=null, type=Timestamp, debugInfo=Ignored alarm time update to 07:30 2022-08-09 which was sent by null)
Maybe trying to send this from my mobile wasn’t a great idea… The log excerpt is from earlier today, the screenshot (if it’s worked) shows the current notifications.
Could I add to this?
I’ve got a strange behaviour where the AlarmClock is being sent 9:00 from the app if no alarms are enabled.
I’m on an S10 as well with Android 12 and using the Samsung Clock app.
Is this expected behaviour?
I guess I don’t normally use 9:00 for an alarm, so I could detect that time and assume they are off?
Had a good look through the phone, there’s only that one app setting alarms. No calendar entries etc.
I couldn’t find debug mode in app settings, there’s a “View log” option but that didn’t have anything related to the 9:00 and a “Show information for troubleshooting” option but no more clues
Please enable this and wait until the alarm item has been set to 9:00. There should be an Android notification then that tells you the app that sets this alarm.
I have Android 11 in use. Openhab 3.4.1. Openhab Android App 3.1.0.
My alarm will be set well, but i must start my alarm app better alarm after a start up. Alarm will be updated to the next alarm. Sounds good at first. Then i switch off the screen and my alarm will be set to screen off time plus 10 minutes. That confuse me. After wake up my phone the alarm will be set to my set alarm time. That confuses me. I don’t get any information about updates of item into the log file.
It seems that there is a fight i dont know:
I don’t know if this is an issue of openhab or android system with better alarm. Maybe someone has an idea.