AMBIsense: Difference between revisions

From ASAsense Documentation (staging)
English source text for translation
Marked this version for translation
 
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
== Data formats ==
== Data formats == <!--T:1-->


<!--T:2-->
Within the AMBIsense solution, measurements of the 1/3-octave band spectrum are performed. The results of these measurements can be exported in multiple formats:
Within the AMBIsense solution, measurements of the 1/3-octave band spectrum are performed. The results of these measurements can be exported in multiple formats:


<!--T:3-->
* as a self-explanatory CSV table;
* as a self-explanatory CSV table;
* as one of the following very simple, yet efficient proprietary binary formats:
* as one of the following very simple, yet efficient proprietary binary formats:
Line 10: Line 12:
** an [[ASAsense Binary Table (ABT) format/en|ABT]] file: a binary table format with fast and efficient random access (both on row and column level).
** an [[ASAsense Binary Table (ABT) format/en|ABT]] file: a binary table format with fast and efficient random access (both on row and column level).


== Instant measurements ==
== Instant measurements == <!--T:4-->


<!--T:5-->
The AMBIsense sensors can be configured to send instant measurements to a dedicated MQTT broker. These have the following structure:
The AMBIsense sensors can be configured to send instant measurements to a dedicated MQTT broker. These have the following structure:


<!--T:6-->
* audio measurements (8 messages / s):
* audio measurements (8 messages / s):
** topic: <code>/instant/<deviceName>/measurements</code>
** topic: <code>/instant/<deviceName>/measurements</code>

Latest revision as of 10:22, 14 October 2026

Data formats

Within the AMBIsense solution, measurements of the 1/3-octave band spectrum are performed. The results of these measurements can be exported in multiple formats:

  • as a self-explanatory CSV table;
  • as one of the following very simple, yet efficient proprietary binary formats:
    • a phen1 file: a very restrictive format that keeps small datasets as small as possible, while maintaining random access on row level;
    • an ABT file: a binary table format with fast and efficient random access (both on row and column level).

Instant measurements

The AMBIsense sensors can be configured to send instant measurements to a dedicated MQTT broker. These have the following structure:

  • audio measurements (8 messages / s):
    • topic: /instant/<deviceName>/measurements
    • payload, in msgpack:
      • timestamp: float
      • dBA: float (sound level)
  • classifications (frequency depends on the model):
    • topic: /instant/<deviceName>/classification/<modelId>/<modelVersion>
    • payload, in msgpack:
      • timestamp: float
      • confidences: float[] for each class