updated interactiveGraph block

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

updated interactiveGraph block

Post by davidefa » Sat Apr 03, 2021 9:46 pm

Update the block to include additional sensors

ver 11.4c
- sensors grouped ( differently )
- added 2 axis graphs
- added option to rename multiple sensors
- added multiple sensors graphs: PP#, SM#, ST#, T#, H#, CO2_#

ver 11.4d
Added an option to handle 'events' ( leave blank if not used )
Currently supported ( may be expanded if needed ):
raining,MM ( shows precipitation when RR>0 in the last MM minutes, if MM=0 uses the data from meteotemplateLive.txt, if MM>0 uses data from database )
windy,SS,MM ( shows wind when wind speed > SS in the last MM minutes, if MM=0 uses the data from meteotemplateLive.txt , if MM>0 uses data from database, SS is expressed in the same unit as saved in database )
windyG,SS,MM ( shows wind when wind gusts > SS in the last MM minutes, if MM=0 uses the data from meteotemplateLive.txt, if MM>0 uses data from database, SS is expressed in the same unit as saved in database )
Attachments
interactiveGraph_11.4d.zip
(10 KiB) Downloaded 71 times
interactiveGraph_11.4c.zip
(9.54 KiB) Downloaded 52 times
Last edited by davidefa on Mon Apr 12, 2021 3:17 pm, edited 4 times in total.
Image

User avatar
Semtex
Observer
Observer
Posts: 30
Joined: Sun Aug 20, 2017 5:38 pm
Location: Udine Italy
Station model: Davis Vantage Pro Plus 2
Software: Meteobridge
Contact:

Re: updated interactiveGraph block

Post by Semtex » Sat Apr 03, 2021 10:10 pm

Perfect !!
Grazie
Davis Vantage Pro Plus 2

Image

User avatar
meteolopik
Observer
Observer
Posts: 23
Joined: Tue Jun 04, 2019 11:09 am
Location: Lopik
Station model: Davis Pro 2 Plus
Software: Weather Display
Contact:

Re: updated interactiveGraph block

Post by meteolopik » Sun Apr 04, 2021 10:37 am

Super!! Thanks a lot :)
Image

User avatar
meteolopik
Observer
Observer
Posts: 23
Joined: Tue Jun 04, 2019 11:09 am
Location: Lopik
Station model: Davis Pro 2 Plus
Software: Weather Display
Contact:

Re: updated interactiveGraph block

Post by meteolopik » Sun Apr 04, 2021 8:23 pm

T1 (extra temperature sensor 1) is not working for me, not sure if my settings are wrong. I named it T1 as in te database.
Image

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated interactiveGraph block

Post by davidefa » Sun Apr 04, 2021 10:58 pm

Corrected visualization of external temperature and humidity.
Attachments
interactiveGraph_11.4a.zip
(9.52 KiB) Downloaded 48 times
Image

User avatar
meteolopik
Observer
Observer
Posts: 23
Joined: Tue Jun 04, 2019 11:09 am
Location: Lopik
Station model: Davis Pro 2 Plus
Software: Weather Display
Contact:

Re: updated interactiveGraph block

Post by meteolopik » Mon Apr 05, 2021 4:58 am

Fixed here! Thank you so much!
Image

User avatar
meteolopik
Observer
Observer
Posts: 23
Joined: Tue Jun 04, 2019 11:09 am
Location: Lopik
Station model: Davis Pro 2 Plus
Software: Weather Display
Contact:

Re: updated interactiveGraph block

Post by meteolopik » Tue Apr 06, 2021 8:01 pm

Found another small bug. In extra temp the temperature does not go below 0 😊
Image

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated interactiveGraph block

Post by davidefa » Wed Apr 07, 2021 9:44 am

Removed 0° minimum for external temperature
Attachments
interactiveGraph_11.4b.zip
(9.54 KiB) Downloaded 54 times
Image

User avatar
meteolopik
Observer
Observer
Posts: 23
Joined: Tue Jun 04, 2019 11:09 am
Location: Lopik
Station model: Davis Pro 2 Plus
Software: Weather Display
Contact:

Re: updated interactiveGraph block

Post by meteolopik » Wed Apr 07, 2021 1:57 pm

