About | Allen Wong | Apps | User Guides | Help | Contact

Remote Web Commands

When you build a page and go to it using the Remote in-app browser, you can send commands to your car using javascript or html or any other language that can redirect the browser to a special url. For example, if you want to honk the horn, you can create a link that links to horn:// instead of http:// and it will honk your car's horn. For this particular command, it doesn't matter what comes after the "horn://". But some commands do require parameters after it. To create complex commands, you can create a javascript function that repeats after a certain time or runs during a certain time of the day. You can also combine several commands into one button. The javascript command for the horn, for example, is simply window.location = "horn://";

Honk Horn
Use horn:// to honk the horn

Flash Light
Use light:// to flash the lights

Wake Up
Use wake:// to wake up your car

HVAC Off
Use hvac://on to turn on the HVAC, and hvac://off to turn it off.

Lock Car
Use lock://on to lock your car, and lock://off to unlock it.

Close Roof
Use roof://open to open your roof fully, roof://comfort to open it halfway, roof://vent to vent your roof, and roof://close to close it.

Set Temperature Settings
Use temp://21.0?22.0 set your temperatures settings to 21 degrees celsius for the driver, and 22 degrees celsius for the passenger. The command only takes celsius, so convert your fahrenheit degrees to celsius prior to sending the command. The question mark separates the two temperatures.

Start Car
Use start://password to start your car, where password is supposed to be your My Tesla password. Your car will not start without it. The button above will not work because it has the wrong password.

Set Charge Limit to 90%
Use limit://90 to set your charge limit to 90%. Replace 90 with any number between 50 to 100.

Turn Charging Off
Use charge://on to turn on charging, and charge://off to turn it off.

Open Charging Port
Use port://open to open the charging port, and port://close to close it.

Do Nothing
If you use the donothing:// protocol, the app will do nothing. This is useful if you use "onclick" but needed a dummy url for the "href" part of an "a" HTML element.

Advanced techniques
Once you have your OAuth token and vehicle ID, you can have your webservers send the commands directly and bypass the app. The documentation on how to do that are found online, but will not be duplicated here. Getting the OAuth token was the hard part in the process, and Remote S will copy it to your clipboard for you on your command to send to yourself and use on your own website. Never expose your OAuth token to anyone else. It is all someone needs to control your car. For this reason, you should only trust websites that you create with these commands. If someone obtained it already, just change your My Tesla password to invalidate that old token.

Like our app? Let people know!

Rate Our App