Page 1 of 1

Latest API Updates

PostPosted: Sat Nov 03, 2018 2:14 pm
by petematheson
Evening!

Just wondering if we could get this plugin updated with the latest API Integrations for Model S / X / 3?

From the iPhone App you now have the ability to enable speed limit mode, and I'm not sure if the latest 'pin to drive' features can be enabled / disabled from the API too?

I also sometimes see the below:
Tesla Control PAH Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 111, in vehicleStatus
File "plugin.py", line 54, in getVehicles
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/TeslaControl-2.indigoPlugin/Contents/Server Plugin/teslajson.py", line 65, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/TeslaControl-2.indigoPlugin/Contents/Server Plugin/teslajson.py", line 69, in get
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/TeslaControl-2.indigoPlugin/Contents/Server Plugin/teslajson.py", line 75, in post
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/TeslaControl-2.indigoPlugin/Contents/Server Plugin/teslajson.py", line 96, in __open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
HTTPError: HTTP Error 401: Unauthorized

Re: Latest API Updates

PostPosted: Sat Nov 03, 2018 2:29 pm
by howartp
I'll have a look as soon as I can.

PEter