I pulled this profile setup from the Wiki and I can't figure out exactly how to setup the MPH conversion--can anyone pls provide some detail on that particular portion of the profile? Here it is:
Auto Respond While Driving
Download
This profile will automatically respond to any received SMS when you are driving (or moving).
How it works.
Upon receiving a text the phone will check if it is near WiFi, this prevents the phone from grabbing GPS Locations if you are sitting at home/office, the task checks to see if your GPS is enabled (if not, it will enable it) then grabs your current location. It will only respond to the text if your speed is faster than 5 mph. There is an additional task to convert the %LOCSPD from m/s to MPH and sets variable %LOCSPDMPH.
Need to create an additional task.
This profile calls another task called "Convert_LOCSPD_MPH." You will need to create that. The task is simply a "Variable Set" of variable %LOCSPDMPH, set that to %LOCSPD * 2.23693629. Select the "Do Maths" option. This makes it easier to know how fast you are going. This is the portion I cannot figure out--Can someone please provide step-by-step instructions? Thank you!
Near WiFi
One of the conditions for the profile is to see if you are close to your home/office WiFi. This prevents unnecessary GPS Location lookups if you are sitting at home. THIS IS SET TO MY HOME'S SSID You should modify (for your home/office) or remove the condition.
SMS to Send
This is currently set to: "(Auto) Texting and driving is dangerous. I'm currently driving (at %LOCSPDMPH MPH). Will respond to you when I can safely."
You can modify if you like. Watch out if you are a speeder!
Figured it out:
After you import this profile from the Tasker Wiki, all you have to do is this:
Open Tasker and press the Tasks button at the bottom of the screen.
Select New Task at the top of the popup.
Name the new task "Convert_LOCSPD_MPH" (without quotations)
Select the "+" to enter an action
Select Variable
Select Variable Set
Name the Variable Set: %LOCSPDMPH
In the "To" field enter: %LOCSPD*2.23693629 (there should be no spaces)
Put a check mark in the "Do Maths" box
Select "Done" to save your action
You should be done. Now to test:
Send yourself an SMS Message so the following test applies to you and not the last person who texted you.
Open your imported Tasker profile and edit the Auto Respond (If Driving) task.
Select action number 5, the Send SMS action.
Uncheck the "If" condition at the bottom of the action and select Done to close the window.
On the next screen, select Test, wait for the Kill All button to disappear, then hit cancel (so you don't have to go back and check the if condition--it'll already be checked because you cancelled instead of saved).
Wait for your message to appear--your message should state you're traveling at 0 MPH.
Hope this works well for everyone!
I don't have a Tasker Wiki acct, so if the readers here want to update the Tasker Wiki with this info, be my guest.