Re: [weewx-user] Re: Full day highcharts question

2021-05-04 Thread James Taylor
Thanks. What I'm trying to work out is if this is expected / correct behavior of weewx now. Reading Gary's comment back in June 2020 sort of makes sense, but I'm still not 100% sure. James On Monday, May 3, 2021 at 7:19:03 PM UTC+1 Arend wrote: > This new behaviour is caused by this WeeWX

Re: [weewx-user] Re: Full day highcharts question

2021-05-03 Thread Arend
This new behaviour is caused by this WeeWX 4.5.1 commit: https://github.com/weewx/weewx/commit/a6098878562e4a35345051c45ee6aadf31edbdce for stamp in weeutil.weeutil.intervalgen(startstamp, stopstamp, aggregate_interval): # Get the aggregate as a ValueTuple

Re: [weewx-user] Re: Full day highcharts question

2021-05-03 Thread James Taylor
Not sure. Under weewx 4.4.0 my Temperature chart were as follows under Belchertown [image: IMG_2780.png] Under weewx 4.5.1 it was displaying as the following [image: IMG_2781.png] I made no changes other than upgrade to 4.5.1. # Global Chart Defaults # These are fallback options that charts

Re: [weewx-user] Re: Full day highcharts question

2021-04-09 Thread Christian Gruber
should this still work with weewx 4.5.1 ? i updated and my full day charts are gone Manfred Maier schrieb am Montag, 15. Juni 2020 um 11:12:27 UTC+2: > Thanks, Gary, for this comprehensive explanation. > > Based on what you wrote I was now able to plot an entire day. > > [image: Bildschirmfoto

Re: [weewx-user] Re: Full day highcharts question

2020-06-25 Thread Manfred Maier
A new installation of the entire skin fixed it. I have no idea what went wrong with the old one. My suspicion would be that there was some encoding issue with a file. Something I noticed after the new installation: * In the old version of the weewx.conf, I had included the DarkSky secret key

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Pat O'Brien
Wow! I'm not sure why you're getting that error either. Something is missing somewhere On Wed, Jun 24, 2020, 5:14 PM Manfred Maier wrote: > I'll have to try that tomorrow. > My skin installation includes a number of individual adaptions (e.g. pi > page, individual website widget, horizontal

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
I'll have to try that tomorrow. My skin installation includes a number of individual adaptions (e.g. pi page, individual website widget, horizontal lines in some graphs, etc) and it always takes me 1-2 hours to update the skin. Pat schrieb am Mittwoch, 24. Juni 2020 um 23:07:57 UTC+2: > Can

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Pat O'Brien
Can you try to reinstall the whole development skin and restart weewx? On Wed, Jun 24, 2020, 5:03 PM Manfred Maier wrote: > Didn't work :( > > I don't understand this error. The 'forecast_provider' is in my skin.conf > and the weewx.conf: > > # Forecast defaults > >

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
Didn't work :( I don't understand this error. The 'forecast_provider' is in my skin.conf and the weewx.conf: # Forecast defaults forecast_enabled = 1 forecast_provider = "darksky" forecast_api_id = "b6b2add3..." forecast_api_secret

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Pat O'Brien
Update your skins.conf to latest version too On Wed, Jun 24, 2020, 4:28 PM Manfred Maier wrote: > > Hi Pat, > apologies, it's me again. > > Yesterday (and today) I've just copied the new belchertown.py in my user > folder. > Now I've seen that i get a two error messages in my syslog. > > The

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
Hi Pat, apologies, it's me again. Yesterday (and today) I've just copied the new belchertown.py in my user folder. Now I've seen that i get a two error messages in my syslog. The first one I've been able to resolve. It was caused by the "check for update" functionality that you have removed

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Didier Decoodt
Perfect ! Thanks Le mer. 24 juin 2020 à 16:04, Manfred Maier a écrit : > Solved! > Thanks so much! > > Pat schrieb am Mittwoch, 24. Juni 2020 um 15:41:13 UTC+2: > >> Can you try the latest belchertown.py file from the devleopment branch? I >> think I got it working. See screenshot. >> >> >> >>

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
Solved! Thanks so much! Pat schrieb am Mittwoch, 24. Juni 2020 um 15:41:13 UTC+2: > Can you try the latest belchertown.py file from the devleopment branch? I > think I got it working. See screenshot. > > > > On Wednesday, June 24, 2020 at 8:48:53 AM UTC-4, Manfred Maier wrote: >> >> Sent by

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Pat
Can you try the latest belchertown.py file from the devleopment branch? I think I got it working. See screenshot. On Wednesday, June 24, 2020 at 8:48:53 AM UTC-4, Manfred Maier wrote: > > Sent by email. The file has been too big for an upload here (or the > database content isn't allowed?). >

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Pat
Interesting. Would one of you guys be able to share you database with me so I have test data to use? We haven't had rain in a long time so this would be easier to figure out where my math is going wrong. On Wednesday, June 24, 2020 at 8:33:33 AM UTC-4, Manfred Maier wrote: > > Good catch,

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Manfred Maier
Good catch, Didier! I just found that I get the same wrong behavior for my 2019 chart. My station started in July only. And the RainTotal chart shows values for Jan-June. It's the second one from the bottom: https://www.wetter-zorneding.de/graphs/?graph=2019 didier@gmail.com schrieb am

Re: [weewx-user] Re: Full day highcharts question

2020-06-24 Thread Pat
Please paste your full graph that's broken so I can take a look at it -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To

Re: [weewx-user] Re: Full day highcharts question

2020-06-23 Thread Didier Decoodt
Hi Pat After update, the graphic rainTotal does not start at the right date... the curve should start the 13 jun, not the 1st of june (I have no data before 13 june) [image: image.png] Le mar. 23 juin 2020 à 20:46, Manfred Maier a écrit : > Thanks so much, Pat! > Works perfectly well. > >

Re: [weewx-user] Re: Full day highcharts question

2020-06-23 Thread Manfred Maier
Thanks so much, Pat! Works perfectly well. didier@gmail.com schrieb am Dienstag, 23. Juni 2020 um 20:11:16 UTC+2: > Thanks > > Le mar. 23 juin 2020 à 19:33, Pat a écrit : > >> You can >> >> a) download the development zip file and run wee_extension --install to >> install it again just

Re: [weewx-user] Re: Full day highcharts question

2020-06-23 Thread Didier Decoodt
Thanks Le mar. 23 juin 2020 à 19:33, Pat a écrit : > You can > > a) download the development zip file and run wee_extension --install to > install it again just like you did previously > > or > > b) download the development zip file and manually replace all files > > > On Tuesday, June 23, 2020

