How to use the teslajs.SUNROOF_VENT function in teslajs

To help you get started, we’ve selected a few teslajs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DoctorMcKay / node-tesla-data / tesladata.js View on Github external
"vent_sunroof": function(callback) {
		Tesla.sunRoofControl({"authToken": g_BearerToken, "vehicleID": Config.tesla.vehicleId}, Tesla.SUNROOF_VENT, callback);
	},
	"close_sunroof": function(callback) {