Skip to content

Commit

Permalink
missing dep and default endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric George committed Jul 4, 2017
1 parent 223f7f1 commit 0d66c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
install_requires=[
'RPi.GPIO',
'requests',
'adafruit-pureio',
'adafruit-mcp3008',
],
scripts=['wsp_control/runwsp.py'],
Expand Down
2 changes: 1 addition & 1 deletion wsp_control/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class PIN:
PROBE_AIR = ('28-000004f230a3', 0, 'Air')

""" HTTP Endpoints """
API = os.environ.get('HTTP_ENDPOINT')
API = os.environ.get('HTTP_ENDPOINT', 'https://wottonpool.co.uk/panel/data')
TEMP_ENDPOINT = os.path.join(API, 'temperature/')
FLOW_ENDPOINT = os.path.join(API, 'flow/')
PUMP_ENDPOINT = os.path.join(API, 'pump/')
Expand Down

0 comments on commit 0d66c26

Please sign in to comment.