This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

https://engage.efergy.com/
#1
Hi!

Is it possible to get power data from efergy? 
I have an engage hub connected to my power intake., this give me live values on an external screen, in addition
to storing historical data on their website.
maybe there is an API for this? i dont know.
does anybode have an idea?
Reply
#2
I don't see an API that can be used, but you probably can emulate user interaction by performing login and data requests via scripts. Here's a similar example: https://forum.logicmachine.net/showthrea...74#pid5774

Or you can send your login details via PM and I can have a look if a short example can be made.
Reply
#3
Hi!

I have googled a bit, and it seems like energyhive / efergy contains the same data. take a look at this:

http://www.energyhive.com/content/about/develop
Reply
#4
Here's a minimal example, you need to provide a valid token for it to work:
Code:
json = require('json')
http = require('socket.http')
escape = require('socket.url').escape

token = '...'
url = 'http://www.energyhive.com/mobile_proxy/getCurrentValuesSummary?token=' .. escape(token)

res = http.request(url)
res = json.pdecode(res)

log(res)
Reply


Forum Jump: