Values for "Send intent" Parameters for Ring Doorbell

mdman2021

New member
I have a Ring Doorbell. I am trying to write a "Send intent" macro, so that when I leave my home, the Ring Doorbell mode is changed from HOME to AWAY. In case you are asking 'Why?'... I also have Ring Camcorders (part of the Ring Doorbell system) inside my home for security. When I am home, the system is in "HOME" mode and the cams are OFF. When I leave the my home's geofence I want the Ring Doorbell system automatically changed to "AWAY" mode at which time the cams are turned ON. Using Macrodroid, this would all happen automatically.

I tried to use Macrodroid's "Launch Application" action, then use the "UI Interaction" action to touch the "AWAY" icon on the screen. This would put Ring Doorbell in AWAY mode. The problem is the screen is usually LOCKED and in my pocket when I am walking out the door so the "Launch Application" (of the Ring app) does not present the Ring app on the screen. The subsequent "UI Interaction" click on the screen does not see the AWAY icon (because the screen is locked) and therefore just clicks on an empty part of the locked screen.

Because of the problem (described here above), I am exploring using Macrodroid's "Send intent" action. Which brings me to my next problem... I do not know what the actual values for the fields are in the Macrodroid "Send intent" action. But the manual steps would be, 1) Launch the Ring Doorbell app, then, 2) Tap on the AWAY icon at a specific x,y screen coordinates, and finally, 3) Close the Ring Doorbell app.

Any help would be appreciated!
 

420

Active member
I have a Ring Doorbell. I am trying to write a "Send intent" macro, so that when I leave my home, the Ring Doorbell mode is changed from HOME to AWAY. In case you are asking 'Why?'... I also have Ring Camcorders (part of the Ring Doorbell system) inside my home for security. When I am home, the system is in "HOME" mode and the cams are OFF. When I leave the my home's geofence I want the Ring Doorbell system automatically changed to "AWAY" mode at which time the cams are turned ON. Using Macrodroid, this would all happen automatically.

I tried to use Macrodroid's "Launch Application" action, then use the "UI Interaction" action to touch the "AWAY" icon on the screen. This would put Ring Doorbell in AWAY mode. The problem is the screen is usually LOCKED and in my pocket when I am walking out the door so the "Launch Application" (of the Ring app) does not present the Ring app on the screen. The subsequent "UI Interaction" click on the screen does not see the AWAY icon (because the screen is locked) and therefore just clicks on an empty part of the locked screen.

Because of the problem (described here above), I am exploring using Macrodroid's "Send intent" action. Which brings me to my next problem... I do not know what the actual values for the fields are in the Macrodroid "Send intent" action. But the manual steps would be, 1) Launch the Ring Doorbell app, then, 2) Tap on the AWAY icon at a specific x,y screen coordinates, and finally, 3) Close the Ring Doorbell app.

Any help would be appreciated!
Some suggestions;

1 set up a macro to unlock your phone before running these actions. (although i'm not sure how well this would work inside your pocket)
2 (i think this is a good one!) have the phone in your pocket call a webhook on a second device that just stays at home and let the device at home (that can just always be unlocked) do the UI interactions in the ring app.

Sorry but i don't know how or if you can do this with intent.. you could try to search for "ring intent to change mode" or something along those lines on google, maybe someone has already figured it out, or you could download an app called "app detective" it can show intents from other apps. (again i am not sure how or if you can even do this, i'm not very familiar with intent)
 

tanutanu

Well-known member
I have a Ring Doorbell. I am trying to write a "Send intent" macro, so that when I leave my home, the Ring Doorbell mode is changed from HOME to AWAY. In case you are asking 'Why?'... I also have Ring Camcorders (part of the Ring Doorbell system) inside my home for security. When I am home, the system is in "HOME" mode and the cams are OFF. When I leave the my home's geofence I want the Ring Doorbell system automatically changed to "AWAY" mode at which time the cams are turned ON. Using Macrodroid, this would all happen automatically.

I tried to use Macrodroid's "Launch Application" action, then use the "UI Interaction" action to touch the "AWAY" icon on the screen. This would put Ring Doorbell in AWAY mode. The problem is the screen is usually LOCKED and in my pocket when I am walking out the door so the "Launch Application" (of the Ring app) does not present the Ring app on the screen. The subsequent "UI Interaction" click on the screen does not see the AWAY icon (because the screen is locked) and therefore just clicks on an empty part of the locked screen.

Because of the problem (described here above), I am exploring using Macrodroid's "Send intent" action. Which brings me to my next problem... I do not know what the actual values for the fields are in the Macrodroid "Send intent" action. But the manual steps would be, 1) Launch the Ring Doorbell app, then, 2) Tap on the AWAY icon at a specific x,y screen coordinates, and finally, 3) Close the Ring Doorbell app.

Any help would be appreciated!
If you can set the door bell controller app on quick settings tiles and set it away or not, it might be tapped with the actions, Screen on -> Expand status bar -> UI interaction.

Just launching acticity via intent is not difficult, you know, but accepting extra parameters depends on the app, you can check it on intent filter section for each activity in the app manifest.
If the door supports standard api or working with Google/Amazon devices, it might have alternative methods.
 

mdman2021

