• 10.07.2025, 08:25
  • S’inscrire
  • Connexion
  • Vous n’êtes pas connecté.

 

Bedas

Newbie

aquasuite / Automatic data exports: All sensors named as System

mercredi 7 février 2024, 21:58

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.
.


Code source

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"
	}

sebastian

Administrator

jeudi 8 février 2024, 10:26

in the next version we add a new memeber "DataSourcePath" as identifier to the export.

Bedas

Newbie

jeudi 8 février 2024, 21:41

in the next version we add a new memeber "DataSourcePath" as identifier to the export.
Thx for the quick response.
That would be awesome :)
Maybe like a dot-separated path with spaces removed in each item of the tree ..that would work just perfectly ... :)

Discussions similaires