henrichg / PhoneProfilesPlus

Profile manager for Android - event triggered
Apache License 2.0
417 stars 32 forks source link

Leave do not disturb active, if it has a timer #130

Closed Solar-Simon closed 4 months ago

Solar-Simon commented 5 months ago

Hi there, I would like to use the 'Do not disturb' feature in a smarter way. I use Profiles Plus to activate Profiles when I am at home / work...

If dnd is set unlimited, I would like to configure my profiles to turn it automatically of on location change.

If dnd is set to a certain time, I want to leave dnd untouched.

Does it make sense?

henrichg commented 5 months ago

Hm, you want to keep DND ON at configured time even when location is changed? Or how? If you want to set DND at time + location, then use event with Time + Locaiton sensor.

Solar-Simon commented 5 months ago

Hm, you want to keep DND ON at configured time even when location is changed? Or how? yep, if dnd has a time (which you can decide when switching dnd on) if dnd is set without timer, I wand to switch dnd of

In other words, if I set dnd for 2 hours, I want to have it for two hours, even on location change If dnd is set unlimited, location change may turn dnd of.

If you want to set DND at time + location, then use event with Time + Locaiton sensor.

nope :)

henrichg commented 5 months ago

This is not possible with one event. Add two, first with Time sensor, second with Location sensor. In both activate the same profile with dnd on.