Thoughts about additional sensors #83
Replies: 23 comments 35 replies
-
The first one, makes sense, and I can make that before the next release. That one will also require updates to the language files. |
Beta Was this translation helpful? Give feedback.
-
OK, got it. I have no issues with adding that sensor to the system, if you can make the math/function. The latest dev build, not includes the other Rain Intensity sensor. I made the text Capital Letters only, as in the App, but what is your view on that? |
Beta Was this translation helpful? Give feedback.
-
I'm working today, so it will be a few hours before I can update to the latest build. |
Beta Was this translation helpful? Give feedback.
-
I can see in my Home Assistance instance that Rain Intensity is Title Case but when I look in Helpers and Translations it is CAPITALIZED. |
Beta Was this translation helpful? Give feedback.
-
Documenting for future reference: In the temperature range of 5-50 C this a reasonable estimation for absolute humidity. AH = (1320.65/TK)RH(10**((7.4475*(TK-273.14))/(TK-39.44)) Hopefully will be able to drop a (partial) PR in a few days. |
Beta Was this translation helpful? Give feedback.
-
Instead of converting g/m^3 to lb/ft^3, I decided to leave the units in metric and not convert to imperial. |
Beta Was this translation helpful? Give feedback.
-
I have the change ready with the exception of the usual that I leave for you to do. Do you want me to submit PR now or wait until the long term stats is completed? Of course, this will add one more thing to the long term stats. I think it would be better to wait so I can update my branch to include all your most recent changes so their is less for you to merge and look at, but if you want it now, I can do it. It is my Absolute_Humidity branch if you want to review it in all copious amounts of free time. |
Beta Was this translation helpful? Give feedback.
-
PR #86 added. Needs Absolute Humidity state_class and mqtt. |
Beta Was this translation helpful? Give feedback.
-
I have something weird going on with my logs but I get sensor data in HA including Absolute Humidity.
Too early to see any LTS for now. I see Absolute Humidity as an option but no data yet (expected since only been running an hour or so at this point in time). I didn't think about it until I saw the standard eye icon but maybe mdi:water or mdi:water-opacity would be good choices. |
Beta Was this translation helpful? Give feedback.
-
Everything seems to be working well without an excessive amount of attributes now. I want to look at different icon options for Absolute Humidity. You could push to stable if you want, but I think there should be an icon first. Are you opposed to having Dew Point be mdi:thermometer-lines that is what I currently use for my dewpoints? If you would like to keep them as is, I can continue using my customization.yaml. I am also leaning towards mdi:water-opacity for Absolute Humidity. |
Beta Was this translation helpful? Give feedback.
-
All appears good, you can push to stable. |
Beta Was this translation helpful? Give feedback.
-
@briis What are your thoughts on a last fully charged counter? This might be useful during this season to see how long the battery lasts. I was looking and noticed that the last time my unit was fully charged was October 16th. I know it is easy to open the app and look, but obviously it took me a month to figure it out. I have been looking at the battery percentage and seeing it be lower than normal. My Tempest has not even charged at all since Nov 23rd. I guess the cloud cover when you have rain that causes flooding also prevents the sun from charging, who would have thought that? Or do you think this would be an unnecessary sensor for most? I believe it would be useful for both you and me but I don't know about everyone else. |
Beta Was this translation helpful? Give feedback.
-
Cloud base is needed for snow level, which would aid in predicting snow. This can all be transparent but it is some useful info. All you need to calculate an estimate for cloud height is the surface temperature and dew point temperature in degrees °C.
Simplified with all metric units: AMSL or MSL (Above Mean Sea Level) altitude above sea level |
Beta Was this translation helpful? Give feedback.
-
Hi Glenn, For the Weather Forecast, we will then use another module, I just rewrote, that handles the REST communication with WeatherFlow ( So because of that, I have paused adding new stuff at the moment, but we will leave this open, so just put in stuff, that we then can look at how we implement, once the re-write is done. |
Beta Was this translation helpful? Give feedback.
-
SnowLine = (192 * AirTemperature) + StationElevation In this case SnowLine is also the FreezingLine (I'm ok with either term, but freezing line is probably the most accurate since snow line is the the altitude above which snow is possible) Snow Probability is next with some comparisons... |
Beta Was this translation helpful? Give feedback.
-
I could but I was going to do the PRs one sensor at a time and track it myself. |
Beta Was this translation helpful? Give feedback.
-
Sounds great. Just be aware that some of the calculations are moved out of this integration and in to the |
Beta Was this translation helpful? Give feedback.
-
Added issues (Enhancements): More to follow |
Beta Was this translation helpful? Give feedback.
-
@briis Info that are definite outputs: Info that might be useful: Info that probably is not useful but I have sent to HA for testing: True False conditions for each Condition (I could go either way): Things I calculated (or imputed) just to get to estimated Solar Radiation (I don't think anything here is worth passing to the user except maybe elevation or zenith): I had some free time lately so I have been able to knock a lot out and test it. |
Beta Was this translation helpful? Give feedback.
-
@briis I have added Solar Elevation and Solar Insolation (estimated solar radiation) to helpers.py for a branch on my fork. I have not added anything else to properly call the functions. I managed to only have to add the include for 'time' (needed some things that 'datetime' doesn't provide). I ran these in a python script with no issue and with proper output. I just had to pass my latitude and longitude to the functions. I will try to finish it up this week and submit a PR. I will look around to see if I can add the docker environmental variables for Lat and Long but not sure if that will have to be done by you for the docker build or not. Also once the Lat is added as an option I can add Zambretti. The Zambretti utilizes the high and low sea level pressures for an area, I could have that as a environmental variable that is added by the user or utilize the stored all time Hi and Low which is what I am currently doing. Edit I also have some of the translations already done for the Zambretti but I will need someone to double check them. |
Beta Was this translation helpful? Give feedback.
-
@briis What am I missing? I can push a PR and have you add the MQTT sensor_description.py:
helpers.py:
|
Beta Was this translation helpful? Give feedback.
-
@briis Separately, the PR for Zambretti 'should' have everything except the Danish translation and the All Time Max and Min. I could not readily find a Danish translation for the Zambretti text; and I didn't want to rely on Google Translate to give me the text. |
Beta Was this translation helpful? Give feedback.
-
My Initial thoughts are, not a good idea as is, as this will create an obscene amount of sensors that most people will never need, plus introduce a major breaking change. The default values for these will still be metric or imperial, but then people could pick their choice in either the Docker Run command or in the config file for the Add-On. This will need quite some work done in the I have the whole Sunday for myself, so I will look at the Zambretti Integration and hopefully get that in to the |
Beta Was this translation helpful? Give feedback.
-
EDIT These two are Complete
I guess I never noticed that we don't get nomenclature for rain rate such as Light, Very Light, Moderate, Heavy (as seen in the WF App); this is different then the Precipitation Type.
https://community.weatherflow.com/t/rain-intensity-values/806
VERY LIGHT: < 0.25 mm/hour
LIGHT: ≥ 0.25, < 1.0 mm/hour
MODERATE: ≥ 1.0, < 4.0 mm/hour
HEAVY: ≥ 4.0, < 16.0 mm/hour
VERY HEAVY: ≥ 16.0, < 50 mm/hour
EXTREME: > 50.0 mm/hour
I've been looking into Absolute Humidity for humidity levels independent of temperature (I have been using DewPoint as this indicator but I think Absolute Humidity would handle this better)
Would need Vapor Pressure to calculate Absolute Humidity but does not need to be exposed (similar to how we have WBGT which requires black bulb temp which is calculated and not exposed to the user)
Thoughts on these two sensors?
Beta Was this translation helpful? Give feedback.
All reactions