Myzel394 / Alibi

Use your phone as a dashcam and save the last 30 minutes when you need them.
GNU General Public License v3.0
232 stars 11 forks source link

idea: add tasker plugin integration #15

Open noahstreller opened 1 year ago

noahstreller commented 1 year ago

Using Tasker or Macrodroid to start, stop or save a recording session could be incredibly useful

Myzel394 commented 1 year ago

Yes, I mentioned something similar already in #8, I definitely want to add that! I will probably not be able to do it in the near future, but I will keep you updated here! :)

serrq commented 10 months ago

I need for a foss Tasker alternative in Fdroid. 🥴

Any fork?

Myzel394 commented 5 months ago

Okay so I just got an idea that I think might be even more useful than tasker / Automate.

:star: Plugins :star: - basically you'd be able to write your own Alibi plugins which would then be able to start / stop / pause etc the recording. I'd provide some builtin plugins so that basic features are met :) I think plugins would be a bit better option since you have more control this way, Alibi won't rely on another app for automation and so you won't have to install a non-foss automation app :D

We could add plugins such as:

these are just some examples, with plugins you'd be able to completely control the behavior!

However, I'm not sure if we can add automatically starting recordings due to Android's security. I'll have to look that up.

What do you think about that? This is quite a big feature, so I'd like to get your opinion on that first :D @notkudu and @sjbr your related feature requests #84 and #73 could also be implemented with a plugin this way - what do you think?

notkudu commented 5 months ago

Okay so I just got an idea that I think might be even more useful than tasker / Automate.

⭐ Plugins ⭐ - basically you'd be able to write your own Alibi plugins which would then be able to start / stop / pause etc the recording. I'd provide some builtin plugins so that basic features are met :) I think plugins would be a bit better option since you have more control this way, Alibi won't rely on another app for automation and so you won't have to install a non-foss automation app :D

We could add plugins such as:

  • Automatically save recording if a sudden loud noise happens
  • Automatically stop recording after 5 hours
  • Automatically stop recording if there hasn't been any noise for 30 minutes straight

these are just some examples, with plugins you'd be able to completely control the behavior!

However, I'm not sure if we can add automatically starting recordings due to Android's security. I'll have to look that up.

What do you think about that? This is quite a big feature, so I'd like to get your opinion on that first :D @notkudu and @sjbr your related feature requests #84 and #73 could also be implemented with a plugin this way - what do you think?

that does sound like a good solution

xandro0777 commented 5 months ago

There are 3 FOSS automation Apps in F-Droid - Easer, Automation and somewhat different Termux. Your idea with plugins is interesting but Easier/Automation can do many other things that would be a waste to reimplements in this App.

WinnyKing57 commented 4 months ago

Hello,

Integration of the Smartlife API or the ability to add Smartlife/Tuya devices would be great.