Tuesday, March 14, 2017

Sense home energy monitor api

I saw today that Sense is supporting IFTTT --  which means there may now be an API available.

I haven't had a chance yet to dig in too deep, but it looks like there is no documentation yet for it.

Looking at some network traffic --

Some initial endpoints
https://api.sense.com/api/v1/oauth/authorize?code={auth code}
{"status":"error","error_reason":"client_id is required, response_type is required, scope is required, state is required"}

client_id is ifttt when authorizing IFTTT
scope is ifttt in this case
response_type is code
state looks like a session state value

Sense home energy monitor