Hi All
if anyone can point me in the right direction or code in python.py
i would like the url to fetch commands to a update a text file 5 sec.
the api key is temporary. and the data required is after PWER, PWER_GAC,PWER_IMM.
http://www.energyhive.com/mobile_proxy/getCurrentValuesSummary?token=Vtx...
Here are the results when pasting above url into a web browser.
[{"cid":"PWER","data":[{"1431848954000":5383}],"sid":"9271","units":"kWm","age":4},{"cid":"PWER_GAC","data":[{"1431848954000":5493}],"sid":"9271","units":null,"age":4},{"cid":"FBAK_IMM","data":[{"1431848951000":186}],"sid":"9271","units":null,"age":7},{"cid":"PWER_IMM","data":[{"1431848951000":4979}],"sid":"9271","units":null,"age":7}]
many thanks if you can help, i have looked tryied and googled with not much luck.
Justin Nash
justin@f2s.com
Some help with coding
Submitted by sparky77 on Sun, 17/05/2015 - 07:59Hi All
if anyone can point me in the right direction or code in python.py
i would like the url to fetch commands to a update a text file 5 sec.
the api key is temporary. and the data required is after PWER, PWER_GAC,PWER_IMM.
http://www.energyhive.com/mobile_proxy/getCurrentValuesSummary?token=Vtx...
Here are the results when pasting above url into a web browser.
[{"cid":"PWER","data":[{"1431848954000":5383}],"sid":"9271","units":"kWm","age":4},{"cid":"PWER_GAC","data":[{"1431848954000":5493}],"sid":"9271","units":null,"age":4},{"cid":"FBAK_IMM","data":[{"1431848951000":186}],"sid":"9271","units":null,"age":7},{"cid":"PWER_IMM","data":[{"1431848951000":4979}],"sid":"9271","units":null,"age":7}]
many thanks if you can help, i have looked tryied and googled with not much luck.
Justin Nash
justin@f2s.com