Additional condition on "Set CyanogenMod Profile"

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
lchiocca
Posts: 69
Joined: 15 Aug 2013 10:11

Additional condition on "Set CyanogenMod Profile"

Post by lchiocca » 15 Jan 2015 09:05

Hi Martin,

Would it be possible to add an additional property to the "Set CyanogenMod Profile" action that would only set it, if it's not already active? The reason is simple: when the profile is triggered, cyanogenmod will set all the conditions of the profile. In my case I've got a gsm-cell location based trigger that knows if I'm at home. In that case, it triggers the cm profile "home" which will disable mobile data and disable bluetooth. In some rare occasions, I do want to enable bluetooth and it works for a couple of minutes until I get some strange gsm-cell that I haven't entered in my list. In that scenario, as soon as I get back into a valid home-gsm-cell, the "home" cm profile is retriggered and bluetooth is turned off. Naturally, always when I use the bluetooth headset ;)

So in summary: Would it be possible to add a checkbox "Only if not already active"?

Thanks
Loris

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Additional condition on "Set CyanogenMod Profile"

Post by Martin » 16 Jan 2015 13:03

Hi Loris,

I see, no problem. I will add a new condition to check the active CM profile since it's more flexible and also covers your case.

Regards,
Martin

lchiocca
Posts: 69
Joined: 15 Aug 2013 10:11

Re: Additional condition on "Set CyanogenMod Profile"

Post by lchiocca » 19 Jan 2015 14:06

Thanks Martin! Your the best :)

lchiocca
Posts: 69
Joined: 15 Aug 2013 10:11

Re: Additional condition on "Set CyanogenMod Profile"

Post by lchiocca » 19 Jan 2015 14:16

Works perfectly!

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Additional condition on "Set CyanogenMod Profile"

Post by Martin » 20 Jan 2015 19:52

Your welcome. Thanks for testing.

Locked