I am currently assembling a system where a variety of sensors are connected to mango. I was wondering if using the HTML component, there is a way to insert data coming from a point data source.
For example, I have a sensor that gives color data in R, G, B format, and I would like to be able to write HTML where the background of a table is the same color as what the sensor is picking up.
To do this I would need to be able to write inside the HTML:
<table bgcolor="rgb(RED_DATA_POINT, BLUE_DATA_POINT, GREEN_DATA_POINT)" border="1"><tr> <td>Sensor Color</td> </tr></table>
Any ideas would be appreciated. Basically I would like to extract the data from data points and use them in a varieity of ways in the graphical views.
Thanks in advance.