• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Automatically switch CyanogenMod Profiles

jmk123

Lurker
Oct 12, 2012
2
0
Since I started using CyanogenMod, I have been using the Profiles functionality it includes, which lets me set a bunch of things for a specific profile, including everything sound related as well as things like whether to have WiFi, GPS, mobile data etc. on/off. For example, when I get into my car, I switch to my car profile that turns on GPS and mobile data and turns off WiFi. When I get to uni, I switch to my uni profile which turns off GPS and mobile data and turns on WiFi, and mutes all sound.


So I have just been switching profiles manually, and have been trying to find a way to have them switch automatically. I tried a bunch of different apps (Locale, Llama, PhoneWeaver), but none of them worked very well for this. So now I'm trying to do this with Tasker. I purchased this plugin to allow Tasker to change the CyanogenMod profile:https://play.google.com/store/apps/details?id=com.martinutils.profiletasker


I've been trying to play around with using Tasker and this plugin to automatically switch profiles for me, but I haven't had much success. I made a profile called Home, which is activated when I'm connected to my home WiFi and changes my profile to the Home profile. For the most part this seems to work. I then tried to make a profile called Car, which is activated when I plug the phone into my car dock. Tasker detects this, but it seems to activate both the Home and Car Tasker profiles, and does not switch to my CyanogenMod Car profile.


So does anyone have any ideas for how I can achieve what I'm trying?
 
I'd like to figure out a way to do the reverse of what the OP sought...

namely, initiate a Tasker task based on which CM Profile I choose.

I'm sure changing my CM Profile creates an event of some kind, but I wouldn't know where to begin to write a Tasker profile to sense it.

Any guidance here, gents?

What does your cm profile do? That would help find the trigger.
 
Upvote 0
Since I started using CyanogenMod, I have been using the Profiles functionality it includes, which lets me set a bunch of things for a specific profile, including everything sound related as well as things like whether to have WiFi, GPS, mobile data etc. on/off. For example, when I get into my car, I switch to my car profile that turns on GPS and mobile data and turns off WiFi. When I get to uni, I switch to my uni profile which turns off GPS and mobile data and turns on WiFi, and mutes all sound.


So I have just been switching profiles manually, and have been trying to find a way to have them switch automatically. I tried a bunch of different apps (Locale, Llama, PhoneWeaver), but none of them worked very well for this. So now I'm trying to do this with Tasker. I purchased this plugin to allow Tasker to change the CyanogenMod profile:https://play.google.com/store/apps/details?id=com.martinutils.profiletasker


I've been trying to play around with using Tasker and this plugin to automatically switch profiles for me, but I haven't had much success. I made a profile called Home, which is activated when I'm connected to my home WiFi and changes my profile to the Home profile. For the most part this seems to work. I then tried to make a profile called Car, which is activated when I plug the phone into my car dock. Tasker detects this, but it seems to activate both the Home and Car Tasker profiles, and does not switch to my CyanogenMod Car profile.


So does anyone have any ideas for how I can achieve what I'm trying?

You made a profile for wifi connected now make a profile for wifi not connected. If any know wifi spots are at your destination, make a profile for it.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones