Mango HTML & Javascript Web Interface (7/22/2015)

Today Zen and I began the process of duplicating our entire sensor network onto the Mango system
Because my Query function uses the Rest API's XID method, the point heiarchy does not matter to the webpage.
I just need to create data points with the appropriate XID.
We then began to add another energy data point: http://10.14.4.52:8080/data_sources.shtm
We then add a new TcpIp data source.
We then give it the XID that will be referenced by the JavaScript Rest API.
We also give it the correct host,
port,
and delimiter, so it knows where to get the data and how to parse it.
Once that is doen, we create a new data point.
We have to give it the appropriate
name,
XID,
data type,
set it as query-able,
give it a read command,
set a value regex,
and give it a value index.
After that is set, we also have to specify the
unit,
chart colour,
plot type,
logging type,
interval logging period,
value type,
chart type,
and chart limit.
However, it did not work.
In the meantime, we got the MangoES, an embeded sytem that is optimized for Mango.
In order to power it, we needed to splice our own power cord.
It works!
We then took it apart so that we could interface with it.
We found that there is a micro HDMI port on the circuit board, which we connected a display cable to.
Once we logged in, this came up!
we now have a headless Linux machine for running Mango that we can interact with through a shell.

Comments