OpenSenseMap Latest Sensor Readings
opensensemap.sensors.latestRetrieve current readings from every sensor on an OpenSenseMap station in one call, returning values, units, types, and timestamps for real-time environmental monitoring.
Instructions
Get the latest measurement value for every sensor on an OpenSenseMap station in a single call. Returns all sensor readings simultaneously: temperature, humidity, pressure, PM2.5, PM10, UV, CO₂, and any other sensors installed on the station. Each reading includes sensor ID, title, unit, sensor type, current value, and timestamp of measurement. Sensors with no recent data show last_value: null. Use box_search or box_detail to find the box_id first, then use sensor IDs from results with sensor_timeseries for historical data. Ideal for real-time environmental monitoring dashboards. Source: OpenSenseMap, PDDL 1.0 public domain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box_id | Yes | OpenSenseMap station (box) ID — the 24-character MongoDB ObjectId from box_search results. Returns the latest measurement value for every sensor on this station. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |