- Posted on
Mon Sep 23, 2019 1:42 am
-
palantir
offline
-
- Posts: 73
- Joined: Sep 24, 2014
Hmm. Not for me, this fix.
1) I double-checked and also re-loaded the plugin from Github. It's definitely 1.0.13
2) I have three devices created: Battery Level, Remaining Miles & Minutes to Full. Similar to what Alain wrote, the Vehicle car was unselected from all of them. No clue why. So I reselected the Car (my Model3 is properly listed there so there is comms) and then save.
3) I then deleted all three devices and reloaded the plugin, basically as if I first installed it. Still no luck; same symptom showing.
Here's my debug logging when I try to update data:
Schedule Check battery
Tesla EV Control Tesla request charge_state for vehicle 9489213252643648: Initialising
Tesla EV Control Error HTTP Error 408: Request Timeout
Tesla EV Control Error Timeout retrieving status: charge_state
Tesla EV Control Debug Traceback (most recent call last):
File "plugin.py", line 235, in vehicleStatus2
self.response = vehicle.data_request(statusName)
File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/TeslaControl.indigoPlugin/Contents/Server Plugin/teslajson.py", line 128, in data_request
result = self.get('data_request/%s' % name)
File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/TeslaControl.indigoPlugin/Contents/Server Plugin/teslajson.py", line 141, in get
return self.connection.get('vehicles/%i/%s' % (self['id'], command))
File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/TeslaControl.indigoPlugin/Contents/Server Plugin/teslajson.py", line 67, in get
return self.post(command, None)
File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/TeslaControl.indigoPlugin/Contents/Server Plugin/teslajson.py", line 76, in post
return self.__open("%s%s" % (self.api, command), headers=self.head, data=data)
File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/TeslaControl.indigoPlugin/Contents/Server Plugin/teslajson.py", line 94, in __open
resp = urlopen(req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 408: Request Timeout
Tesla EV Control Debug Incomplete
Tesla EV Control Debug
Feels like it's a time-out thingy, communicating with the car. When I first installed the plugin, the car was charging. Now it is not charging and probably sleeping, I woke up the car with the Tesla app and things started working - sort of. It's not consistently updating the charge state but I get data regularly. And now and then an HTTP Error 408 as well...
Also, the car is in my underground parking garage so signal is not superb. Sometime the Tesla app cannot contact the car; the next time it typically works.
Perhaps this helps pinpointing the root cause?
Many thanks,
Ronald