Re: [weewx-user] Re: Full day highcharts question

2020-06-23 Thread Pat
You can a) download the development zip file and run wee_extension --install to install it again just like you did previously or b) download the development zip file and manually replace all files On Tuesday, June 23, 2020 at 1:28:26 PM UTC-4, Didier Decoodt wrote: > > Yes I use the

Re: [weewx-user] Re: Full day highcharts question

2020-06-23 Thread Didier Decoodt
Yes I use the development branch. What is the procedure for upgrading? Le mar. 23 juin 2020 à 17:23, Pat a écrit : > I think I have a fix I will add to the development branch. Are you using > the development branch? Can you try testing it too? > > We haven't had rain for a long time, so I am

Re: [weewx-user] Re: Full day highcharts question

2020-06-23 Thread Pat
I think I have a fix I will add to the development branch. Are you using the development branch? Can you try testing it too? We haven't had rain for a long time, so I am trying this on my year chart. You can see attached you can see rainTotal stops today and doesn't carry to the end of the

Re: [weewx-user] Re: Full day highcharts question

2020-06-23 Thread Didier Decoodt
I have: aggregate_interval = 86400 # 1 day gapsize = 8640 # 1 day in milliseconds but if aggregate_type=none, then I have a dot each 5 mn (may be it's normal) Le mar. 23 juin 2020 à 02:00, Pat a écrit : > Change your aggregate_interval to match your gapSize and see if that > helps.

Re: [weewx-user] Re: Full day highcharts question

2020-06-22 Thread Pat
Change your aggregate_interval to match your gapSize and see if that helps. On Monday, June 22, 2020 at 7:05:00 PM UTC-4, Didier Decoodt wrote: > > Oupss > It seems to be correct but the aggregate_interval is not correct, every 5 > mn instead of 1 day for monthly graphic... >

Re: [weewx-user] Re: Full day highcharts question

2020-06-22 Thread Didier Decoodt
Oupss It seems to be correct but the aggregate_interval is not correct, every 5 mn instead of 1 day for monthly graphic... aggregate_type=none is not appropriate... (with aggregate_type=last the curve continue after "now") I think the problem is linked with rainTotal variable, Le lun. 22 juin

Re: [weewx-user] Re: Full day highcharts question

2020-06-22 Thread Didier Decoodt
Thanks for this documentation Le lun. 22 juin 2020 à 21:10, Pat a écrit : > rain total works? That's good though I don't know how! :) > > For the aggregates, Belchertown borrows that from weewx's Seasons and > Standard skins. Here's more information from their documentation >

Re: [weewx-user] Re: Full day highcharts question

2020-06-22 Thread Pat
rain total works? That's good though I don't know how! :) For the aggregates, Belchertown borrows that from weewx's Seasons and Standard skins. Here's more information from their documentation . On Monday, June 22, 2020 at 2:47:40

Re: [weewx-user] Re: Full day highcharts question

2020-06-22 Thread Didier Decoodt
Pat, I put aggregate_type = none instead of max, and it's work!!! I don't really understand aggregate_type effect differences between none, sum, min, max and avg? [image: image.png] Le lun. 22 juin 2020 à 19:40, Pat a écrit : > I raised this as an issue

