acc: acceleration
Raw three-axis acceleration from the sensor, in g, with temperature and wind recorded at each packet.
The acc table holds the raw accelerometer signal. The sensor records it in packets: each packet is a short block of evenly spaced samples on all three axes. The API turns each packet into series with a time for every sample.
Fields
| Field | Type | Unit | Description |
|---|---|---|---|
acc_x, acc_y, acc_z | series | g | Acceleration on each axis, one point per sample. With combined_tuple or combined_dict these become one acc series. |
tamb | series | °C | Temperature, one point per packet, at the packet time. |
w_s | series | m/s | Wind speed from a connected anemometer, one point per packet. Zero when none is connected. |
w_d | series | degrees | Wind direction, in steps of 22.5°, one point per packet. Zero when none is connected. |
odr | number | Hz | Output data rate: samples per second per axis. Only with merge=false. |
scale | number | g | Full-scale range the sensor was set to. Only with merge=false. |
seq | integer | Packet counter from the device. Only with merge=false. |
The series layout depends on output_format.
One item or one per packet
With merge=true (the default), the API joins every packet in the page into one item, so acc_x is one long series. Its datetime is the time of the first packet. With merge=false, each packet is its own item, and datetime is the time of that packet's last sample.
Example
curl -s "https://api.semitronica.pt/asense/v2/?table_name=acc&id=ASENSE00000005&start_time=1764550800000&end_time=1764554400000&output_format=combined_tuple" \
-H "x-api-key: $ASENSE_API_KEY"
{
"data": [
{
"id": "ASENSE00000005",
"datetime": "2025-12-01T01:01:02.370000Z",
"acc": [[1764550861110.0, 0.0093, -0.0011, 0.9996], ["..."]],
"tamb": [[1764550862370, 14.2], ["..."]],
"w_s": [[1764550862370, 0.0]],
"w_d": [[1764550862370, 0.0]]
}
],
"next_timestamp": 1764550990001
}
The values above are illustrative and shortened. Use pagination to read a whole measurement window.