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?