Hello! Been using this amazing app a while and now I'm trying to make a universal "cast url to TV" system. The plan: when someone sends a "youtu" or a "twitch" etc link to a specific chat app on the TV, automation will read the notification and open the url that is the text of that notification.
Trigger:
- if that app's notification description text contains e.g. "youtu" (youtube.com, youtu.be etc)
(This works, temporarily verified with an action that opens a random app.)
Action:
(following the "Open a webpage" example: https://server47.de/automation/examples.html )
- Start another Program
- by action
- by startActivity()
- activity/action name: android.intent.action.VIEW
- Parameter Type: URI
- Parameter Name: IntentData
- Parameter Value: [notificationText]
- Press Add Intent Pair, Save.
The rule gets triggered, but doesn't work. I also tried with www.youtube.com instead of [notificationText], to debug, no response besides the toast message of starting the rule.
Not sure how to proceed. Perhaps as a last resort, if this method doesn't work, how could I do the equivalent by starting e.g. the NewPipe app and send it the url as a command?
Thanks!!
PS: running on Android 11
Can't seem to open urls
Re: Can't seem to open urls
Thank you for bringing this up. It was a combination of two things. The example was outdated; I have updated it to match the newer configuration screen. The second issue was and error in the code. I have fixed it. I plan to release it until the end of the year.
Re: Can't seem to open urls
Hey are you SURE you've tested things? I came back to it today, I saw and installed your Fdroid update from 2025-12-27, but it's still impossible to do this no matter how I try.
1. The images in your configuration example webpage (https://server47.de/automation/examples.html), under "Open a webpage", seem to still be the same old android ui so I don't think you changed them:
- https://server47.de/automation/images/e ... owser1.png
- https://server47.de/automation/images/e ... owser2.png
2. Here's what I'm doing:
2.a. Try to open a url which is the [notificationText]:



Or,
2.b. To debug, just try to open a simple static url: www.youtube.com

In both cases, Automation says "Activating Rule ..." in a toast message. But then nothing happens. And I don't know how to debug further.
I tried this on 2 devices both running Android 11, on which Automation works for other non-url purposes (automation is able to simply open other apps).
1. The images in your configuration example webpage (https://server47.de/automation/examples.html), under "Open a webpage", seem to still be the same old android ui so I don't think you changed them:
- https://server47.de/automation/images/e ... owser1.png
- https://server47.de/automation/images/e ... owser2.png
2. Here's what I'm doing:
2.a. Try to open a url which is the [notificationText]:



Or,
2.b. To debug, just try to open a simple static url: www.youtube.com

In both cases, Automation says "Activating Rule ..." in a toast message. But then nothing happens. And I don't know how to debug further.
I tried this on 2 devices both running Android 11, on which Automation works for other non-url purposes (automation is able to simply open other apps).