Skip to content

Instantly share code, notes, and snippets.

View toddq's full-sized avatar

Todd Quessenberry toddq

View GitHub Profile
@mdrovdahl
mdrovdahl / neviweb.py
Last active December 20, 2016 05:47
Rough access to SinopeTech Smart Thermostat Data
#!/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
@mdrovdahl
mdrovdahl / neviweb.py
Created April 11, 2016 05:29
Rough access to SinopeTech Smart Thermostat Data
#!/usr/bin/env python3
import requests
email = "joe@example.com" # 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