Add support for La Crosse View LTV-WSDR1 Cyclone Wind and Rain Sensor#3404
Open
corhere wants to merge 2 commits intomerbanan:masterfrom
Open
Add support for La Crosse View LTV-WSDR1 Cyclone Wind and Rain Sensor#3404corhere wants to merge 2 commits intomerbanan:masterfrom
corhere wants to merge 2 commits intomerbanan:masterfrom
Conversation
The signal is just different enough to not be picked up by the existing LTV-WR1 decoder. (Though tragically lacrosse_r1_decode incorrectly matches on the LTV-WSDR1 signals, with garbage output.)
The La Crosse View V41CA weather station display shows precipitation on a bar graph with axis labels at halfway and top. At the smallest scale, the labels are 1.27 mm and 2.54 mm for measurements from an LTV-WSDR1. One tip of the bucket causes the raw_rain1 value to increment by one, and the displayed precipitation to increment by 0.25 mm. (The raw_rain2 value takes on the previous sequence number's raw_rain1 value, presumably to afford measuring the instantaneous precipitation rate from a single packet.) The LTV-WSDR1 therefore most likely measures rainfall in units of 0.254 mm, or 0.01 inches. And it is a pretty safe bet that the LTV-WR1 also measures 0.01 inch per bucket tip since it has identical specifications to the LTV-WSDR1 and transmits in the same format, and other rain La Crosse rain gauges in the same product family (LTV-R1, LTV-R3) are also known to measure ~0.01 inch per bucket tip. Change the rain outputs for the LTV-WR1 and LTV-WSDR1 decoder to be scaled to physical units. Make the flags output field conditional so it is only output if any of the flags are set.
2e725ca to
5e76779
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The signal is just different enough to not be picked up by the existing LTV-WR1 decoder. (Though tragically lacrosse_r1_decode incorrectly matches on the LTV-WSDR1 signals, with garbage output.)
The La Crosse View V41CA weather station display shows precipitation on a bar graph with axis labels at halfway and top. At the smallest scale, the labels are 1.27 mm and 2.54 mm for measurements from an LTV-WSDR1. One tip of the bucket causes the raw_rain1 value to increment by one, and the displayed precipitation to increment by ~0.25 mm. (The raw_rain2 value takes on the previous sequence number's raw_rain1 value, presumably to afford measuring the instantaneous precipitation rate from a single packet.) The LTV-WSDR1 therefore most likely measures rainfall in units of 0.254 mm, or 0.01 inches. And it is a pretty safe bet that the LTV-WR1 also measures 0.01 inch per bucket tip since it has identical specifications to the LTV-WSDR1 and transmits in the same format, and other rain La Crosse rain gauges in the same product family (LTV-R1, LTV-R3) are also known to measure ~0.01 inch per bucket tip. Change the rain outputs for the LTV-WR1 and LTV-WSDR1 decoder to be scaled to physical units.
Make the flags output field conditional so it is only output if any of the flags are set.