Field Name | Field Type |
---|---|
node_id | bigint |
timestamp | timestamp |
temperature | double |
humidity | double |
air_qual | double |
Field Name | Field Type |
---|---|
node_id | bigint |
node_location | varchar(256) |
Method | Endpoint | Usage |
---|---|---|
GET | /config | Gets the client configuration from the server. |
POST | /data/{id} | Submits climate data to the server. |
POST | /nodes | Adds a new node to the server. |
DELETE | /nodes/{id} | Deletes a node from the server. |
PUT | /nodes/{id} | Updates the location of a node on the server. |
time_interval: {time_interval} (Time interval between submissions)
node_id: {node id}
temperature: {temperature}
humididty: {humidity}
air_qual: {air quality value}
timestamp: {timestamp}
node_id: {node id}
node_location: {location}
node_location: {location}