Patent ID: 8145767

Claim:
A sensor device comprising: a control section controlling (a) establishment of a communication path to a server node and (b) communication with the server node, the control section being configured to, at the establishment of the communication path to the server node, perform: (I) detection of the server node that is connectable; (II) transmission of information on the communication path including the server node detected as one of candidate communication paths to a managing server that is in a higher level of the server node; (III) reception of information from the server node in the communication path selected, the information including: key information, inputted into the managing server, for determination of the communication path; the communication path selected from the candidate communication paths at the managing server; a building ID of the server node in the communication path selected; and a room ID of the server node in the communication path selected; (IV) notification of (a) the individual ID of the sensor device and (b) agreement between the key information and sensor device key information to the managing server; and (V) storage of the building ID of the server node and the room ID of the server node received as a building ID of the sensor device and a room ID of the sensor device, the (IV) notification and the (V) storage being performed only in a case where the key information agrees with the sensor device key information, the control section thus completing the establishment of the communication path, the sensor device being managed based on the building ID, the room ID, and the individual ID, and carrying out (a) wireless communication with the server node by using the building ID and the room ID stored in the sensor device and (b) communication with the managing server via the server node, the building ID specifying a building, the room ID specifying a room in the building, the individual ID specifying each device, the server node being a higher-level node, the managing server being a top-level node managing the server node.