Ciao a tutti, mi servirebbe un vostro parere di esperti :-)
Dopo aver preso le info dalla WS2350 e mandato i dati dal mio sistema di domotica, mi piacerebbe fare dei grafici... :-)
Visto che connetto direttamente la stazione senza usare heavywheater, devo salvare un log, ma sono indeciso su quale formato usare per questo log:
- simile a history.dat di heavyweather 1.1?
- simile a history.dat di heavyweather 2.0beta?
- un formato tutto mio?
Il file di HW1.1 si porta dietro questi dati:
ROW
OFFSET  Type        Name               Unit
------  ---------   ----------------   -----
00      Double [8]  Timestamp          days from 12/30/1899 00:00:00 (GMT)   
08      Float  [4]  Abs Pressure       hectopascals (millibars)
12      Float  [4]  Relative Pressure  hectopascals (millibars)
16      Float  [4]  Wind Speed         meters/second
20      ULong  [4]  Wind Direction     see below
24      Float  [4]  Wind Gust          meters/second !!!cos'è questo?!!!
28      Float  [4]  Total Rainfall     millimeters
32      Float  [4]  New Rainfall       millimeters
36      Float  [4]  Indoor Temp        celsius
40      Float  [4]  Outdoor Temp       celsius
44      Float  [4]  Indoor Humidity    %
48      Float  [4]  Outdoor Humidity   %
52	  ULong  [4]  unknown            - (Value is always 0)
 
Il file di HW2.0 si porta dietro questi dati:
Row
Offset  Type       Name              Unit
------  ---------  ----------------  -----
00      ULong [4]  unknown           - (Value is always 1)
04      ULong [4]  Timestamp         seconds from 1/1/1900 00:00:00 (GMT)
08      Float [4]  Abs Pressure      hectopascals (millibars)
12      Float [4]  Wind Speed        meters/second
16      ULong [4]  Wind Direction    see below
20      Float [4]  Total Rainfall    millimeters
24      Float [4]  Indoor Temp       Celsius
28      Float [4]  Outdoor Temp      Celsius
32      UWord [2]  Indoor Humidity   %
34      UWord [2]  Outdoor Humidity  %
At the end of the file is an additional 28 bytes providing information about
the dataset as a whole.
Offset  Type       Description
------  ---------  ----------------
00      ULong [4]  unknown 
04      Ulong [4]  unknown (0)
08      Float [4]  unknown (5.698)
12      ULong [4]  unknown (0)
16      ULong [4]  Number of rows
20      ULong [4]  Timestamp of the first row of data
24      ULong [4]  Timestamp of the last row of data
 
In nessuno di questi formati c'è windchill, punto di condensa e la pioggia oraria e giornaliera, valori che mi piacerebbe loggare...
Cosa mi consigliate?
Grazie!