question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Home Assistant Android version: 2.1.1-9-g8fef348-258-full

Android version: 10

Phone model: SM-G975F

Home Assistant version: 0.114.0

Last working Home Assistant release (if known):

Description of problem: The next alarm sensor seems to report all kinds of events. In my case instead of the next alarm tomorrow morning, I get the time of the next Tasker profile which triggers a task, which renders this sensor useless.

Traceback (if applicable):


Screenshot of problem: image

Additional information:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
poofyteddycommented, Aug 29, 2020

Hello, I encounter this and also hopped for a way to filter (which look like it’ won’t be 😦 ) basically tasker use what it call ‘Reliable alarm’ (google it up, having the right word help) in order to save battery while keeping stuff in sync. If you don’t have task that are based on precise time but only on event, you can disable this in tasker.

  1. Triple dots
  2. Preferences
  3. Monitor
  4. Use Reliable Alarms -> Never

Sadly this wasn’t enough for me with a Samsung phone because other app, (calendar but not only) created some alam … I will be looking for something else, maybe not use my phone as an alarm … i don’t know.

Hope this help

1reaction
dshokouhicommented, Sep 19, 2020

We need an option to filter specific Packages on HA Companion Level… its just to much Changes which drains Battery/Traffic.

This will probably be an allow-list so users can just specify what apps they want the events from. There’s just too many apps out there, now and in the future, that can make use of this API. So its better to let the user dictate what to allow as opposed to what should be blocked. It is an alarm sensor so I would imagine if you downloaded a new alarm app you would want to add it to the list, as opposed to downloading something like Tasker and discovering it uses the API when you didn’t expect it to.

Also the Sensors should only sent Updates when there is an actual Change, not just pedriodically.

This was actually already completed in the last release, we only send an update if we have something new to send.

I would also like to have an Option to enable Queuing of Sensor Data if the HA Instance is not available.

There is no way to send back old data into HA, core will need to be updated to achieve that but I don’t think it will happen. The app itself is aware of when it doesnt send data over and we use that for our state change detection to make sure we send the next update once your server is back online.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Solution] Wrong next Alarm in Clock Widget & in status bar
The process to find the faulty app is very simple... All you need to do to find the faulty app is: 1) Disable...
Read more >
Next alarm display is wrong · Issue #45 - GitHub
If the widget displays a wrong alarm is because some third-part app set the alarm to update itself. This is a known bug...
Read more >
Next alarm giving me the wrong information : r/kustom - Reddit
Hey all. I set up a widget with my next alarm in it (I use Samsung Clock), and I have the following code:...
Read more >
Companion next alarm sensor reads wrong time
Time zone on my phone is configured automatically and correctly set (GMT+2). But the companions next alarm sensor reads 7:00. So what else...
Read more >
Alarm shows wrong time in clock widget.
The alarm widget shows me the next appointment reminder time till it is over and then the next alarm time. Did you found...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found