updated graphCombined block
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
updated graphCombined block
I like this block but I find it does not 'play well' with other blocks containing graphs.
The block is ok when it is the only graph block in the page, or when it is executed enlarged.
But when inserted together with interactiveGraph, gfs, meteogram... it interacts with them producing unwanted behaviours: for example tooltip don't disappear when exiting graphs, tooltip move when cursor in different graph, the cursors in graphCombined lose syncronicity.
The only way I found to stop its effects is to 'jail it' in an iframe ( i renamed it to graphCombinedI so you can test it without uninstalling the official version ).
UPDATE
I don't even remember what I did ( no, I'm not getting old... I am old! )
Usage:
- install block graphCombined ( the original one ) and configure it as usual
- install block graphCombinedI ( the attached one )
- copy the file indexFull1.php to the root directory of meteotemplate ( where already is indexFull.php )
- enjoy
As explained above, this is only an iframe wrapper of the original block ( the modified indexFull1.php is needed to remove the footer from the iframe )
The block is ok when it is the only graph block in the page, or when it is executed enlarged.
But when inserted together with interactiveGraph, gfs, meteogram... it interacts with them producing unwanted behaviours: for example tooltip don't disappear when exiting graphs, tooltip move when cursor in different graph, the cursors in graphCombined lose syncronicity.
The only way I found to stop its effects is to 'jail it' in an iframe ( i renamed it to graphCombinedI so you can test it without uninstalling the official version ).
UPDATE
I don't even remember what I did ( no, I'm not getting old... I am old! )
Usage:
- install block graphCombined ( the original one ) and configure it as usual
- install block graphCombinedI ( the attached one )
- copy the file indexFull1.php to the root directory of meteotemplate ( where already is indexFull.php )
- enjoy
As explained above, this is only an iframe wrapper of the original block ( the modified indexFull1.php is needed to remove the footer from the iframe )
- Attachments
-
- graphCombinedI_2.1b.zip
- (2.23 KiB) Downloaded 109 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
ver 2.1
Extended the sensor's choice ( so you can graph any sensor):
T - temperature,
A - apparent temperature,
D - dew point,
H - humidity,
P - pressure,
W - wind speed,
G - wind gust,
B - wind bearing,
R - (cumulative) precipitation ,
RD - daily precipitation,
RR - rain rate,
S - solar radiation,
TIN - int. temperature,
HIN - int. humidity,
UV - uv,
T# - extra temperature #,
H# - extra humidity #,
TS# - soil temperature #,
SM# - soil moisture #,
LW# - leaf wetness #,
LT# - leaf temperature #,
SN - snowfall,
SD - snow depth,
NL - noise level,
L - lightning,
SS - sunshine,
CO2_#,
NO2_#,
CO_#,
SO2_#,
O3_#,
PP# - particulate pollution #
NOTE
Substitute # with a digit ( 1-4 or 1-8 depending on sensor )
ver 2.2
Minor update: ajusted label's format, so that it 'jumps' less when moving cursor on the graph.
Added a parameter to set the label's offset ( from the right of the graph )
Extended the sensor's choice ( so you can graph any sensor):
T - temperature,
A - apparent temperature,
D - dew point,
H - humidity,
P - pressure,
W - wind speed,
G - wind gust,
B - wind bearing,
R - (cumulative) precipitation ,
RD - daily precipitation,
RR - rain rate,
S - solar radiation,
TIN - int. temperature,
HIN - int. humidity,
UV - uv,
T# - extra temperature #,
H# - extra humidity #,
TS# - soil temperature #,
SM# - soil moisture #,
LW# - leaf wetness #,
LT# - leaf temperature #,
SN - snowfall,
SD - snow depth,
NL - noise level,
L - lightning,
SS - sunshine,
CO2_#,
NO2_#,
CO_#,
SO2_#,
O3_#,
PP# - particulate pollution #
NOTE
Substitute # with a digit ( 1-4 or 1-8 depending on sensor )
ver 2.2
Minor update: ajusted label's format, so that it 'jumps' less when moving cursor on the graph.
Added a parameter to set the label's offset ( from the right of the graph )
- Attachments
-
- graphCombined_2.2.zip
- (5.64 KiB) Downloaded 98 times
-
- graphCombined_2.1a.zip
- (5.84 KiB) Downloaded 83 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
ver 2.3
Added parameter to define sensor's name and graph's color
Added parameter to define sensor's name and graph's color
- Attachments
-
- graphCombined_2.3a.zip
- (6.09 KiB) Downloaded 91 times
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
great block
found issue
my soil temps are in C not F
any work around?
found issue
my soil temps are in C not F
any work around?
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
ver 2.3b
Corrected extra sensor temperature conversion ( this bug only occurred when temperatures saved in °F in db )
Corrected extra sensor temperature conversion ( this bug only occurred when temperatures saved in °F in db )
- Attachments
-
- graphCombined_2.3b.zip
- (6.15 KiB) Downloaded 41 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
@mchd17
This should fix the bug you 've found.
Please confirm if everything is ok ( as I should have done the same mistake in other blocks too )
This should fix the bug you 've found.
Please confirm if everything is ok ( as I should have done the same mistake in other blocks too )
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
thanks for trying to fix, but tried version b, no luck
my db entries are in C not F
I have meteotemplate showing in F, doesn't work with soil temps
my db entries are in C not F
I have meteotemplate showing in F, doesn't work with soil temps
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
Original Soil temp block shows correct temp format as F not C
Seems that all db entries are imperial not metric, except the soil temps.
Dont know if it's meteobridge or meteotemplate.
Seems that all db entries are imperial not metric, except the soil temps.
Dont know if it's meteobridge or meteotemplate.
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
In the main sensor table ( alldata ) units are configurable ( you have used imperial units ).
In the extra sensor table (alldataExtra ) units are fixed ( and metric ).
This is not a problem, but I didn't realize this ( in particular that the alldataExtra table is metric ).
I tried to reproduce the issue on my testing server but everything works as should.
So, please, upload the following script to your graphCombined directory ( it has a debug option to help me diagnose the problem ).
In the extra sensor table (alldataExtra ) units are fixed ( and metric ).
This is not a problem, but I didn't realize this ( in particular that the alldataExtra table is metric ).
I tried to reproduce the issue on my testing server but everything works as should.
So, please, upload the following script to your graphCombined directory ( it has a debug option to help me diagnose the problem ).
- Attachments
-
- data1.zip
- (2.2 KiB) Downloaded 34 times
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
its in the graphCombined dir, had to overwrite the data.php that was there. i saved that one as well.
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
look at that, it appears to be showing F now
i would like to try the old data.php
i will wait to upload/overwrite with the original until i hear back from you. i want to see if it goes back to metric
really appreciate the help
i would like to try the old data.php
i will wait to upload/overwrite with the original until i hear back from you. i want to see if it goes back to metric
really appreciate the help
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
Ok, try overwriting with this ( is the script from v2.3 ), same script without debug mode
- Attachments
-
- data.zip
- (2.1 KiB) Downloaded 44 times
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
i uploaded the first one i saved as a backup. It changed back to metric. Look at it here
- Attachments
-
- datashowsmetric.zip
- (2.1 KiB) Downloaded 40 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
Ok, the script you uploaded is v2.3a ( v2.3b already uploaded is ok, ).
Thanks for sharing.
P.S.
Forgot to add that if you need more than 4 extrasensors ( as you are uploading SM1-SM6 ) you can install this mod.
Thanks for sharing.
P.S.
Forgot to add that if you need more than 4 extrasensors ( as you are uploading SM1-SM6 ) you can install this mod.
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
ver 2.3c
Minor update: added evapotranspiration
Minor update: added evapotranspiration
- Attachments
-
- graphCombined_2.3c.zip
- (6.31 KiB) Downloaded 41 times
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
How do I assign a sensors name? So I can use sensor T1 and define it as TV Shed?
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
Nevermind, i am getting old, i actually read the heading in the block setting. Got it!
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
Cant use more than 1 word as name. I had to use the underscore to separate the two.
-
- Forecaster
- Posts: 188
- Joined: Sat Mar 17, 2018 2:01 am
- Location: Illinois
- Station model: Davis Pro2 Plus
- Software: Meteobridge
Re: updated graphCombined block
One more thing, just tried using B-Wind Bearing, it will shut all my graphs off. I must not have the correct updated file yet.
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: updated graphCombined block
ver 2.4
- corrected bug in wind bearing visualization
- spaces are allowed in sensor name
- corrected bug in wind bearing visualization
- spaces are allowed in sensor name
- Attachments
-
- graphCombined_2.4.zip
- (6.4 KiB) Downloaded 36 times