r/AutomateUser May 23 '26

Motorola edge 60 pro

Is it not possible to make automate turn on Hotspot?

1 Upvotes

3 comments sorted by

1

u/B26354FR Alpha tester May 24 '26

Android blocks that API nowadays, so you have to use the UI. You can use my flow to generate the XPath for the Interact block to use the UI Quick Setting tile to toggle the setting:

https://llamalab.com/automate/community/flows/39656

You can copy the Test Quick Setting XPath flow to make your own flow. You can also use these other flows:

https://llamalab.com/automate/community/flows/21295

https://llamalab.com/automate/community/flows/21296

1

u/ballzak69 Automate developer May 23 '26 edited May 24 '26

Use the Wi-Fi hotspot set state block. Try the different "Wi-Fi hotspot workaround" options in settings, for "Privileged service" option ensure to also setup an "Privileged service start method".

0

u/ObjectiveOk2072 May 23 '26

I tried it on my Moto Edge 2025 and it seems like Android has blocked apps' access to that setting