curl --request GET \
--url http://localhost:3000/v1/equipment/sensors{
"sensors": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "fridge",
"inventory_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_temp": 123,
"current_humidity": 123,
"status": "online",
"last_reading_at": "2023-11-07T05:31:56Z",
"location": "<string>"
}
],
"ambient_average": 123,
"stats": {
"total": 123,
"online": 123,
"warning": 123,
"critical": 123,
"offline": 123
}
}Get a list of all temperature and humidity sensors with their current readings and status
curl --request GET \
--url http://localhost:3000/v1/equipment/sensors{
"sensors": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "fridge",
"inventory_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_temp": 123,
"current_humidity": 123,
"status": "online",
"last_reading_at": "2023-11-07T05:31:56Z",
"location": "<string>"
}
],
"ambient_average": 123,
"stats": {
"total": 123,
"online": 123,
"warning": 123,
"critical": 123,
"offline": 123
}
}