macrodroid and wearables

dsnz

Well-known member
Hello,

My question is related to the combined use of Macrodroid with smart watch / activity tracker / wearable (called just watch from now on) where macrodroid interacts with custom watch software on phone or with other automation app on watch (as far as I know macrodroid is not available on Android Wear or other watch platform).

Specifically I want to do some actions triggered by unique watch capabilities, especially the heart rate sensor. For example if heart rate is over 120 for 20 seconds then a SMS message should be sent.

In order to do this I have been thinking of Macrodroid somehow take some readings from custom watch software on phone (supplied with the watch). Or perhaps use IFTTT or other automation software on watch (available on some watches) so that it checks heart rate events (or other watch events) and using webook call or some other watch to phone communication way eventually trigger macrodroid on phone too.

I wonder if people here have used macrodroid in combination with watch and how you have done this. Please be specific mentioning watch model, watch software needed, a good description of the solution and finally your experience in the end.

Thank you in advance,
 

FrameXX

Well-known member
Hello,

My question is related to the combined use of Macrodroid with smart watch / activity tracker / wearable (called just watch from now on) where macrodroid interacts with custom watch software on phone or with other automation app on watch (as far as I know macrodroid is not available on Android Wear or other watch platform).

Specifically I want to do some actions triggered by unique watch capabilities, especially the heart rate sensor. For example if heart rate is over 120 for 20 seconds then a SMS message should be sent.

In order to do this I have been thinking of Macrodroid somehow take some readings from custom watch software on phone (supplied with the watch). Or perhaps use IFTTT or other automation software on watch (available on some watches) so that it checks heart rate events (or other watch events) and using webook call or some other watch to phone communication way eventually trigger macrodroid on phone too.

I wonder if people here have used macrodroid in combination with watch and how you have done this. Please be specific mentioning watch model, watch software needed, a good description of the solution and finally your experience in the end.

Thank you in advance,

Depends on what watches you have and what software you use. I use Notify for amazfit with my amazfit and I can do a lot of things. I can got hearth rate, steps, watches battery value. Receive intent when I fall asleep and when I woke up. Make custom notifications on watches, or just custom vibrations, start DND mode, stop DND mode etc... etc...

Webhook will be propably not the best solution as it's only working with internet.
 

dsnz

Well-known member
Depends on what watches you have and what software you use. I use Notify for amazfit with my amazfit and I can do a lot of things. I can got hearth rate, steps, watches battery value. Receive intent when I fall asleep and when I woke up. Make custom notifications on watches, or just custom vibrations, start DND mode, stop DND mode etc... etc...

Webhook will be propably not the best solution as it's only working with internet.
hi , thanks for your reply !

so you have connected this notify app with macrodroid on phone ?
I don't want to get notifications on watch (this is trivial and not so useful), I want to send notifications outside the watch to other people in case of some watch events
I agree with webhook but if a watch software on phone sends intents then I can use the app intent trigger of macrodroid
 

FrameXX

Well-known member
hi , thanks for your reply !

so you have connected this notify app with macrodroid on phone ?
I don't want to get notifications on watch (this is trivial and not so useful), I want to send notifications outside the watch to other people in case of some watch events
I agree with webhook but if a watch software on phone sends intents then I can use the app intent trigger of macrodroid

Ah now I understand you. Webhook is actually not an bad idea. You can also pass variables throught webhook if you want.
 

dsnz

Well-known member
Ah now I understand you. Webhook is actually not an bad idea. You can also pass variables throught webhook if you want.
Hi,

I checked the Notify app documentation in


this app indeed seems to be one of the best examples of an automation helper app for us here :)

I found that it sends an intent

com.mc.miband.heartRateGot

for the heart rate value

but the documentation is very short and sparse about crucial details

I wonder if you can make a short macrodroid program and discover and tell us here

1. if you get this intent continually and how often (every second, every minute, ...)
or just once after enabling the heart rate monitoring

2. adjust your program depending on answer of 1. above so that you get a reading every 30 sec or 1 minute max and run it for 1 hour and tell us what was roughly the battery consumption

I can't stress enough how helpful and informative your experiment will be (plus useful to many people).

Thank you,
 

FrameXX

Well-known member
Hi,

I checked the Notify app documentation in


this app indeed seems to be one of the best examples of an automation helper app for us here :)

I found that it sends an intent

com.mc.miband.heartRateGot

for the heart rate value

but the documentation is very short and sparse about crucial details

I wonder if you can make a short macrodroid program and discover and tell us here

1. if you get this intent continually and how often (every second, every minute, ...)
or just once after enabling the heart rate monitoring

2. adjust your program depending on answer of 1. above so that you get a reading every 30 sec or 1 minute max and run it for 1 hour and tell us what was roughly the battery consumption

I can't stress enough how helpful and informative your experiment will be (plus useful to many people).

Thank you,

Receiving intents with MacroDroid is easy with "intent received" trigger. I had a little problem with extras like hearth rate, batery etc..., but I got help.

Some of actions are via intents and some are integrated as locale/tasker plugin.

1.
I got intents essentialy instantly after value changes. That means if I am for example walking MacroDroid got intent every like 15 seconds with changed steps value.
Simply said, Notify for Amazfit is sending intents instantly when it got new value.


2.
About battery I did not noticed any higher battery battery consumption or slower phone or something like that, even if I have a pretty weak phone. (2 years old and NOT some flagship or something else expensive (200€)).


As an example I am attaching one of my Macros that fetches some informations and saves them into global variable, so I can working with that values in another macros.
 

Attachments

  • Data_Tracker.png
    Data_Tracker.png
    134.6 KB · Views: 33
  • Data_Tracker.macro
    11.1 KB · Views: 12
Last edited:

dsnz

Well-known member
Receiving intents with MacroDroid is easy with "intent received" trigger. I had a little problem with extras like hearth rate, batery etc..., but I got help.

Some of actions are via intents and some are integrated as locale/tasker plugin.

1.
I got intents essentialy instantly after value changes. That means if I am for example walking MacroDroid got intent every like 15 seconds with changed steps value.
Simply said, Notify for Amazfit is sending intents instantly when it got new value.


2.
About battery I did not noticed any higher battery battery consumption or slower phone or something like that, even if I have a pretty weak phone. (2 years old and NOT some flagship or something else expensive (200€)).


As an example I am attaching one of my Macros that fetches some informations and saves them into global variable, so I can working with that values in another macros.
Thank you very much !
Your reply was very informative and crucial in making me go for the Mi Band/Amazfit platform for my needs.
👏
 

FrameXX

Well-known member
Thank you very much !
Your reply was very informative and crucial in making me go for the Mi Band/Amazfit platform for my needs.
👏

I thing Mi Band is more complicated to use with unofficial apps like this so I more reccomend amazfit. But just for info, Mi Band have the same app from the same developer with same integrations.

On the end. Use what you like. Don't care too much about MacroDroid.

Oh I forgot. You like wearables that are most likely to be paired with MacroDroid :love::love::love:
 
Last edited:
I am very interested in the subject.
I would like to be able to use a smartwatch in addition to monitoring heartbeats, cyclically for example every hour and send notifications in case of exceeding pre-set thresholds.
moreover, I would like to have one of these devices capable of reporting problems in cases of falls, thinking about its use for elderly people.
what do you think ?
greetings mirrorless
 
Top