Pricealert

DaveMier88

New member
Hey guys I got a problem. I think i've completed the Macro and it should execute properly. But it doesn't😂🙃
Screenshot_2022-03-20-23-21-05-910_com.arlosoft.macrodroid.jpg This should execute if I get this message from my Telegrambot:
🚨🚨 METF is up 0.32% within the last 5 minutes 🚨🚨

Current price: $77.55 (78.07 MMF)

Price change: 5M: 0.32% 1H: -2.64% 6H: -5.65% 24H: -8.56%

Mad Meerkat ETF - METF/MMF
Cronos / MM Finance

Can someone help me. Please
 

MacroDroidDev

Administrator
Staff member
Does the macro ever trigger (Please check the system log and see if there is any cases where this triggers).

What is the WHILE/DO loop condition exactly? Most of us here do not speak German so it's hard to understand exactly what is configured.
 

DaveMier88

New member
Does the macro ever trigger (Please check the system log and see if there is any cases where this triggers).

What is the WHILE/DO loop condition exactly? Most of us here do not speak German so it's hard to understand exactly what is configured.
Hey,
the notifications says: "included: Current price:"
the while simple say: while phone is locked, sound louder, say text, play sound, say text.

And the condition after the loop: sound louder, say text. This playes if the phone is unlocked.
Where can I find these logs?

I think when I created it it worked, but not in the night and that's what it's supposed to do, wake me up at night.😂
 

DaveMier88

New member
Does the macro ever trigger (Please check the system log and see if there is any cases where this triggers).

What is the WHILE/DO loop condition exactly? Most of us here do not speak German so it's hard to understand exactly what is configured.
I've set the language to english for you to better understand it.
Screenshot_2022-03-24-08-04-42-951_com.arlosoft.macrodroid.jpg
 

dsnz

Well-known member
system log is one of the tiles when you open macrodroid
you can't miss it
and it's very important , so copy paste the relevant part when your macro triggers

furthermore after the loop put a notification just to check that perhaps it executed once (except the while loop) and you didn't understand it because you slept heavy

it's also possible that MD is heavily suppressed from running normally due to battery management and all that stuff, see the troubleshooting menu option
 

DaveMier88

New member
So this is the log. The strange thing is. When I create the macro and test it its getting triggered by the message, but I tested it now again and its not getting triggered. What did I miss?
 

Attachments

  • MacroDroidLog.txt
    2.7 KB · Views: 1

dsnz

Well-known member
the log says that the macro works correctly
every action outside the while loop is done (eg. the final speak text action)
the while loop runs sometimes and sometimes does not run depending on when the phone is locked (the loop runs only when the phone is locked and no other time)
so.. everything is fine 😂
 

DaveMier88

New member
But if the phone isn't locked it should play Speak Text: Preisalarm but it's not doing so. And as I said, I retested it again a few minutes ago and it does not trigger, but it does in the morning
 

dsnz

Well-known member
see this excerpt, with my comments
read it from bottom to top

24-03-22 09:43:27 - Text ansagen (Preisalarm) [ speak text , after the while loop ]
24-03-22 09:43:27 - A: WHILE / DO did not invoke because constraint failed: Gerät verriegelt (Preisalarm) [phone is not locked, while loop does not run]
24-03-22 09:43:27 - lauter [volume up]
24-03-22 09:43:27 - Invoking Macro: Preisalarm [start macro]

if you say you don't hear anything (ie.the final speak text) then maybe you had silenced mecia output
I have read many times in the forums that a single volume up is not enough (it's like a single click on the volume button)
try many volume ups with some delay between or set the volume to a specific high level (search the forums about volume)
 
Top