This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This is a rough prototype for accessing device information from Sinope devices via their neviweb.com service and recording it to a Google Sheet | |
# TODO | |
# 1. move neviweb u/p into google auth json file in home directory | |
# 2. add outside temperature, avaliable from neviweb, but ideally from Bloomsky Weather Station | |
# 3. run as recurring cron job | |
from __future__ import print_function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
email = "[email protected]" # Your neviweb account login e-mail | |
password = "password" # Your neviweb account login password | |
gatewayname = 'Home' # Name of your neviweb network | |
dataServer = "https://neviweb.com/" | |
# TODO make this the login() function |