Xiaomi Support Thread

roughnecks

Active member
Alright, found out by myself.

As the action you have to choose system settings and then "Global (root/ADB)". At this point, the name of the settings we're looking for is "mobile_data0" and "mobile_data1" and to have mobile data on, you have to set both to value "1".
 

pr3jker

Member
Well, doesn't really work either ! Data1 and data1 are just variables for card slots 1 and 2, won't help on MD .
Anyway, I just dropped my goal to disable / enable mobile data with MD. In fact, MIUI does a great job on switching networks, it switches wifi off by itself too, and switches it on once you're back to your own wifi, so why should I have to struggle with MD code? Nah!
 
Last edited:

garreth

New member
Hello I'm new here, my device is Xiaomi Redmi 9, Android 10, MIUI 12.

I created a very simple macro, with a Day/Time Trigger, and a Click(x,y) from UI Interaction.
At certain time e.g. 07:30, it should click at (x=860, y=1480) on the active UI (single click).

At the very first attempt, it worked just fine. (After fresh installation of MD).
A dialog box shown up after the clicking, as expected.

Then I closed and reopened MD, changed the time, and the macro didn't work anymore.
There's following error in the System Log,

MacroDroid process has started
UI Interaction accessibility service connected
07:35 Mon - Sun Macro0730
Invoking Macro: Macro0730 Macro0730
Click[860,1480] Macro0730
Cannot perform click as x,y location (could not detect current UI root node). Please try rebooting your device

Rebooting my device, again it successfully performed clicking at the active UI, with no error.
Then I locked the MD app, so it won't be closed anymore.
On the several following attempts, it worked fine with no error.

The next day, the MD app is still running. But the macro didn't work anymore with the same error as above.

The "MacroDroid" and the "MacroDroid UI Interaction" accessibility have been turned on.
The Battery optimisation for MD has been set to "Don't optimise".
I've followed steps described in the dontkillmyapp.com/xiaomi

So every time I want to use the macro, I have to reboot my device in order to the Click action be performed successfully.
Any thoughts?
 

Messias

New member
Hello, my Macrodroid can't read notification by eWeLink app to start macro

Some one can help-me ?

My Miui is version 12.0.3
 
Last edited:

FrameXX

Well-known member
Hello, my Macrodroid can't read notification by eWeLink app to start macro

Some one can help-me ?

My Miui is version 12.0.3

Can you make a screenshot of that notification? Rarely but still some notification of some apps are made with custom theming and MacroDroid than can't read their text.
 

Messias

New member
Can you make a screenshot of that notification? Rarely but still some notification of some apps are made with custom theming and MacroDroid than can't read their text.
 

Attachments

  • Screenshot_2021-10-06-14-03-05-065_com.xiaomi.discover.jpg
    Screenshot_2021-10-06-14-03-05-065_com.xiaomi.discover.jpg
    120.3 KB · Views: 17
  • Screenshot_2021-10-06-14-04-48-511_com.arlosoft.macrodroid.jpg
    Screenshot_2021-10-06-14-04-48-511_com.arlosoft.macrodroid.jpg
    173.9 KB · Views: 17

tanutanu

Well-known member
@Messias, check your MD app settings. Is it same as me?
 

Attachments

  • IMG_20211007_044148.jpg
    IMG_20211007_044148.jpg
    185 KB · Views: 12
  • IMG_20211007_044209.jpg
    IMG_20211007_044209.jpg
    237.5 KB · Views: 11
  • IMG_20211007_044227.jpg
    IMG_20211007_044227.jpg
    220.7 KB · Views: 11
  • IMG_20211007_043725.jpg
    IMG_20211007_043725.jpg
    72.8 KB · Views: 11

Sylv1_Durif

New member
Hey,
You talk rooting but I didn't found a good tuto to Root my device (Poco m20)...
If anyone have a forum or the Time to explain me...
Thanks you !
 

saradisn

New member
I started this macro to find a x,y of the GPS quick setting button but I can't stop it from running!! I restarted my Redmi 8 but it still appears to run!! How do I stop this?
 

Attachments

  • Screenshot_2022-01-14-21-58-34-384_com.arlosoft.macrodroid.jpg
    Screenshot_2022-01-14-21-58-34-384_com.arlosoft.macrodroid.jpg
    350 KB · Views: 8

Dm114

Well-known member
I started this macro to find a x,y of the GPS quick setting button but I can't stop it from running!! I restarted my Redmi 8 but it still appears to run!! How do I stop this?
Set [System]pointer_location to 0 (even "manually" by testing this Action).
 
Hello everyone,
I have a small issue with a macro
It's a macro that disables silent mode when receiving a phone call from a speicific contact.
The silent mode it's disable (I can tell you that because I get the toast messaga that silent mode is off) but the phone only vibrates.
My phone is a Xiamo Mi11, MIUI 12.5.9, Android 11.
Any ideeas?
 

Pseudocyclic

Active member
Hello everyone,
I have a small issue with a macro
It's a macro that disables silent mode when receiving a phone call from a speicific contact.
The silent mode it's disable (I can tell you that because I get the toast messaga that silent mode is off) but the phone only vibrates.
My phone is a Xiamo Mi11, MIUI 12.5.9, Android 11.
Any ideeas?
What happens if you then receive a second call?
 
Top