-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S40 Weather Support #271
Comments
I like this. Do we know what are the valid values for the first four? From my log file I can see the following: $ grep mold s40_local.log|sort -u My assumption is that mold, grass, weed, and tree all have the same valid values, but airQuality has its own set of valid values. |
Great questions. I searched around in the the install app and found these: Here are the constants for air quality
Mold
Tree
Grass
As a result I'm now considering individual sensors, so we can make them go unavailable when the state = error |
That's a good way to handle the error value. |
API - pull request - PeteRager/lennoxs30api#70 |
https://github.com/PeteRager/lennoxs30/releases/tag/2023.10.0 Check it out when you have time. report any issues |
The S40 makes weather data available and it would be helpful to have some of this information available in HA.
As a specific example, the dew point measurement - is used by the S40 to prevent external ventilation when the measurement is above the configured threshold - as a result having this data would allow better insite into why ventilation is not running.
The weather data includes current data for now, hourly data and 10 day forecast; as well as some environmental information (like dew point). Since hourly data and 10 day forecasts are already available in HA, there is limited value in providing it through this integration. The focus will be on providing the environmental data.
The full message is included at the end , the subset for the environmental data is here
The proposed list of sensors is:
sensor.*_env_air_quality returns airQuality
States: "hazardous","very unhealthy", "unhealthy", "unhealthy sensitive", "moderate", "good"
Unavailable: airQuality == ("error");
sensor.*_env_tree returns tree
States: "low","moderate","high","very high", "extreme"
Unavailable: tree = "error";
sensor.*_env_grass returns grass
States: "low","moderate","high","very high", "extreme"
Unavailable: grass = "error";
sensor.*_env_mold returns mold
States: "low","moderate","high","very high", "extreme"
Unavailable: mold = "error";
sensor.*_env_dewpoint - returns Dewpoint or DewpointC based on HA active unit system
sensor.*_env_wind_speed - returns windSpeed or windSpeedK based on HA active unit system
sensor.*_env_uv_index - returns uvIndex
sensor.*_env_cloud_coverage returns cloudCoverage
sensor.*_env_humidity returns humidity
There is also an isValid member of the weather message - this will be used to control sensor availability. If isValid is false, sensors will be unavailable.
The text was updated successfully, but these errors were encountered: