changed softwaretype mapping

This commit is contained in:
Lorenz 2025-05-09 16:55:19 +02:00
parent 1f4bd09761
commit 7c55c805a4

View File

@ -17,34 +17,19 @@ $WUNDERGROUND_TO_ECOWITT = array(
'yearlyrainin' => 'yearlyrainin',
'dateutc' => 'dateutc',
'solarradiation' => 'solarradiation',
'softwaretype' => 'model',
'softwaretype' => 'stationtype',
);
//POST (ecowitt):
// [PASSKEY] => 123*****************************
// [stationtype] => GW2000A_V3.2.4
// [runtime] => 296
// [heap] => 110140
// [dateutc] => 2025-05-08 16:00:56
// [tempinf] => 69.26
// [humidityin] => 61
// [baromrelin] => 28.804
// [baromabsin] => 28.804
// [tempf] => 69.44
// [humidity] => 60
// [vpd] => 0.290
// [winddir] => 69
// [windspeedmph] => 0.00
// [windgustmph] => 3.36
// [maxdailygust] => 11.41
// [solarradiation] => 0.15
// [uv] => 0
// [rainratein] => 0.000
// [eventrainin] => 0.000
// [hourlyrainin] => 0.000
// [dailyrainin] => 0.000
// [weeklyrainin] => 0.000
// [monthlyrainin] => 0.000
// [yearlyrainin] => 0.000
// [totalrainin] => 0.000
// [wh65batt] => 0
// [freq] => 868M
@ -54,26 +39,11 @@ $WUNDERGROUND_TO_ECOWITT = array(
//GET (wunderground):
// [ID] => 1
// [PASSWORD] => 1
// [tempf] => 69.44
// [humidity] => 60
// [dewptf] => 55.04
// [windchillf] => 69.44
// [winddir] => 69
// [windspeedmph] => 0.00
// [windgustmph] => 0.00
// [rainin] => 0.000
// [dailyrainin] => 0.000
// [weeklyrainin] => 0.000
// [monthlyrainin] => 0.000
// [yearlyrainin] => 0.000
// [solarradiation] => 0.15
// [UV] => 0
// [indoortempf] => 69.26
// [indoorhumidity] => 61
// [baromin] => 28.804
// [lowbatt] => 0
// [dateutc] => now
// [softwaretype] => GW2000A_V3.2.4
// [action] => updateraw
// [realtime] => 1
// [rtfreq] => 5