... | ... | @@ -391,8 +391,8 @@ This request allows you to add a sensor value to the database of the back end. |
|
|
* **Required:**
|
|
|
|
|
|
```javascript
|
|
|
data=[json]
|
|
|
timestamp=[string]
|
|
|
data=[json] (Escaped ")
|
|
|
timestamp=[string] (In ms from 1.1.1970 (UNIX-TIME)
|
|
|
sensor_uid=[string]
|
|
|
```
|
|
|
|
... | ... | @@ -403,9 +403,9 @@ This request allows you to add a sensor value to the database of the back end. |
|
|
```json
|
|
|
{
|
|
|
"id": 14,
|
|
|
"data": "{'value':'25', 'unit':'°C'}",
|
|
|
"data": "{\"value\":\"25\", \"unit\":\"°C\"}",
|
|
|
"sensor_id": 1,
|
|
|
"timestamp": "20180321165642"
|
|
|
"timestamp": "1528727593510"
|
|
|
}
|
|
|
```
|
|
|
|
... | ... | |