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/
#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


Messages In This Thread
https://engage.efergy.com/ - by Bobby - 22.01.2019, 21:08
RE: https://engage.efergy.com/ - by admin - 23.01.2019, 07:25
RE: https://engage.efergy.com/ - by Bobby - 24.01.2019, 16:46
RE: https://engage.efergy.com/ - by admin - 25.01.2019, 07:24

Forum Jump: