return"this method configures the nodes whit a specific configuration set by us"
return"this method configures the nodes whit a specific configuration"
defnetwork_nodesConfiguration(self):
defget_nodes_Configuration(self):
#### COMPLETE THIS METHOD ##############
#### COMPLETE THIS METHOD ##############
return"this method returns a html containing the configuration of the network's nodes"
return"this method returns a JSON that gives an overview of the network and it's nodes' configuration parameters (like the ID, Wake-up Interval, Group 1 Reports, Group 1 Interval ...)"
@apiParam {Number} Group_Interval Number of seconds between measurements transmissions
@apiParam {Number} Group_Interval Number of seconds between two successive transfers of measures
@apiParam {Number} Group_Reports a Number identifying measurements sent
@apiParam {Number} Group_Reports Number identifying measures sent by the sensor
@apiParam {Number} Wake-up_Interval Number of seconds between two node's wake-ups
@apiParam {Number} Wake-up_Interval Number of seconds between two node's wake-ups
@apiSuccess {String} Message Description of the new nodes' configuration.
@apiSuccess {String} Message Description of the new nodes' configuration.
@apiDescription Configure all nodes of the network with a predefined configuration
@apiDescription Configure all nodes of the network with a predefined configuration. This methods configures only Group 1. All measurements (temperature, luminosity, motion and humidity) must be retrieved from the sensors after a given period of time (Group_Interval Number).
@apiDescription Gets the list of nodes and their configuration parameters in a JSON format. For each node, the system should provide the following information: Node ID, Motion sensor level, Wake_up_Interval and the report and interval of each group (there are three groups). See details in the documentation of the sensor: Aeon Labs MultiSensor 6 (Z-wave MultiSensor).
@apiDescription Gets a html with the list of nodes and their configuration parameters