That depends on how often you are connected to wifi. You could also have it not search for a blue tooth connection when you are home. Or only when you disconnect from the car and home is not set. That would probably be best.
Context - %HOME = 0
Context - Disconnected from car's bluetooth specifically.
Set %BTREADY to 1
Exit - Set %BTREADY to 0
Context - From time (when you wake up) till (when you go to bed) repeat every 5 minutes
Context - %BTREADY = 1
Tun Bluetooth On
wait 30 second
Turn Bluetooth off if %BLUEC = 0
Context - Bluetooth Connected
Set %BLUEC to 1
Exit - Set %BLUEC to 0[/QUOTE]
So I tried this today, but ran into some problems:
The first profile you suggested above I set up as follows:
Context: Not BT Connected (specfically to my car named BT)
Context: Variable Set: %HOME Value 0
Task: Variable Set: %BTREADY set to 1
**You wanted to set up an exit task here, but I'm not given that option. Have I set something up wrong?
These are the way I set up Profiles 2 and 3. Do they look OK to you?
Context:From 0800-2300 repeat every 5 mins
Context: Variable set %BTREADY Value 1
Task: Set Bluetooth On
Task: Wait 30 seconds
Task: Set Bluetooth Off if %BLUEC matches 0
Context: Bluetooth Connected
Task: Variable Set %BLUEC to 1
Exit Task: Variable Set %BLUEC to 0
** I am unsure of what "[/QUOTE]" means in your profile above**
Could you explain??
Obviously, I'm pretty new at this, so your help is *really* appreciated. Thanks.
For profile one don't use the event variable set, use the state variable value, then you can get an exit task. When events trigger they just run through the commands so there is no reason for an exist task. States can exist over time so they can have exit tasks.
Other than that it looks good.
Last edited by NebulaOcton; 12-08-2010 at 05:23 AM.
I created this for myself. When I put the phone on my desk, shelf, etc. the phone won't vibrate. When I put it in my pocket however, it will.
Variable|Variable Set|%PHONEFLAT To 1|Do Maths
Audio|Vibrate On Ringer|On
Audio|Vibrate On Notify|On
Audio|Vibrate On Ringer|Off
Audio|Vibrate On Notify|Off
Context: State|Not Orientation Face Up|Invert
Context: State|Not Orientation Face Down|Invert
Context: State|Variable Value|%PHONEFLAT|Maths:Equals|0
Important: Assign a higher priority to the profile PhoneNotFlat to make sure this is determined before the Vibration is set.
Of course you may make a few tweaks. For example, I use PhoneNotFlat for other things too, so maybe you don't need the "Do Maths". You also might not need the exit tasks; I just put them in to cover myself.
Last edited by theSC00BZ; 12-09-2010 at 05:58 AM.
On you Wifi Off profile:
Wait 1 minute until %WIFIC~0
Profile Status Home to off
Profile Status Wifi Near Home to off (this is the label I use yours might be different)
Variable set %HOME to 0
Wifi Off (yes again)
Wait 10 seconds
Profile Status Home to On
Profile Status Wifi Near Home to On
Profile Statis Wifi Off to Off
The bold is new. If you need help programming this let me know. I want to run it for a few days to ensure it works before I update the wiki.
If you could type out the steps for this like the Wiki, I'd appreciate it. If it's just changing the Wifi off profile I'll delete it and make a new one.
Sorry, this app is just confusing to me.