Skip to content

Instantly share code, notes, and snippets.

View freak3dot's full-sized avatar

Ryan Johnston freak3dot

View GitHub Profile
@sawdog
sawdog / quick_sense_API_ref.txt
Created October 12, 2018 03:41 — forked from mbrownnycnyc/quick_sense_API_ref.txt
Quick intro reference for the Sense Home Energy Monitor thus far undocumented API. This was taken from the Sense Android app version 1.3.7-9be446d, which was available in Google Play store on February 6th, 2017.
-- Authentication --
URL: https://api.sense.com/apiservice/api/v1/authenticate
Method: POST
Fields:
email (your email)
password (your password)
response JSON:
{
@mbrownnycnyc
mbrownnycnyc / quick_sense_API_ref.txt
Created July 21, 2017 15:19
Quick intro reference for the Sense Home Energy Monitor thus far undocumented API. This was taken from the Sense Android app version 1.3.7-9be446d, which was available in Google Play store on February 6th, 2017.
-- Authentication --
URL: https://api.sense.com/apiservice/api/v1/authenticate
Method: POST
Fields:
email (your email)
password (your password)
response JSON:
{
@mbrownnycnyc
mbrownnycnyc / sense_api_powershell_examples.ps1
Created July 21, 2017 15:12
beginnings of sense home energy monitor undocumented API dive
### sense api powershell examples
# with reference:
# https://www.jokecamp.com/blog/invoke-restmethod-powershell-examples/
# https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.utility/invoke-restmethod
## enter your email address and password (will use securestring later)
$emailAddress = "email@contoso.corp"
$password = "insertpassword"
@rtuin
rtuin / HTML5 Skeleton template.html
Created March 25, 2011 22:06
HTML5 skeleton template
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>