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.

Sending an intent using Tasker doesn't work

See original GitHub issue

Home Assistant Android version: 1.11.2-2-gf468ece-223 Android version: 9 Phone model: Motorola G7 Plus Home Assistant version: 0.113 Last working Home Assistant release (if known):

Description of problem: I’ve setup the Tasker to request a location update like described in this guide:

https://companion.home-assistant.io/docs/core/location#sending-an-intent

but it doesn’t work.

Traceback (if applicable): From logcat: 07-30 17:25:00.169 2000 7551 W BroadcastQueue: Background execution not allowed: receiving Intent { act=io.homeassistant.companion.android.background.REQUEST_ACCURATE_UPDATE flg=0x10 } to io.homeassistant.companion.android/.background.LocationBroadcastReceiver Screenshot of problem:

Additional information:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
dshokouhicommented, Aug 4, 2020

@JBassett I think that did the trick at least for me… @vampik can you try the suggestion up above?

--------- beginning of system
08-04 12:21:33.793 18490 18490 D LocBroadcastReceiver: Got single accurate location update: Location[fused GPS hAcc=12 et=+1d0h28m15s398ms alt=189.70001220703125 vAcc=2 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}]
08-04 12:21:33.793 18490 18490 W LocBroadcastReceiver: Location not accurate enough on retry 1 of 5

I can update the docs accordingly

1reaction
JBassettcommented, Aug 4, 2020

We might be able to use an IntentService to get this fixed? Need to play around with it and see if that is a viable solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[HELP][INTENT] why intents not work on my phone? : r/tasker
Hi guys, i'm starting to use tasker recently, incredible app, but I'm loosing my mind with "intents". All I want to do is...
Read more >
Intents
Tasker allows you to send arbitraty intents using the Send Intent action in the Misc category. This allows you to provoke behaviour in...
Read more >
Tasker 'Send Intent' action - Help/Guide
Anyway I have solved by launching the androd "wifi settings" from tasker and then by executing a tasker script with send event to...
Read more >
[GUIDE] Tasker - Send Intent action | XDA Forums
Send Intent action has following fields. See the official Tasker Guide for the purpose of these fields.
Read more >
Sending an intent to tasker, from tasker
I figured it out: The intent sent needs to be configured like this: Action: net.dinglish.android.tasker.ACTIION_TASK Cat: None Extra:[task ...
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