Webhook Returns

OscariBot

Active member
I mean to ask, is there a way of knowing if my macro actually run in a remote phone when I query it from a distant browser via webhook
 

Endercraft

Moderator (& bug finder :D)
In the macro just add an HTTP Request action. Unless I'm misunderstanding what you want?
 

OscariBot

Active member
Assuming I trigger a macro in a phone far away from me via webhook from my PC browser to toggle torchlight ... Ofcuz it's gona toggle the torchlight as expected.

But how can I get some kind of notification telling me that the macro was triggered successfully or something like that.
 

OscariBot

Active member
Take a look at the screenshot below... The site control macro via webhook but does it blindly.
Blindly in the sense that you can't tell if your action was executed or not.

My question therefore is how can I return a respond to the site via same webhook maybe in form of text or something
 

Attachments

  • Screenshot_20231203-165115~2.jpg
    Screenshot_20231203-165115~2.jpg
    108 KB · Views: 10

Endercraft

Moderator (& bug finder :D)
Take a look at this website I coded and its companion macro :


There is a return functionality which tells you that it was executed successfully.
It requires a bit of setup but I believe it is simple enough for you to understand.
 

Attachments

  • Main.macro
    134.6 KB · Views: 6

OscariBot

Active member
This look great even though ur macro is empty.

The return is suppose to display on the result panel right? (Curious abt wat it will display... I wish to see it working)

If yes then it's what am looking for... How do I go abt it?
 

hsurB

Well-known member
This look great even though ur macro is empty.

The return is suppose to display on the result panel right? (Curious abt wat it will display... I wish to see it working)

If yes then it's what am looking for... How do I go abt it?

If your macro after importing is empty you use old macrodroid version
 

Endercraft

Moderator (& bug finder :D)
First off check if you have done this :
Screenshot_2023-12-03-20-01-59-019_com.arlosoft.macrodroid-edit.jpg
The webhook id is not the url it's the part with format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

For the unlock function you have to configure it to run your own device unlocking macro if you have one.
 

OscariBot

Active member
All setting done as u stated above yet not responding...
Please look at the screenshot below... I strongly believe something is not just right asper the webhook url.

My internet is perfect
 

Attachments

  • Screenshot_20231204-051029.jpg
    Screenshot_20231204-051029.jpg
    227.9 KB · Views: 11
Top