Re: [weewx-user] Re: Full day highcharts question

2020-06-22 Thread Pat
I raised this as an issue and Tom mentioned for the day charts you should probably be using last as the aggregate, not max. I'll look into rainTotal since that's a Belchertown observation. On Friday, June 19, 2020 at 2:02:44 PM UTC-4, Pat wrote: >

Re: [weewx-user] Re: Full day highcharts question

2020-06-19 Thread Pat
No, not sure. I assume it's because the data points aren't reset to "None" using this new way of getting data for the rain observation? Gary - did you create an issue for this? I'd hate to patch something in the skin to only undo it if/when Tom properly patches this. On Friday, June 19, 2020

Re: [weewx-user] Re: Full day highcharts question

2020-06-15 Thread Pat
Awesome! Glad that it worked for you On Monday, June 15, 2020 at 5:29:59 AM UTC-4, didier@gmail.com wrote: > > Thanks it's work > > > Le lundi 15 juin 2020 à 11:12:27 UTC+2, Manfred Maier a écrit : > >> Thanks, Gary, for this comprehensive explanation. >> >> Based on what you wrote I was

Re: [weewx-user] Re: Full day highcharts question

2020-06-15 Thread didier....@gmail.com
Thanks it's work Le lundi 15 juin 2020 à 11:12:27 UTC+2, Manfred Maier a écrit : > Thanks, Gary, for this comprehensive explanation. > > Based on what you wrote I was now able to plot an entire day. > > [image: Bildschirmfoto 2020-06-15 um 11.07.53.png] > > The trick is quite simple: I

Re: [weewx-user] Re: Full day highcharts question

2020-06-15 Thread Manfred Maier
Thanks, Gary, for this comprehensive explanation. Based on what you wrote I was now able to plot an entire day. [image: Bildschirmfoto 2020-06-15 um 11.07.53.png] The trick is quite simple: I just had to define an aggregation for the daily charts. I.e. adding the following two lines to the

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread gjr80
What you are seeing is some subtly different behaviour brought about by the introduction of xtypes in WeeWX v4. One of the things that xtypes did was replace the manager.getSqlVectors() method; it now uses xtypes.get_series() (getSqlVectors() still exists and continues to be supported in v4

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Pat
Coming up with a loss on this one. Both the "today" and the "year" charts are the full time spans generated by weewx for their time period, and both go through the same SQL function. Yet the year query results is populated 366 times (once a day), but the day query results is only populated for

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Pat
haha i know what you meant! hope to look into it soon though On Sunday, June 14, 2020 at 3:12:25 PM UTC-4, Manfred Maier wrote: > > My post didn't want to say that you have to look into it NOW. > I just wanted to give a '+1' for this feature request ;) > > ... perhaps it's even something that is

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Manfred Maier
My post didn't want to say that you have to look into it NOW. I just wanted to give a '+1' for this feature request ;) ... perhaps it's even something that is not possible at all with weewx 4.0. -- You received this message because you are subscribed to the Google Groups "weewx-user" group.

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Pat O'Brien
I'll have to look into it for the day charts. Like I said I'm not sure why the year charts are doing it but I haven't had time to look at it yet. On Sun, Jun 14, 2020, 2:43 PM Manfred Maier wrote: > > This new behavior (ie. showing the entire year / month on the x-axis) has > been the main

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Manfred Maier
This new behavior (ie. showing the entire year / month on the x-axis) has been the main motivation for me for switching to weewx 4.0. In my opinion, this makes the charts much more readable. Personally I would love to use this 'feature' also for the daily charts. -- You received this message

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Didier Decoodt
Exactly, it's work for a year... I will contact the site's owner for more info Thank's Pat for your answer Le dim. 14 juin 2020 à 16:47, Pat a écrit : > I will say that I noticed in weewx 4, that the "year" timespan shows the > full year now. I'm not sure what changed and haven't had the time

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Pat
I will say that I noticed in weewx 4, that the "year" timespan shows the full year now. I'm not sure what changed and haven't had the time to dive into it. I'm not sure if it's a change with archiveYearSpan() or with highcharts. But the archiveDaySpan() still shows just midnight to "now" with

Re: [weewx-user] Re: Full day highcharts question

2020-06-14 Thread Didier Decoodt
I see this example on a site [image: image.png] Le dim. 14 juin 2020 à 16:39, Pat a écrit : > Not possible at this time. Curious; why do you want to show blank space? > > On Sunday, June 14, 2020 at 10:38:08 AM UTC-4, Didier Decoodt wrote: >> >> Yes, but How to have 24 hours duration for xAxis?

[weewx-user] Re: Full day highcharts question

2020-06-14 Thread Pat
Right now the time_length = today will only show you the values that have happened since midnight. On Sunday, June 14, 2020 at 4:22:04 AM UTC-4, Didier Decoodt wrote: > > Hi > > For the current day graph, I would like to have the xAxis from the > beginning of the day to the end of the day