Page 1 of 1

commandfusion energymonitoring through webserver

Posted: Wed Apr 12, 2017 6:04 pm
by svb05
Dear people

I have to couple an energymonitoring system to a domotica device. The main goal is that I can read the graphiques that are given in JSON format by the energywebserver in commandfusion.

I have no idea how I have to program and I need this for my bachelor degree. So far I have been looking everywhere but I can't find a start on anything.

I need a login button
A show graphique button
A log out button

The first button should send this: "http://21.121.123.76:8080/pieter?XP1234&" to the webserver.

The next button should send this: "http://21.121.123.76:8080/pieter?54&0=GetLogDay&16&0&30&"
Note: There should be an instruction that I somehow can change the last 3 numbers. (these numbers are: year & Start day & End day)

when you go to the url above you receive a the requested data in JSON format. The Jason format should be put into a graphique.

The Last button should send this: "http://21.121.123.76:8080/pieter?54&Logout99&"


If anyone can help me a little I might get there. (The urls probably don't work because every system has an other IP en username)

Thanks in advance I appreciate any response

Greetings
Sjorven Van brempt