davidefa wrote: Wed Apr 07, 2021 9:44 am Removed 0° minimum for external temperature
Superb!! 😊
Image

User avatar
meteolopik
Observer
Observer
Posts: 23
Joined: Tue Jun 04, 2019 11:09 am
Location: Lopik
Station model: Davis Pro 2 Plus
Software: Weather Display
Contact:

Re: updated interactiveGraph block

Post by meteolopik » Wed Apr 07, 2021 6:22 pm

- The dewpoint color in the temperature group stays white eventhough another color is set in the settings.
- Barometric pressure is not loading (pull from database incorrect maybe?
Image

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated interactiveGraph block

Post by davidefa » Wed Apr 07, 2021 8:11 pm

Corrected visualization of pressure sensor and color of dew point
Attachments
interactiveGraph_11.4c.zip
(9.54 KiB) Downloaded 53 times
Image

User avatar
meteolopik
Observer
Observer
Posts: 23
Joined: Tue Jun 04, 2019 11:09 am
Location: Lopik
Station model: Davis Pro 2 Plus
Software: Weather Display
Contact:

Re: updated interactiveGraph block

Post by meteolopik » Thu Apr 08, 2021 2:16 pm

davidefa wrote: Wed Apr 07, 2021 8:11 pm Corrected visualization of pressure sensor and color of dew point
Great, works as a breeze! :D
Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 102
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2 + BloomSky cam
Software: Meteobridge
Contact:

Re: updated interactiveGraph block

Post by meteoesine » Sun Apr 11, 2021 7:28 am

ciao Davide, complimenti per il tuo skill, bravo!
ti propongo una ulteriore modifica, se fattibile:
in caso di precipitazioni in corso, si potrebbe far visualizzare il grafico della pioggia? poi, quando smette di piovere, ritornare al grafico con il parametro impostato di default
(praticamente una opzione che se piove visualizza il grafico precipitazioni, se non piove, quello di default)
grazie
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated interactiveGraph block

Post by davidefa » Mon Apr 12, 2021 11:03 am

Added an option to deal with 'events'
Currently supported ( may be expanded if needed ):
raining,MM ( shows precipitation when RR>0 in the last MM minutes, if MM=0 uses the data from meteotemplateLive.txt, if MM>0 uses data from database )
windy,SS,MM ( shows wind when wind speed > SS in the last MM minutes, if MM=0 uses the data from meteotemplateLive.txt , if MM>0 uses data from database, SS is expressed in the same unit as saved in database )
windyG,SS,MM ( shows wind when wind gusts > SS in the last MM minutes, if MM=0 uses the data from meteotemplateLive.txt, if MM>0 uses data from database, SS is expressed in the same unit as saved in database )

P.S.
Today should be the right day to test it
Attachments
interactiveGraph_11.4d.zip
(10 KiB) Downloaded 55 times
Last edited by davidefa on Mon Apr 12, 2021 3:17 pm, edited 2 times in total.
Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 102
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2 + BloomSky cam
Software: Meteobridge
Contact:

Re: updated interactiveGraph block

Post by meteoesine » Mon Apr 12, 2021 2:47 pm

GREAT !!!!
tnx
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated interactiveGraph block

Post by davidefa » Wed May 19, 2021 10:26 pm

ver 11.4f

Minor update: added the capability to show only a subset of extra sensor.
For example if you want to show only extra sensor T3 and T4 set

Code: Select all

Name of Extra Temperature sensors: 3=name3,4=name4
( settings are compatible with previous version )

ver 11.4g

Corrected a bug in wind bearing calculation ( no correction should be applied to bearing, but I applied the same correction of wind speed )
Attachments
interactiveGraph_11.4g.zip
(10.07 KiB) Downloaded 49 times
interactiveGraph_11.4f.zip
(10.24 KiB) Downloaded 50 times
Image

linux150
Observer
Observer
Posts: 15
Joined: Sat May 22, 2021 12:18 pm
Station model: WMR968
Software: SDR -> Weewx -> MT
Contact:

Re: updated interactiveGraph block

Post by linux150 » Fri Aug 13, 2021 4:15 am

Thanks for your update.
I´ve a problem with showing UV. UV is on true, but not shown,,,,
I DONT HAVE A SOLAR Sensor, so i didn´t aktivate in main settings.
Now i think, maybe UV is only shown WITH Solar Sensor is activated ?!

Any solution ?

PS: How can i make the bearing graph a little bit smaller?

EDIT: I tried and switched the "Solar Sensor" to true and now uv is shown! But i dont want this settings, because Solar shows allways empty entries in other blocks or actually data...
Maybe i try to edit the php file, will take a look ...

LG
Martin

linux150
Observer
Observer
Posts: 15
Joined: Sat May 22, 2021 12:18 pm
Station model: WMR968
Software: SDR -> Weewx -> MT
Contact:

Re: updated interactiveGraph block

Post by linux150 » Sat Aug 14, 2021 3:23 pm

So i answer myself, i did by try and error, because im an absolutly newbie in programming php (but i learned a lot, installing meteotemplate :D )

So i copied some parts and changed the parameters so now it works ONLY with UV Sensor and NO SOLAR SENSOR for my sensor conditions.
Maybe it helps somebody with same problem ....

LG
Martin
interactiveGraph_11.4h.zip
(10.91 KiB) Downloaded 35 times

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated interactiveGraph block

Post by davidefa » Thu Dec 23, 2021 10:16 pm

ver 11.4i
Minor update: added evapotranspiration
Attachments
interactiveGraph_11.4i.zip
(10.95 KiB) Downloaded 30 times
Image

mchd17
Forecaster
Forecaster
Posts: 188
Joined: Sat Mar 17, 2018 2:01 am
Location: Illinois
Station model: Davis Pro2 Plus
Software: Meteobridge

Re: updated interactiveGraph block

Post by mchd17 » Sun Jan 16, 2022 10:50 pm

Another good block, thanks
Image

Laglene
Observer
Observer
Posts: 16
Joined: Thu Nov 04, 2021 4:44 pm
Location: Galargues 34
Station model: Davis pro 2
Software: Weatherlink
Contact:

Re: updated interactiveGraph block

Post by Laglene » Mon Jan 17, 2022 2:59 pm

Hello Davide,
Thank you for this interactivegraph block, however a question please
How to change the color of the curves thank you
Didier
Image

Laglene
Observer
Observer
Posts: 16
Joined: Thu Nov 04, 2021 4:44 pm
Location: Galargues 34
Station model: Davis pro 2
Software: Weatherlink
Contact:

Re: updated interactiveGraph block

Post by Laglene » Mon Jan 17, 2022 5:58 pm

Bonsoir Davide,
Désolé, la réponse est dans le nouveau block. je n'avais pas assez exploré votre travail.
Encore merci pour tout ce que vous faites.
Didier
Image

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated interactiveGraph block

Post by davidefa » Sun Feb 27, 2022 8:39 pm

ver 11.6
- minor update to remove some nasty side effects when customGraph block is installed too
( this update is only needed if you use block customGraph )

ver 11.7
- minor update: added option to show max solar radiation ( calculated ) along measured one
Attachments
interactiveGraph_11.7a.zip
(11.17 KiB) Downloaded 26 times
interactiveGraph_11.6.zip
(10.91 KiB) Downloaded 18 times
Image

Gerrit
Observer
Observer
Posts: 32
Joined: Wed Feb 06, 2019 1:31 pm
Station model: Vantage pro 2 plus
Software: Meteobridge
Contact:

Re: updated interactiveGraph block

Post by Gerrit » Tue Mar 22, 2022 2:47 pm

Good day to you,
what a nice adjustments these are, especially the possibility to show graphs of the soil sensors, that was the only thing that kept me with another software package, which I will stop right now.

I do have a small problem, which is also with the original file, that during the loading the program temporarily freezes.

Furthermore, I have the question if there are also adjustments possible to view the history of the ground sensors, I have data from 2018 onwards.

Gerrit

davidefa
Expert
Expert
Posts: 592
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated interactiveGraph block

Post by davidefa » Tue Mar 22, 2022 4:18 pm

I'm currently working on extending The interactive and the extended graphs.
I've already updated the 'statistics' pages ( but currently didn't post the mod )
Please post a link to your site so I can take a look at the 'freezing issue'

interactive01.png
interactive01.png (293.01 KiB) Viewed 1652 times
Image

Post Reply