Didn't work, but also didn't kill the PW this time
Tesla Battery Debug ReturnCode:0
Tesla Battery Debug Text :<closed file '<fdopen>', mode 'rb' at 0x11097f5d0>
Tesla Battery Debug Error Running command. ?Powerwall offline
Tesla Battery Debug Calling
https://192.168.0.161/api/login/Basic with payload:{'username': 'installer', 'force_sm_off': False, 'password': 'xxxxx', 'email': 'pete@xxxxx'}
Tesla Battery Debug {"email":"pete@xxxxx","firstname":"Tesla","lastname":"Energy","roles":["Provider_Engineer"],"token":"xMlRzxxxxoyQtYw==","provider":"Basic","loginTime":"2020-05-12T08:59:55.031570923+01:00"}
Tesla Battery Debug xMlxxxxxxx4UToyQtYw==
Tesla Battery Debug Change Operation called. Number of Active Threads:2
Tesla Battery Debug Reserve Percentage is :1.0 and prior 1
Tesla Battery Debug Calling
https://192.168.0.161/api/operation with headers:{'Authorization': 'Bearer xMlRz68Cxxxxx4UToyQtYw=='} and payload {'backup_reserve_percent': 1.0, 'mode': 'backup'}
Tesla Battery Error {"code":500,"error":"invalid character 'b' looking for beginning of value","message":"Unable to set operational mode"}
Tesla Battery Error change Operation failed. Unsure why. Check error message.
Tesla Battery Error Restarting Sitemaster
Tesla Battery Debug setConfigCompleted called. Number of Active Threads:2
Tesla Battery Debug Calling
https://192.168.0.161/api/sitemaster/run with headers:{'Authorization': 'Bearer xMlRz68CpxxxxxxxHEA38rU4UToyQtYw=='}
Tesla Battery Debug
Tesla Battery Error Error setconfigComplete Operation : ValueError('No JSON object could be decoded',)
Traceback (most recent call last):
File "plugin.py", line 621, in setsitemasterRun
jsonResponse = r.json()
File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/models.py", line 816, in json
return complexjson.loads(self.text, **kwargs)
File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoPluginHost.app/Contents/Resources/PlugIns/simplejson/__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoPluginHost.app/Contents/Resources/PlugIns/simplejson/decoder.py", line 335, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoPluginHost.app/Contents/Resources/PlugIns/simplejson/decoder.py", line 353, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Tesla Battery Debug Error setting OperationNo JSON object could be decoded
Tesla Battery Debug update Tesla Battery Called
Tesla Battery Debug ThreadSendCOmmand called. Number of Active Threads:2
Tesla Battery Debug sendcommand called
Tesla Battery Debug HTTPS CURL result:
Tesla Battery Debug ReturnCode:0
Tesla Battery Debug SUCCESS Text :{u'percentage': 0}
Tesla Battery Debug Json results:{u'percentage': 0}
Tesla Battery Debug sendcommand r.json result:{u'percentage': 0}