12.02.2013 Views

Industrialised, Integrated, Intelligent sustainable Construction - I3con

Industrialised, Integrated, Intelligent sustainable Construction - I3con

Industrialised, Integrated, Intelligent sustainable Construction - I3con

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SUSTAINABLE CONSTRUCTION HANDBOOK 2<br />

Figure 5. I3CON Network Health Monitoring - health display<br />

The start time and end time of the health assessment are displayed together with a list of health<br />

warnings that were identified. Clicking on an entry in the table will display the details for the WSN<br />

device that is the source of the problem. Clicking the Refresh Health Warnings button will cause a<br />

new health assessment of the WSN to be started immediately.<br />

144<br />

Health Monitoring Application Interface to Virtual Gateway<br />

The WSN Health Monitoring application relies on data provided by the Virtual Gateway in order to<br />

provide accurate information about the state of the WSN. The Health Monitoring application<br />

implements a REST style interface that the Virtual Gateway uses to provide sensor measurements and<br />

mote battery status updates.<br />

To update the battery level of a mote, the Virtual Gateway should perform a HTTP PUT to the<br />

following URL:<br />

http://:/i3con-manager/REST/<br />

gateways//motes//batteryLevel/<br />

The data associated with the PUT request must be an XML document specifying the battery level in<br />

the following format:<br />

1.55<br />

If the PUT request is successful the application will return a response with status code 200 (OK) and a<br />

body containing an XML document describing the mote, including the updated battery level.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!