Add the black globe (BGT, 0xA1) and wet bulb globe (WBGT, 0xA2)
temperatures of the WN38 sensor as dedicated channels.
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
* [fineoffsetweatherstation] Add 10-min avg wind direction and 24h rainfall
Add three readings now identified in the Ecowitt HTTP API:
- direction-wind-avg-10min: 10-minute average wind direction
(common_list item 0x6D)
- rain-24-hours / piezo-rain-24-hours: rainfall over the last 24 hours
(HTTP-only, keyed by id 0x7C in the rain and piezoRain groups)
Also drop the redundant standalone rain-state dynamic channel.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
* [fineoffsetweatherstation] Apply review feedback on PR 20928
- Use hyphenated compound adjective "10-Minute Average" in labels
- Clarify that the HTTP raining indicator is piezo-only after the
standalone rain-state channel was dropped
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
* [fineoffsetweatherstation] Improve tracing
* [fineoffsetweatherstation] Fix wrong handling temperature reading for of WH34
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
This fix ensures, that the `ReentrantLock::unlock` method is only called, when the Thread is owning the lock.
resolves: #14322
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
* [fineoffsetweatherstation] add support for the new GW2001 weather station with its WH90 sensor
* [fineoffsetweatherstation] add missing channel labels
* [fineoffsetweatherstation] remove redundant translations
* [fineoffsetweatherstation] add test data + fix for WH90
* [fineoffsetweatherstation] fix wrong size for `CMD_READ_RAIN`
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
* [fineoffsetweatherstation] add support for ELV protocol
* [fineoffsetweatherstation] remove german translations
* [fineoffsetweatherstation] add representationProperty for gateway, fix unit of irradiation-uv
* [fineoffsetweatherstation] add representationProperties in descriptor xml file
* [fineoffsetweatherstation] set channels values to undef in case of communication errors
* [fineoffsetweatherstation] use lock for request synchronisation
* [fineoffsetweatherstation] marke sensors as gone, if they got unpaired
resolves#12763
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
* [fineoffsetweatherstation] initial commit
* [fineoffsetweatherstation] add missing measure type for air quality
* [fineoffsetweatherstation] add names to sensors
* [fineoffsetweatherstation] add missing channel types for lightning and water leak
* [fineoffsetweatherstation] adjust label names and replaced images + pdf so there are no copyright issues
* [fineoffsetweatherstation] remove wrong semantic tags
* [fineoffsetweatherstation] add missing measurands for WH45 (CO2) and WH35 (Leaf wetness)
* [fineoffsetweatherstation] fix typos
* [fineoffsetweatherstation] improve error handling for unstable connections
* [fineoffsetweatherstation] set online status after successful discovery
* [fineoffsetweatherstation] adjustments after review
* [fineoffsetweatherstation] adjustments after review
* Fix typo
* use `system.wind-speed` where applicable
* fix naming of channel type constants
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>