Use MD to add functionality to Alarm Clock

hendis

Member
TIA to anyone and everyone...

Sorry if I'm posting in the wrong thread group, but I'd like to use MD to replace my alarm clock app and add "skip 24H" or "skip next alarm" functionality, too.

Anyone know how this can be done?
 

RSF

Well-known member
How static are your alarms -- meaning, do you want the same time every weekday, and maybe a different (unchanging) time on weekends? Or do want to set dynamic alarms for e.g. 90 minutes from now, or next Tuesday at 4:30, etc.?
The former would be pretty straightforward, but the latter might be tricky.
 

Abalsam

Active member
TIA to anyone and everyone...

Sorry if I'm posting in the wrong thread group, but I'd like to use MD to replace my alarm clock app and add "skip 24H" or "skip next alarm" functionality, too.

Anyone know how this can be done?
While MD can likely be made to do quite a bit, the question is are you just looking to add just those two features or are there other features you wanted as well? I am asking because the first thing I do before looking to design something is try to identify all of the features in that way I can figure out if something existing can do it and what I would need to focus on.
 

hendis

Member
I'm still working on creating an alarm clock macro (and many other things as well) while working 84 hours a week. I have concluded that trying to solve my own issues first helps me to learn. I will only use someone else's solution as a last resort.
That said can anyone tell me how to vary the volume of a sound played by macrodroid? The play sound trigger wants me to select a sound stream and volume. What if I want to vary the volume? I want my macro to increase the volume the longer the sound plays.
 

hendis

Member
To Snurre:
I have duplicated your example, but cannot get any sound at all. Is the starting value of the volume variable the starting volume level of the played sound? I seem to be doing something very wrong, and don't see my problem. Can you give me more of an explanation? Also, can you explain how I can post a screenshot of my macro?
 

hendis

Member
Snurre, I found where the problem was and corrected it, but now I'm running into something else. The sound variable is not increasing the way I had hoped it would. Again, I can only say that I'm obviously doing something wrong. Is there a way I can show you what's going on?
 

Snurre

Well-known member
Ok, you have to try to adjust the values in wait and variables as needed
It needs some testing till it works like you want 😉
Click on the three dots in upper right corner and choose"Share as image"
I'm running out of time today, but will look into it tomorrow🙂
 

hendis

Member
Everybody, I'd like to report success. After a lot of testing and tweaking I now have a working macro. No, it's not sleek and pretty and elegant. To be honest it's not elegant at all, but it works. And that's what counts.

I discovered that the problem was in increasing the sound level. To drill down, I was unable to use an expression to increase the sound level. It had to be hardcoded explicitly. As a consequence of this, I was unable to use any kind of looping mechanism, either. I was forced to repeat wait and change volume statements. (Like I said, not elegant at all.)
 

Abalsam

Active member
Everybody, I'd like to report success. After a lot of testing and tweaking I now have a working macro. No, it's not sleek and pretty and elegant. To be honest it's not elegant at all, but it works. And that's what counts.

I discovered that the problem was in increasing the sound level. To drill down, I was unable to use an expression to increase the sound level. It had to be hardcoded explicitly. As a consequence of this, I was unable to use any kind of looping mechanism, either. I was forced to repeat wait and change volume statements. (Like I said, not elegant at all.)
How about an if else if statement inside a loop.
 
Top