Roland
November 17, 2023, 11:29am
1
Hi, my curl command for sending nouise data to api-rrd.madavi.de API does not work.
curl --location --request POST 'https://api-rrd.madavi.de/data.php' --header 'Content-Type:application/json' --header 'X-Pin:15' --header 'X-Sensor:TTN-480F5BBD9E7C' --data-raw '{"software_version": "1.0", "sensordatavalues":[{"value_type":"DNMS_noise_LAeq","value":"21.21"},{"value_type":"DNMS_noise_LA_max","value":"22.22"}, {"value_type":"DNMS_noise_LA_min","value":"23.23"}]}'
Forbidden - sending interval too low ( < 30 seconds ) or wrong system
The next command does also not work:
curl --location --request POST 'https://api-rrd.madavi.de/data.php' --header 'Content-Type:application/json' --header 'X-Pin:15' --header 'X-Sensor:TTN-480F5BBD9E7C' --data-raw '{"software_version": "1.0", "sensordatavalues":[{"value_type":"DNMS_LAeq","value":"21.21"},{"value_type":"DNMS_LA_max","value":"22.22"}, {"value_type":"DNMS_LA_min","value":"23.23"}]}'
Forbidden - sending interval too low ( < 30 seconds ) or wrong system
With sensor.community API sending data works.
Do I need a dedicated device registration for api-rrd.madavi.de ?
ricki-z
November 17, 2023, 2:01pm
2
The api-rrd.madavi.de API is only for ESP8266 and ESP32 systems that were build following our instructions. It was intentionally installed to test these devices.
Roland
November 17, 2023, 2:52pm
3
Thanks, I was hoping to get access to past data (i.e. older than one day) from my noise sensor through this API.
Are there evaluations of the data regarding the parameters Lden, Lnight? (see: https://iris.who.int/bitstream/handle/10665/279952/9789289053563-eng.pdf?sequence=1 or https://eur-lex.europa.eu/legal-content/DE/TXT/PDF/?uri=CELEX:02002L0049-20210729 )
To calculate Lden the parameter Lday, Levening and Lnight are required.
ricki-z
November 19, 2023, 1:28am
4
Hello,
you can download all data from our archive (https://archive.sensor.community/ ). The API is only for near live data, as we collect around 10 mio. data points per day.
The noise data is ‘special’ as these are logarithmic values. Calculating the average of such values needs some more work…
There is a site, https://laerm.citysensor.de/ , that tries to calculate and visualize the values you mentioned.
Roland
November 19, 2023, 9:40am
5
Hello, thank you very much for the link to https://laerm.citysensor.de/ . That’s what I’m looking for.