Dynamic Graph

Post Reply
User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

Dynamic Graph

Post by wxthomson » Wed Aug 23, 2017 12:35 am

The x axis seems to be in Z time and not local time.
Is there a reason for that?

User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: Dynamic Graph

Post by wxthomson » Wed Aug 23, 2017 2:03 am

Additional info

Occasionally the block will load with vertical graph lines for times.
When it does this the time is local.

Mostly, it loads without the vertical lines and it loads as local but reverts to Z time after about 30 seconds.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Wed Aug 23, 2017 10:21 am

That´s strange, does it do it in the DEMO too? Because I cannot replicate it, I see the times always correctly on my test server. See if you can replicate the issue on the demo site.

User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: Dynamic Graph

Post by wxthomson » Wed Aug 23, 2017 6:36 pm

I must be missing it but I don't see the Dynamic Graph block in the demo

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Johnny » Wed Aug 23, 2017 7:57 pm

wxthomson wrote: Wed Aug 23, 2017 6:36 pm I must be missing it but I don't see the Dynamic Graph block in the demo
I think it's here: http://www.meteotemplate.com/template/i ... ctiveGraph

John
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: Dynamic Graph

Post by wxthomson » Wed Aug 23, 2017 11:27 pm

Thanks, but that's the Interactive Graph

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Thu Aug 24, 2017 7:27 am


User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: Dynamic Graph

Post by wxthomson » Thu Aug 24, 2017 11:45 pm

Okay, I'll just delete it from my site.

I'm happy it works for you.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Fri Aug 25, 2017 10:11 am

Hi,
I asked you if you could check if the DEMO works, you never replied to that question and instead say you will delete it. It is then hard to help you, and not to mention that it would be nice if the problem was solved for everyone. Deleting it is not a solution.

User avatar
wxthomson
Observer
Observer
Posts: 38
Joined: Sun Aug 20, 2017 5:21 pm
Location: Minnetonka Minnesota
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: Dynamic Graph

Post by wxthomson » Fri Aug 25, 2017 9:12 pm

Yes, of course you are correct.

yes, the demo works for me.
on my site, the time reverts to zulu at the first up date whatever that may be set to.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Fri Aug 25, 2017 9:27 pm

OK, can you post a link to your website then? I will look at what's going on

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Sun Aug 27, 2017 11:06 am

Fixed

Dynamic Graph 2.1

User avatar
Luc
Developer
Developer
Posts: 168
Joined: Mon Aug 21, 2017 6:40 am
Location: Paramaribo, Suriname
Station model: Davis Pro 2 (2x)
Software: WeeWX
Contact:

Re: Dynamic Graph

Post by Luc » Sun Aug 27, 2017 8:23 pm

On my website the Dynamic Graph looks a bit funny for Wind.
Partly the graph show 5-minutes data, partly the graph show 2.5-seconds data.
Also: incidently the graph starts at 1970.
Image
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Sun Aug 27, 2017 8:57 pm

Hi,
yes, that unfortunately is because the first time the graph loads, it has to get past data from the database (i.e. 5 minutes). Then the next points are already added from API (which you update more frequently) and because you use extremely short update times (3s) it then creates this...

User avatar
PaulMy
Observer
Observer
Posts: 30
Joined: Mon Aug 21, 2017 12:48 pm
Location: Komoka, Ontario Canada
Station model: Davis VP2 Wireless 6152
Software: Cumulus
Contact:

Re: Dynamic Graph

Post by PaulMy » Sun Sep 03, 2017 5:24 pm

I have added the dynamicBlock and it doesn't seem to behave correctly. When it first loads it shows correctly for a few seconds and then shows a graph with the axis as years. In setup I have cumulus and the path ../weather/realtime.txt (http://www.komokaweather.com/weather/realtime.txt)

p.s. Jachym, I have make a temp indexDesktop with just just a few blocks so you can see it quicker... www.komokaweather.com/j-template

Paul

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Sun Sep 03, 2017 5:27 pm

Hi,
Paul use the API, everyone should now be using the api, I should have deleted the Cumulus option

User avatar
PaulMy
Observer
Observer
Posts: 30
Joined: Mon Aug 21, 2017 12:48 pm
Location: Komoka, Ontario Canada
Station model: Davis VP2 Wireless 6152
Software: Cumulus
Contact:

Re: Dynamic Graph

Post by PaulMy » Sun Sep 03, 2017 5:30 pm

What API key :oops:

Paul

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Sun Sep 03, 2017 5:33 pm

No Api key, we are talking about Meteotemplate API. Set the block data source to API. Do not use Cumulus :)

User avatar
PaulMy
Observer
Observer
Posts: 30
Joined: Mon Aug 21, 2017 12:48 pm
Location: Komoka, Ontario Canada
Station model: Davis VP2 Wireless 6152
Software: Cumulus
Contact:

Re: Dynamic Graph

Post by PaulMy » Sun Sep 03, 2017 5:33 pm

Ok, I think I got the message, use the word api instead of cumulus. Now seems fine.

Paul

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Dynamic Graph

Post by Jachym » Sun Sep 03, 2017 5:37 pm

OK, yes, sorry for the confusion. I made a mistake in that I didnt delete the cumulus option, the block now works with the api exclusively.

Post Reply