MangoES Data Points (8/5/2015)

Today I contianed to add data points to the new 33 Mango machine.
I started by indexing all of the sensors, their buildings, their IPs, and their type.
ELAB:
  • 10.14.54.2 elab energy (CBW)
  • 10.14.43.1 energy solar UPS (CBW)
  • 10.14.14.1 elab-inverters (CBW)
  • 10.14.35.1 inverter temperatures (CBW)
  • 10.14.41.1 energy a-b panels (CBW)
  • 10.14.42.1 energy c-panel and wind (CBW)
  • 10.14.65.12 elab solar (TED)
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Union:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
English:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Math:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Language:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Social:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Technology:
  • 10.9.250.8 energy it building 3 phase (CBW)
Gcac:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Science:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Library:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Pool:
  • 10.14.90.22 pool solar flows (CBW)
  • 10.14.90.21 pool pump flow (CBW)
Tennis:
  • 10.160.8.1 tennis (CBW)
Robertson:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Gpac:
  • 10.14.66.1 gpac energy (CBW)
Taylor:
  • 10.120.8.1 cafeteria (TED)
Gym:
  • 10.14.65.12 gym (TED)
Perry:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Carter:
  • Temp (Netatmo)
  • CO2 (Netatmo)
  • RH (Netatmo)
Total:
  • 10.14.44.1 helco main meter (CBW)
?:
  • 10.180.65.1 cottage1 (TED)
  • 10.180.65.2 cottage2 (TED)
  • 10.180.65.3 cottage3 (TED)
  • 10.180.65.5 cottage5 (TED)
  • 10.14.64.5 hoku energy (CBW)
  • 10.14.6.188 x-320 hoku (CBW)
  • 10.14.26.1 energy-hvac (CBW)
  • 10.14.64.1 Hokuula (TED)
I then decided to work on the interface. and fix the flicker glitch.
Basically, if one hovered on an SVG from the right, the update window would flicker between block and none.
I found that this is because the code to hide the window is called onmouseout of the SVG. This means that onmouseon triggers the window, creates a new z layer between the mouse and the SVG, effectively calling the onmouseout function.
This happened in a loop, which causes the flickering.
To fix this, I manually moved all of the update windows the the right of the SVGs.
Now, when someone hovers on the SVG, there is no way the update window can get between the SVG and the mouse.
I then had to fix the query update problem.
Our page would call the query function on page load, but would then stay still, one would have to reload the entire page to get new data.
Thus, I put my query function inside a window.setInterval, so that the data would update live.
Now, one does not have to reload the page, it automatically stays live!
I then went through all of my sensor queries and changed the last parametor to match the future XIds, rather than the XIds of the test virtual point.
All that is left is to add the actual data points to Mango, and everything should work.

Comments