Skip to content

Commit

Permalink
skip TLS verification for tesla power wall self signed cert
Browse files Browse the repository at this point in the history
  • Loading branch information
TrystanLea committed Jul 8, 2020
1 parent 97581bc commit 1da8085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfacers/EmonHubTeslaPowerWallInterfacer.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def read(self):
if self._settings['url']:
# HTTP Request
try:
reply = requests.get(self._settings['url'], timeout=int(self._settings['readinterval']))
reply = requests.get(self._settings['url'], timeout=int(self._settings['readinterval']), verify=False)
reply.raise_for_status() # Raise an exception if status code isn't 200
except requests.exceptions.RequestException as ex:
self._log.warning("%s couldn't send to server: %s", self.name, ex)
Expand Down

0 comments on commit 1da8085

Please sign in to comment.