New member
Thanks for the suggestions, tanutanu, but I had a big problem of the phone taking photos (of the inside of my pocket), dialing 911, and other unwanted stuff. All of this stopped when I turned OFF "double-tap to turn screen on/off" -- I did this because the android setting called "Accidental touch protection" (aka "prevent unwanted touches") didn't work for me. Therefore, any tapping on the phone screen, using Macrodroid's UI Interaction while it is inside my pocket, would be dangerous for me -- Try explaining to a 9-1-1 operator that you are sorry that your phone accidently dialed them -- It's not fun. I think I'll stick with trying to find a Macrodroid "Send Intent" solution. And again, this has to happen automatically with absolutely no intervention from me.

You mentioned "app detective" to show intents from other Apps... I had already downloaded an App similar to "app detective" called "Package Manager". This shows a lot of info from the App's manifest and lists several hundred of activities (actions?) that it finds in the App. It does this only for the App you specify so it is very fast! Alas, like I said, there are hundreds of activities for every App so finding the one I need can be like searching for a needle in a haystack. Plus, when testing some of the activities in "Send Intent", it always tells me the activity is "invalid". So, like you said, "...maybe someone has already figured it out..." and is reading this thread.

So, keeping this thread on track... I do not know what the actual values are for the parameter fields in the Macrodroid "Send intent" action, but I still need to know how to tell the Ring Doorbell app that I want to switch to AWAY MODE (using Macrodroid's "Send Intent" action). Also, I need to know how to tell the Ring Doorbell app that I want to switch back to HOME MODE (again, using Macrodroid's "Send Intent" action).

The search continues...
 

420

Active member
Thanks for the suggestions, tanutanu, but I had a big problem of the phone taking photos (of the inside of my pocket), dialing 911, and other unwanted stuff. All of this stopped when I turned OFF "double-tap to turn screen on/off" -- I did this because the android setting called "Accidental touch protection" (aka "prevent unwanted touches") didn't work for me. Therefore, any tapping on the phone screen, using Macrodroid's UI Interaction while it is inside my pocket, would be dangerous for me -- Try explaining to a 9-1-1 operator that you are sorry that your phone accidently dialed them -- It's not fun. I think I'll stick with trying to find a Macrodroid "Send Intent" solution. And again, this has to happen automatically with absolutely no intervention from me.

You mentioned "app detective" to show intents from other Apps... I had already downloaded an App similar to "app detective" called "Package Manager". This shows a lot of info from the App's manifest and lists several hundred of activities (actions?) that it finds in the App. It does this only for the App you specify so it is very fast! Alas, like I said, there are hundreds of activities for every App so finding the one I need can be like searching for a needle in a haystack. Plus, when testing some of the activities in "Send Intent", it always tells me the activity is "invalid". So, like you said, "...maybe someone has already figured it out..." and is reading this thread.

So, keeping this thread on track... I do not know what the actual values are for the parameter fields in the Macrodroid "Send intent" action, but I still need to know how to tell the Ring Doorbell app that I want to switch to AWAY MODE (using Macrodroid's "Send Intent" action). Also, I need to know how to tell the Ring Doorbell app that I want to switch back to HOME MODE (again, using Macrodroid's "Send Intent" action).

The search continues...
The quickest way to find out if it is possible with intent might just be to ask the ring support if it is.. (and if so, how?)
 

tanutanu

Well-known member
Thanks for the suggestions, tanutanu, but I had a big problem of the phone taking photos (of the inside of my pocket), dialing 911, and other unwanted stuff. All of this stopped when I turned OFF "double-tap to turn screen on/off" -- I did this because the android setting called "Accidental touch protection" (aka "prevent unwanted touches") didn't work for me. Therefore, any tapping on the phone screen, using Macrodroid's UI Interaction while it is inside my pocket, would be dangerous for me -- Try explaining to a 9-1-1 operator that you are sorry that your phone accidently dialed them -- It's not fun. I think I'll stick with trying to find a Macrodroid "Send Intent" solution. And again, this has to happen automatically with absolutely no intervention from me.

You mentioned "app detective" to show intents from other Apps... I had already downloaded an App similar to "app detective" called "Package Manager". This shows a lot of info from the App's manifest and lists several hundred of activities (actions?) that it finds in the App. It does this only for the App you specify so it is very fast! Alas, like I said, there are hundreds of activities for every App so finding the one I need can be like searching for a needle in a haystack. Plus, when testing some of the activities in "Send Intent", it always tells me the activity is "invalid". So, like you said, "...maybe someone has already figured it out..." and is reading this thread.

So, keeping this thread on track... I do not know what the actual values are for the parameter fields in the Macrodroid "Send intent" action, but I still need to know how to tell the Ring Doorbell app that I want to switch to AWAY MODE (using Macrodroid's "Send Intent" action). Also, I need to know how to tell the Ring Doorbell app that I want to switch back to HOME MODE (again, using Macrodroid's "Send Intent" action).

The search continues...
Activity is AKA of app on development context. Just searching activities whether they can executable or not, Activity launcher or Quick shorcut maker is helpful. I'm also using App Detective to find effective activities or broadcast receivers. For example, MD activities which have possibility to launch have the triangle mark on each right side. The name of activity is a good "clue" for the mystery hunting;) Manifest reader is simple raw data viewer but helpful too.
Anyway, it is painful work, but there are no way if developer unveiled the intent parameters info:(
 
Top