I'm exporting data to a file however there is no way to differentiate among devices.
Readings of all the sensors is set to "
System" so in case of multiple Temperature readings, I can't tell which is which in the file.
It's like that in both json and xml formats.
It would help if it showed up in the file with the actual device name.
.
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{
"time": "2024-02-07T20:36:56.449",
"t": "2024-02-07T20:36:56.449",
"value": 42,
"name": "Temperature",
"unit": "\u00B0C",
"valueType": "TEMPERATURE_C",
"device": "System"
},
{
"time": "2024-02-07T20:36:56.449",
"t": "2024-02-07T20:36:56.449",
"value": 62,
"name": "Temperature",
"unit": "\u00B0C",
"valueType": "TEMPERATURE_C",
"device": "System"
},
{
"time": "2024-02-07T20:36:56.449",
"t": "2024-02-07T20:36:56.449",
"value": 62,
"name": "Temperature 1",
"unit": "\u00B0C",
"valueType": "TEMPERATURE_C",
"device": "System"
}
|