Storm Precip Total
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Storm Precip Total
Current precip clears at midnight, would be nice to see a block for storm total. I have no clue on how to do it though. I hate having to add what rain was the night before midnight to total in the morning. Maybe there is way now that i am not aware of.
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Storm Precip Total
What do you mea with 'a block':
- a new block with only 'last storm' activity
- adding this information to an existing one ( ex: the rain block )
- a new block with only 'last storm' activity
- adding this information to an existing one ( ex: the rain block )
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: Storm Precip Total
Adding to existing block.
This is how Davis considers a storm....
0.02" of rainfall (0.5 mm) begins a storm event, 24 hours without further accumulation ends a storm event.
This is how Davis considers a storm....
0.02" of rainfall (0.5 mm) begins a storm event, 24 hours without further accumulation ends a storm event.
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: Storm Precip Total
Glad you posted that block, any way to change font size on mobile view and not disturb desktop view.
Android, chrome browser. I always have to zoom in, eyes are truly going bad, I'm just hard headed for glasses.
Android, chrome browser. I always have to zoom in, eyes are truly going bad, I'm just hard headed for glasses.
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Storm Precip Total
Ok for the storm total.
For the mobile page font resize you may try this mod ( I have already been asked to look at it, but untested ):
- copy in the root folder and unzip
- currently it resizes the ultrasmall font ( used by rain block and maybe others too )
If the blocks small font is still too small you can edit homepage/css/styleMobile.php ( it affects only mobile pages )
in the firs lines you have:
modifying the first part to change the size of block heading ( for example set to 30px to have a super large heading )
modifying the subsequent parts to change the size of the block's small text ( for example set to 26px to have a super large 'small font' )
You have 3 of these sections each is relative to a different screen size of the mobile device, modify all of them and test the result.
( small and large devices may require different setting, in fact the pixel density is important but this data is unavailable, or at least I don't know how to calculate it. This is only to say that different devices may show different results, this is due to display size/pixel density )
For the mobile page font resize you may try this mod ( I have already been asked to look at it, but untested ):
- copy in the root folder and unzip
- currently it resizes the ultrasmall font ( used by rain block and maybe others too )
If the blocks small font is still too small you can edit homepage/css/styleMobile.php ( it affects only mobile pages )
in the firs lines you have:
Code: Select all
h1{
font-size: 18px;
}
h2{
font-size: 20px;
}
@media all and (min-width: 960px) {
body{
font-size: 16px;
}
}
@media all and (max-width: 959px) and (min-width: 600px) {
body{
font-size: 16px;
}
.button{
font-size: 14px;
}
}
@media all and (max-width: 599px) and (min-width: 50px) {
body{
font-size: 16px;
}
.button{
font-size: 14px;
}
}
Code: Select all
h2{
font-size: 20px;
}
Code: Select all
@media all and (min-width: 960px) {
body{
font-size: 16px;
}
}
( small and large devices may require different setting, in fact the pixel density is important but this data is unavailable, or at least I don't know how to calculate it. This is only to say that different devices may show different results, this is due to display size/pixel density )
- Attachments
-
- mobileResize.zip
- (10.86 KiB) Downloaded 38 times
- WyoDog
- Advisor
- Posts: 67
- Joined: Wed Aug 23, 2017 6:39 pm
- Location: Powell, WY USA
- Station model: Davis Pro2
- Software: Weather Display
- Contact:
Lite version resize mod
Davide
This looks much better and is alot more readable, thank you.
Where is the code for 'Station History'?
The drop down box is barely visible on my device. See attachement.
thanks again
Terry
This looks much better and is alot more readable, thank you.
Where is the code for 'Station History'?
The drop down box is barely visible on my device. See attachement.
thanks again
Terry
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: Storm Precip Total
davidefa, mobileResize mod is fanatastic!!
I can read the info now!!
I can read the info now!!
Last edited by mchd17 on Fri Feb 25, 2022 5:21 pm, edited 1 time in total.
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: Storm Precip Total
As you said, the mod fixed all blocks that had small font.
I can read the NWS forecast without zooming in now. Fantastic!
I can read the NWS forecast without zooming in now. Fantastic!
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: Storm Precip Total
My davis console shows last 24 hour rain amount and what day it started. I wonder if i could send that info to MT