2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

46_TRX_WEATHER.pm: Added TFA_RAIN as a supported device (thanks to Adimarantis)

git-svn-id: https://svn.fhem.de/fhem/trunk@28295 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
KernSani 2023-12-19 19:48:23 +00:00
parent 3b6cab0291
commit 7538ce5b6a

View File

@ -217,6 +217,7 @@ my %types =
0x540d => { part => 'TEMPHYDROBARO', method => \&TRX_WEATHER_common_temphydrobaro, },
# RAIN
0x550b => { part => 'RAIN', method => \&TRX_WEATHER_common_rain, },
0x5509 => { part => 'RAIN', method => \&TRX_WEATHER_common_rain, },
# WIND
0x5610 => { part => 'WIND', method => \&TRX_WEATHER_common_anemometer, },
# UV
@ -1015,6 +1016,7 @@ sub TRX_WEATHER_common_rain {
0x05 => "WS2300_RAIN", # WS2300
0x06 => "TX5_RAIN", # La Crosse TX5
0x07 => "WS4500_RAIN", # Alecto WS4500, Auriol H13726, Hama EWS1500, Meteoscan W155/W160,
0x09 => "TFA_RAIN",
);
if (exists $devname{$bytes->[1]}) {