Re: [weewx-user] 295kph windGust reading cannot find in database cannot fix

2023-07-06 Thread Greg Reive
Actually 81.9 is metres per second which works out to be 294.84 KPH
Now I know what to look for next time.
Yes I thought it was US in the database as well but I selected METRICWX
from the beginning so it must store metric in the database.

Thanks


On Fri, 7 Jul 2023 at 14:51, Karen K  wrote:

>
>
> Greg from Oz schrieb am Freitag, 7. Juli 2023 um 04:46:06 UTC+2:
>
> All good now.Still don't know why I couldn't find 295. Why is it
> 81.9?
>
>
>
> I guess the database is in US units. This is the default.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/OcVhlHxEvHI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/0d37b807-291c-4b35-bcba-65576d0f3fd8n%40googlegroups.com
> 
> .
>


-- 
¯\_(ツ)_/¯

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc88R_NQj24hkt4z%3D8vJpafO3pSRhO_7CugMGqUrz8u8xA%40mail.gmail.com.


Re: [weewx-user] 295kph windGust reading cannot find in database cannot fix

2023-07-06 Thread Greg Reive
select * from archive_day_windGust where dateTime = 1688565600;
++--++++---+---++-+
| dateTime   | min  | mintime|max| maxtime
   |  sum   | count | wsum   |
sumtime |
++--++++---+---++-+
| 1688565600 |0 | 1688566200 | 81.9006552 | 1688648400 |
635.305082397 |   288 | 190590.00015247212 |   86400 |
++--++++---+---++-+

date -d@1688565600
Thu 06 Jul 2023 00:00:00 AEST

Maxtime: date -d@1688648400
Thu 06 Jul 2023 23:00:00 AEST

The max is 81.9 and not 295?



On Fri, 7 Jul 2023 at 12:05, Greg Reive  wrote:

> I only have the one database.
> It is very strange that I can't even find the high wind record.
> I will keep looking.
>
> On Fri, 7 July 2023, 12:02 Tom Keffer,  wrote:
>
>> If you did all those things, the only thing I can think of is that you
>> may not be working on the database you think you're working on.
>>
>>
>> On Thu, Jul 6, 2023 at 5:58 PM Greg from Oz  wrote:
>>
>>> I have a windGust reading spike of 295kph and I cannot find it in the
>>> database.
>>> 295 km/h from N/A (N/A) at 06/07/23 23:00:00
>>>
>>> select dateTime, windGust   from archive where (windGust  > 100);
>>> Returned nothing.
>>>
>>> I deleted the record for that date and time in the mysql database:
>>> delete from archive where dateTime = 1686142800;
>>>
>>> I dropped the daily records and rebuilt them.
>>> wee_database /opt/weewx/weewx-data/weewx.conf --drop-daily
>>> wee_database /opt/weewx/weewx-data/weewx.conf --rebuild-daily
>>>
>>> I deleted the daywind.png file as well
>>>
>>> It is still there:
>>>
>>> [image: Screenshot from 2023-07-07 10-53-10.png]
>>>
>>> This has me stumped..
>>>
>>> I have been able to fix up wrong rain readings before and that worked
>>> but this wind record is not working the same way.
>>>
>>> Any ideas?
>>>
>>>
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/815dbad8-10cb-4843-b98c-bdab8ac34227n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/815dbad8-10cb-4843-b98c-bdab8ac34227n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/weewx-user/OcVhlHxEvHI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEBDvt6OqFWPpZ0uxO-_T19_Lut00dCTM8zyVsRd30yR-Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBDvt6OqFWPpZ0uxO-_T19_Lut00dCTM8zyVsRd30yR-Q%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
¯\_(ツ)_/¯

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc-rxfz7xH9Tun5cYjr-Abso8gP4qVPV9pdhCw5GNQcV-w%40mail.gmail.com.


Re: [weewx-user] 295kph windGust reading cannot find in database cannot fix

2023-07-06 Thread Greg Reive
I only have the one database.
It is very strange that I can't even find the high wind record.
I will keep looking.

On Fri, 7 July 2023, 12:02 Tom Keffer,  wrote:

> If you did all those things, the only thing I can think of is that you may
> not be working on the database you think you're working on.
>
>
> On Thu, Jul 6, 2023 at 5:58 PM Greg from Oz  wrote:
>
>> I have a windGust reading spike of 295kph and I cannot find it in the
>> database.
>> 295 km/h from N/A (N/A) at 06/07/23 23:00:00
>>
>> select dateTime, windGust   from archive where (windGust  > 100);
>> Returned nothing.
>>
>> I deleted the record for that date and time in the mysql database:
>> delete from archive where dateTime = 1686142800;
>>
>> I dropped the daily records and rebuilt them.
>> wee_database /opt/weewx/weewx-data/weewx.conf --drop-daily
>> wee_database /opt/weewx/weewx-data/weewx.conf --rebuild-daily
>>
>> I deleted the daywind.png file as well
>>
>> It is still there:
>>
>> [image: Screenshot from 2023-07-07 10-53-10.png]
>>
>> This has me stumped..
>>
>> I have been able to fix up wrong rain readings before and that worked but
>> this wind record is not working the same way.
>>
>> Any ideas?
>>
>>
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/815dbad8-10cb-4843-b98c-bdab8ac34227n%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/OcVhlHxEvHI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEBDvt6OqFWPpZ0uxO-_T19_Lut00dCTM8zyVsRd30yR-Q%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc-yqC4%3DQq%3DAewnMfK2Rufo2H_3qX_cf2ZrtOvxf6Exdgg%40mail.gmail.com.


Re: [weewx-user] Rain cumulative total wrong total in graph

2023-06-27 Thread Greg Reive
I don't think you need that line. Just comment it out.
I was playing with lots of options and forgot to remove that line.


On Wed, 28 Jun 2023 at 09:16, DR  wrote:

> I'm trying to learn how to do a fwe things, but am confused by the need
> for the data_binding statement:
>
>
> > data_binding = wx_binding
>
>
> Isn't this a default linkage, and for those of us with simple databases
> and setups, not needed?  Just trying to cipher this out.
>
> Thanks for any explanation.  Dale
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/Td-2dHCXwaA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/3684743c-e491-5297-5e7c-37b2d49a6729%40gmail.com
> .
>


-- 
¯\_(ツ)_/¯

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc8b5E47XCULGH9%2BLnaT%3DgC%3DJca26k-JptVA0sTrJf_Gng%40mail.gmail.com.


Re: [weewx-user] Rain cumulative total wrong total in graph

2023-06-25 Thread Greg Reive
Sorry I didn't see the wiki part.
I just read the install bits.
Yes the wiki will cut it.

Also are you going to make this a standard in weewx?

Thanks again it is great.
I will pay around with it later and make the reset 9am due day graphs.


On Mon, 26 June 2023, 06:42 gjr80,  wrote:

> On Sunday, 25 June 2023 at 00:21:28 UTC+1 Greg from Oz wrote:
>
> Thanks Gary I will try your extension.
> The instructions say to do this:
> wget -P /var/tmp
> https://github.com/gjr80/weewx-gw1000/releases/download/v0.1.0/xcum-0.1.0.tar.gz
> The above is not found .
> Should be below statement:?
> wget -P /var/tmp
> https://github.com/gjr80/weewx-xcumulative/releases/download/v0.1.0/xcum-0.1.0.tar.gz
>
> Correct, thanks, fixed.
>
> On Sunday, 25 June 2023 at 00:46:59 UTC+1 Greg from Oz wrote:
>
> OK I have installed the extension and it seems to work!
> Thanks Gary
>
> You might want to put in the documentation about how to set the reset
> times examples.
> I used:
> reset = day
> reset = week
> reset =month
> reset = year
>
> [[[yearraincumulation]]]
>rain1
>  data_binding = wx_binding
>   rain_year_start = 1
>
>   data_type = rain
>   aggregate_type = cumulative
>   aggregate_interval = 604800 #1 day
>   label = Rain cumulative
>   plot_type = line
>   line_type = solid
>   line_gap_fraction = 0.5
>   reset = year
>
>
> So the Available config options
> 
> and Using the *Cumulative XType* in WeeWX plots
>  wiki pages
> didn't cut it?
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/Td-2dHCXwaA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/f9f2d466-681d-4570-82be-71998ff2eba7n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc-%2BFvDD4WUDn_Gq8mEve2c1Pperz-vKk7A9j%2Bb5QvodVA%40mail.gmail.com.


Re: [weewx-user] Rain cumulative total wrong total in graph

2023-06-24 Thread Greg Reive
I just want the cumulative total for the year to date.
It seems to work for day, week, month.

On Sat, 24 June 2023, 16:40 Graham Eddy,  wrote:

> i just assumed you were comparing aggregation of 12 months with
> aggregation since start of rainyear
> *⊣GE⊢*
>
> On 24 Jun 2023, at 3:52 pm, Greg from Oz  wrote:
>
> I put this part in:
>   rain_year_start = 1
> But still not correct.
>
>
> On Saturday, 24 June 2023 at 15:03:26 UTC+10 Greg Reive wrote:
>
>> What do you mean rain year date?
>>
>>
>> On Sat, 24 June 2023, 14:50 Graham Eddy,  wrote:
>>
>>> rainyear date?
>>> *⊣GE⊢*
>>>
>>> On 24 Jun 2023, at 2:27 pm, Greg from Oz  wrote:
>>>
>>> I have made a graph to show the cumulative rainfall and it seems to show
>>> the correct values on the graphs for day, week and month. They tally up
>>> with the figures that weewx has calculated but the year total is way out
>>> and the graph numbers are way out as well.
>>> I cannot see why it would be so different.
>>>
>>> I am using weewx version 4.10.2 and mysql
>>>
>>> Here is the year configuration I am using which is similar to the day,
>>> week and month.
>>>
>>> [[[yearraincumulation]]]
>>>rain1
>>>   data_binding = wx_binding
>>>   data_type = rain
>>>   aggregate_type = cumulative
>>>   aggregate_interval = 604800 #1 day
>>>   label = Rain cumulative
>>>   plot_type = line
>>>   line_type = solid
>>>   line_gap_fraction = 0.5
>>> It generates the graph:
>>> 
>>> The total weewx tells me for the year is:
>>> 478.8 mm
>>> which is nowhere near the 1200 on the graph.
>>> Very strange the other graphs work.
>>>
>>> Here is my web page:
>>> https://weather.ubeaut.work/year.html
>>>
>>> Any ideas?
>>> Thanks
>>>
>>>
>>> --
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/97c7b8b9-d177-465a-b258-692a1e06226dn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/97c7b8b9-d177-465a-b258-692a1e06226dn%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> 
>>>
>>>
>>>
>>> --
>>>
>> You received this message because you are subscribed to a topic in the
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/weewx-user/Td-2dHCXwaA/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/35952BFA-6255-4349-88DD-E1BB7B954697%40geddy.au
>>> <https://groups.google.com/d/msgid/weewx-user/35952BFA-6255-4349-88DD-E1BB7B954697%40geddy.au?utm_medium=email_source=footer>
>>> .
>>>
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/4665860b-848b-4ac9-8231-b266de44581fn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/4665860b-848b-4ac9-8231-b266de44581fn%40googlegroups.com?utm_medium=email_source=footer>
> .
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/Td-2dHCXwaA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/E8B1FD15-0728-4F55-9756-9C86FAAD67AE%40geddy.au
> <https://groups.google.com/d/msgid/weewx-user/E8B1FD15-0728-4F55-9756-9C86FAAD67AE%40geddy.au?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc-uuQx8J3%2B44SLoHsvS-1w6qZpzm55veuPc4ZGzDCQqtw%40mail.gmail.com.


Re: [weewx-user] Rain cumulative total wrong total in graph

2023-06-23 Thread Greg Reive
What do you mean rain year date?


On Sat, 24 June 2023, 14:50 Graham Eddy,  wrote:

> rainyear date?
> *⊣GE⊢*
>
> On 24 Jun 2023, at 2:27 pm, Greg from Oz  wrote:
>
> I have made a graph to show the cumulative rainfall and it seems to show
> the correct values on the graphs for day, week and month. They tally up
> with the figures that weewx has calculated but the year total is way out
> and the graph numbers are way out as well.
> I cannot see why it would be so different.
>
> I am using weewx version 4.10.2 and mysql
>
> Here is the year configuration I am using which is similar to the day,
> week and month.
>
> [[[yearraincumulation]]]
>rain1
>   data_binding = wx_binding
>   data_type = rain
>   aggregate_type = cumulative
>   aggregate_interval = 604800 #1 day
>   label = Rain cumulative
>   plot_type = line
>   line_type = solid
>   line_gap_fraction = 0.5
> It generates the graph:
> 
> The total weewx tells me for the year is:
> 478.8 mm
> which is nowhere near the 1200 on the graph.
> Very strange the other graphs work.
>
> Here is my web page:
> https://weather.ubeaut.work/year.html
>
> Any ideas?
> Thanks
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/97c7b8b9-d177-465a-b258-692a1e06226dn%40googlegroups.com
> 
> .
> 
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/Td-2dHCXwaA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/35952BFA-6255-4349-88DD-E1BB7B954697%40geddy.au
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc-vxRTBLuKbSac1CTeG_9UN5-Ge-QoRgQgwYNdd6uB6fw%40mail.gmail.com.


Re: [weewx-user] Re: weewx-wdc Skin v3.0.0 available

2023-03-09 Thread Greg Reive
I found this:
https://github.com/roe-dl/weewx-DWD/blob/master/README-en.md

It's close..

On Fri, 10 Mar 2023 at 10:37, David Bätge  wrote:

> That's indeed a big ask and I am afraid to say that this is out of scope
> of my spare free time, I am sorry about that.
>
> At first, I thought there should be some extension already to pull in the
> Australian BOM data, but it seems there is none yet. What I found is this:
> https://github.com/weewx/weewx/wiki/Raspberry-Pi-weather-station-with-i2C-sensors#australian-weather-forecast-added-to-belchertown-skin
>
>
> A Post about integrating the data into the Belchertown skin - I have not
> had a look over the files, sorry, but this could be a potential starting
> point. If anyone has the time/need for that, I would be happy to support
> that in some way (Wiki Posts, PR's).
>
> Greg from Oz schrieb am Donnerstag, 9. März 2023 um 22:58:00 UTC+1:
>
>> Thanks for looking at the caching issue.
>> Also would it be possible to have Australian official forecast from the
>> Bureau of Meteorology (BOM)?
>> I can get a json file from here:
>> https://api.weather.bom.gov.au/v1/locations/r7hgdpk/forecasts/daily
>>
>> The forecast looks like this:
>> https://weather.bom.gov.au/location/r67rt9q-moonbi
>>
>> I know that this would be a big ask but it would be great if it was
>> available.
>> If I knew enough about how the programming worked I would do it myself.
>>
>>
>> On Thursday, 9 March 2023 at 22:49:05 UTC+11 David Bätge wrote:
>>
>>> @greg
>>>
>>> Thank you for all the feedback!
>>>
>>> So the time of the last rain is not yet displayed, but I have noted
>>> this, and will add it in a future release :)
>>>
>>> Yes, I think I found the reason why your radar image is not refreshing
>>> (cached) - that's a bug with the service worker of the skin. I will have a
>>> look at it and release a small bugfix update by the end of the week, there
>>> were some more bugs with 3.0.0 which need to be resolved.
>>>
>>> Greg from Oz schrieb am Donnerstag, 9. März 2023 um 10:30:43 UTC+1:
>>>
 Also another observation is the radar graphic doesn't change in the
 weather web page until I press F5 refresh.
 If I click the today link it reverts back to the wrong image.
 If I open a new browser tab and use this:
 https://weather.ubeaut.work/WEBCAM/radar.jpg?
 I get the correct radar image.
 Very strange.

 On Thursday, 9 March 2023 at 19:33:07 UTC+11 Greg from Oz wrote:

> Hi,
>
> Is there a way to add the date and time for example to the radar html
> code?
> The reason I ask is because the image is being cached but if the name
> changes I should get the latest image.
>
> This is what I meanbut it doesn't work.
> radar_html = 'https://weather.ubeaut.work/WEBCAM/radar.jpg?""$current.dateTime;>'
>
> My web site is here:
> https://weather.ubeaut.work/index.html
>
> Thanks
>
>
> On Thursday, 9 March 2023 at 00:06:03 UTC+11 Claudio wrote:
>
>> Well done! you did a good job
>>
>> Il giorno lunedì 6 marzo 2023 alle 20:22:15 UTC+1 David Bätge ha
>> scritto:
>>
>>> Hi all,
>>>
>>>
>>> I just wanted to inform you that a new version is available for the 
>>> weewx-wdc
>>> skin  for download
>>> 
>>> .
>>>
>>>
>>> This release includes some big updates and refactoring:
>>>
>>>- Several Bugfixes and enhancements for weewx-forecast
>>>- Show weather data for a specific day - Daily archive
>>>- Make diagrams configurable per context (per period) / Refactor
>>>diagrams configuration. Diagrams can now be configured per context, 
>>> eg.
>>>day, week or month. Per default, the day and week pages do not 
>>> include the
>>>outTemp min/max/avg diagram anymore.
>>>- Make show_min, show_max, show_sum configurable for stat tiles
>>>- Support for custom data_bindings
>>>- Configurable Icons
>>>- Configurable unit for diagrams
>>>- Configurable Rounding
>>>- Configurable markers for diagrams
>>>- Automatic Refresh (via http-equiv="refresh")
>>>- Added new climatogram (combined chart consisting of rain as
>>>bar and temp as line) for statistics and yearly statistics pages
>>>- Update radar_img to allow for raw HTML (for using eg. iFrames
>>>as radar maps)
>>>
>>>
>>> Also included is "Support for combining different diagram types"
>>> (eg. line and bar). I added an own implementation of chart rendering 
>>> based
>>> directly on D3.js , which will replace the
>>> current nivo library  in a future release. The
>>> direct usage of D3 allows for really custom implementations, so I am 
>>> very
>>> 

Re: [weewx-user] Tracking Rainfall 9 AM to 9 AM (Australia)

2021-03-01 Thread Greg Reive
That's a good idea. See if it works first.
Then he just needs it to rain between 9 a.m and 9 a.m 


On Mon, 1 Mar 2021 at 20:11, Graham Eddy  wrote:

> after adding since.py file to bin/user/, and adding user.since.Since to
> skin.conf, you could just edit your .html.tmpl files to change
> ‘$day.rain.sum’ to ‘$since($hour=9).rain.sum’ (i.e. ‘$day’ →
> ‘$since($hour=9)’), so that all your daily rain is since 9am instead of
> since midnight. i think that is worth a go. just save copies of the files
> you are about to change if you want that backstop
>
> On 1 Mar 2021, at 6:39 pm, Robert D  wrote:
>
> Thanks - that has given me lots to look at.
> Working out how to install a new skin will take some research & reading
> up...
> Everything in my setup is "standard" - I haven't learned enough to start
> modifying things yet.
> I will have a look at the APP.
> What I am aiming for is  BOM style monthly Climate Stats report for my
> location.
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/EEmyF8fpVKk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/9A96571C-7C4C-4BA1-ABB6-5454B9A44B8E%40gmail.com
> 
> .
>


-- 
¯\_(ツ)_/¯

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc-qyn3e-UcuLD8xFOJXnDZtjsp2BB%2BpAzp6E-MW0nmgfw%40mail.gmail.com.


Re: [weewx-user] Re: Ubuntu 20.04 install, no HTML Files at all

2021-01-15 Thread Greg Reive
;> report 'SeasonsReport'
>> Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Gentle
>> wake up of console successful
>> Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.reportengine: Found
>> configuration file /etc/weewx/skins/Seasons/skin.conf for report
>> 'SeasonsReport'
>> Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.cheetahgenerator: Using
>> search list ['weewx.cheetahgenerator.Almanac',
>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
>> 'weewx.cheetahgenerator.Extras']
>> Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.manager: Daily summary
>> version is 3.0
>> Jan 16 00:00:17 t630weewx multipathd[673]: sda: add missing path
>> Jan 16 00:00:17 t630weewx multipathd[673]: sda: failed to get udev uid:
>> Invalid argument
>> Jan 16 00:00:17 t630weewx multipathd[673]: sda: failed to get sysfs uid:
>> Invalid argument
>> Jan 16 00:00:17 t630weewx multipathd[673]: sda: failed to get sgio uid:
>> No such file or directory
>> Jan 16 00:00:18 t630weewx weewx[3357] INFO weewx.cheetahgenerator:
>> Generated 12 files for report SeasonsReport in 1.36 seconds
>> Jan 16 00:00:18 t630weewx weewx[3357] DEBUG weewx.manager: Daily summary
>> version is 3.0
>> Jan 16 00:00:20 t630weewx weewx[3357] INFO weewx.imagegenerator:
>> Generated 60 images for report SeasonsReport in 2.32 seconds
>> Jan 16 00:00:20 t630weewx weewx[3357] INFO weewx.reportengine: Copied 5
>> files to /var/www/html/weewx
>> Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report
>> 'SmartphoneReport' not enabled. Skipping.
>> Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report
>> 'MobileReport' not enabled. Skipping.
>> Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report
>> 'StandardReport' not enabled. Skipping.
>> Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report
>> 'FTP' not enabled. Skipping.
>> Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report
>> 'RSYNC' not enabled. Skipping.
>> Jan 16 00:00:22 t630weewx multipathd[673]: sda: add missing path
>> Jan 16 00:00:22 t630weewx multipathd[673]: sda: failed to get udev uid:
>> Invalid argument
>> Jan 16 00:00:22 t630weewx multipathd[673]: sda: failed to get sysfs uid:
>> Invalid argument
>> Jan 16 00:00:22 t630weewx multipathd[673]: sda: failed to get sgio uid:
>> No such file or directory
>>
>> On Fri, Jan 15, 2021 at 6:00 PM Tom Keffer  wrote:
>>
>>> Actually, when it's a connectivity issue, it's better to see the full
>>> log. The kernel may be messing with the port.
>>>
>>> On Fri, Jan 15, 2021 at 3:57 PM Greg Reive  wrote:
>>>
>>>> Run this command:
>>>> * tail -f /var/log/syslog|grep weewx*
>>>>
>>>> *That will show you what is going on.*
>>>>
>>>>
>>>>
>>>> On Sat, 16 Jan 2021 at 10:52, Rob Cook  wrote:
>>>>
>>>>> Per minicom I received my TEST response so I do have connectivity.
>>>>> Interestingly this works in Windows 10. I'm trying WeeWx because the
>>>>> WeatherLink software dies randomly. That and who doesn't like a challenge?
>>>>>
>>>>>
>>>>> On Fri, Jan 15, 2021 at 5:46 PM Tom Keffer  wrote:
>>>>>
>>>>>> You are having connectivity problems with your station. Most likely,
>>>>>> the problem is getting VMWare to recognize the device.
>>>>>>
>>>>>> See the wiki article *Establishing connectivity
>>>>>> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#establishing-connectivity>*
>>>>>> .
>>>>>>
>>>>>> On Fri, Jan 15, 2021 at 3:43 PM Rob Cook  wrote:
>>>>>>
>>>>>>> It's running, just not creating the files. Seems like there is an
>>>>>>> issue talking to the USB Datalogger. I have it as a USB 2 device in 
>>>>>>> VMWare,
>>>>>>> I assume that is correct?
>>>>>>>
>>>>>>> rcook@t630weewx:/etc/weewx$ sudo systemctl status weewx
>>>>>>> ● weewx.service - LSB: weewx weather system
>>>>>>>  Loaded: loaded (/etc/init.d/weewx; generated)
>>>>>>>  Active: active (running) since Fri 2021-01-15 23:41:00 UTC; 5s
>>>>>>> ago
>>>>>>&

Re: [weewx-user] Re: Ubuntu 20.04 install, no HTML Files at all

2021-01-15 Thread Greg Reive
Run this command:
* tail -f /var/log/syslog|grep weewx*

*That will show you what is going on.*



On Sat, 16 Jan 2021 at 10:52, Rob Cook  wrote:

> Per minicom I received my TEST response so I do have connectivity.
> Interestingly this works in Windows 10. I'm trying WeeWx because the
> WeatherLink software dies randomly. That and who doesn't like a challenge?
>
>
> On Fri, Jan 15, 2021 at 5:46 PM Tom Keffer  wrote:
>
>> You are having connectivity problems with your station. Most likely, the
>> problem is getting VMWare to recognize the device.
>>
>> See the wiki article *Establishing connectivity
>> *
>> .
>>
>> On Fri, Jan 15, 2021 at 3:43 PM Rob Cook  wrote:
>>
>>> It's running, just not creating the files. Seems like there is an issue
>>> talking to the USB Datalogger. I have it as a USB 2 device in VMWare, I
>>> assume that is correct?
>>>
>>> rcook@t630weewx:/etc/weewx$ sudo systemctl status weewx
>>> ● weewx.service - LSB: weewx weather system
>>>  Loaded: loaded (/etc/init.d/weewx; generated)
>>>  Active: active (running) since Fri 2021-01-15 23:41:00 UTC; 5s ago
>>>Docs: man:systemd-sysv-generator(8)
>>> Process: 2216 ExecStart=/etc/init.d/weewx start (code=exited,
>>> status=0/SUCCESS)
>>>   Tasks: 1 (limit: 4620)
>>>  Memory: 12.2M
>>>  CGroup: /system.slice/weewx.service
>>>  └─2231 python3 /usr/share/weewx/weewxd --daemon
>>> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>>>
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.restx:
>>> PWSweather: Posting not enabled.
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.restx:
>>> CWOP: Posting not enabled.
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.restx:
>>> WOW: Posting not enabled.
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.restx:
>>> AWEKAS: Posting not enabled.
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO __main__:
>>> Starting up weewx version 4.3.0
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.engine:
>>> Clock error is 0.05 seconds (positive is fast)
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.engine:
>>> Using binding 'wx_binding' to database 'weewx.sdb'
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.manager:
>>> Starting backfill of daily summaries
>>> Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.engine:
>>> Starting main packet loop.
>>> Jan 15 23:41:05 t630weewx python3[2231]: weewx[2231] ERROR
>>> weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0
>>> instead
>>>
>>> On Fri, Jan 15, 2021 at 5:39 PM Greg from Oz  wrote:
>>>
 Check to see if weewx is running otherwise there will be no files as
 Gelnn said earlier.
 Run the command below:
 status weewx.service

 You should see a green dot and something similar to below which means
 it is running.
 ● weewx.service - LSB: weewx weather system
  Loaded: loaded (/etc/init.d/weewx; generated)
  Active: active (running) since Thu 2021-01-14 08:10:38 AEDT; 2
 days ago
Docs: man:systemd-sysv-generator(8)
   Tasks: 7 (limit: 9450)
  Memory: 68.0M
  CGroup: /system.slice/weewx.service
  └─1231 python3 /usr/share/weewx/weewxd --daemon
 --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf


 On Saturday, 16 January 2021 at 10:29:15 UTC+11 Glenn McKechnie wrote:

> On 16/01/2021, Rob Cook  wrote:
> > Notice that I have nothing in /var/www/html other than index.html,
> that's
> > my issue. The installer isn't (assuming it's supposed to) installing
> files
>
> The installer doesn't place any files into any html directory.
>
> > in /var/www/html and I can't seem to figure out via documentation
> where
> > else they would be.
>
> The html directory will only start showing weewx related files once
> weewx is up and successfully running.
>
> The weewx.conf file has the location (HTML_ROOT = ...)
>
> Once weewx is up and running and generating output (the Simulator
> driver is often used for testing a new installation) it will then
> transfer any generated files into that html/ location. (The first
> thing it will do is generate the weewx/ directory.)
>
> [...]
>
> --
>
>
> Cheers
> Glenn
>
> rorpi - read only raspberry pi & various weewx addons
> https://github.com/glennmckechnie
>
 --
 You received this message because you are subscribed to a topic in the
 Google Groups "weewx-user" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/weewx-user/GZtJCLk-IAk/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to

Re: [weewx-user] Re: Cannot display the time correctly

2020-10-01 Thread Greg Reive
Maybe this might help.

https://awesomeopensource.com/project/poblabs/weewx-belchertown?...#a-note-about-date-and-time-formatting-in-your-locale


On Thu, 1 Oct 2020, 11:18 PM Yannick M  wrote:

> Thank you very much! With this command line I could actually see that the
> time was in English on the server. Thanks to the sudo dpkg-reconfigure
> locales command, I was able to select French.
>
>  After stopping and restarting weewx, the changes do not apply, do you
> have to restart something else? Thanks a lot for your help!
>
> Le jeudi 1 octobre 2020 à 05:37:26 UTC+2, Greg from Oz a écrit :
>
>> type man date
>>  in a console.
>>
>> I assume the variables are the same in belchertown.
>> If you type this in a console:
>> date '+%Y/%m/%d %A %H:%M %b '
>> You get this:
>> 2020/10/01 Thursday 13:34 Oct
>> Upper case %B gives the full name of the month.
>>
>> Also type locale in a console
>> This will show you if you are using the local French local and that
>> should convert the Months (%b) into French
>> sudo dpkg-reconfigure locales
>> Use the above if the locale is wrong.
>>
>> Maybe that will work for you.I haven't tried it.
>> On Thursday, 1 October 2020 at 12:58:15 UTC+10 yannic...@gmail.com wrote:
>>
>>>
>>>  Hello, I am so sorry to bother you for this. This is the first time
>>> that I have made a site under debian, I tried to find the answer in the
>>> weewx and group docs but I didn’t find something that works.
>>> My problem is simple. Currently the date is displayed this way:
>>>
>>>  October 1, 2020, 4.44 pm I would like it to become: October 1, 2020,
>>> 16:44 .
>>>
>>> I use the belchertown skin, I have to pay TimeFormats day =% H:%
>>> M week =% H:% M on% A month =% d-% b-% Y% H:% M year =% d-% b-% Y% H:% M
>>> rainyear =% d-% b-% Y% H:% M current =% d-% b-% Y% H:% M ephem_day =% H:% M
>>> ephem_year =% d-% b-% Y% H:%
>>>
>>>
>>>  But it doesn't work anyway, do you have an idea please?
>>> How to change the order, put to 12h> 24h and translate the months in
>>> french please?
>>> the website: http://thurey.meteo-71.fr/weewx/
>>>
>>> Best regards
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/1IVqPP5KFt4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/47d96cb7-4b9e-4f3e-8101-f685715b0e5cn%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc-d7yg4gAi74nmu%2Buvyjq2_JXCredFYSKkL5qs4K%3DkNcA%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-09-24 Thread Greg Reive
I get those gaps when the communication from the console to the weather
station drops.

I graph the signal quality and the gaps coincide with the missing data.

On Tue, 24 Sep. 2019, 21:47 Kike .Asekas,  wrote:

> I have some small gaps in the graphics that I don't know because they
> appear since those records exist in the database.
> What can they be due to?
>
> [image: Screenshot_2019-09-24 Areal, Padrón Weather Conditions.png]
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/VyVMEfuxClo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/231950ff-48fe-482f-af71-b012c12f4225%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc95U5soP1e99_57UsOKLuSewKEw%3DcjZ%3Dg7w-LKQg9AumA%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-09-18 Thread Greg Reive
OK thanks anyway.

On Thu, 19 Sep 2019 at 11:38, Pat  wrote:

> Unsure. I don't see a license on the file, so not sure if I can just add
> it to me belchertown.py.
>
> It also won't fix the charts or the MQTT. Those rely on the weewx-mqtt
> extension and built-in weewx functions (non-Belchertown).
>
> On Wednesday, September 18, 2019 at 9:35:07 PM UTC-4, Greg from Oz wrote:
>>
>> Could this be a standard option for your next release?
>>
>>
>> On Thu, 19 Sep 2019 at 11:33, Pat  wrote:
>>
>>> Ah, looks like you've got it. Probably won't help you for MQTT for the
>>> Charts, but you can at least replace the tags you're looking for
>>>
>>> On Wednesday, September 18, 2019 at 9:29:35 PM UTC-4, Greg from Oz wrote:

 Yes I think Gary wrote a python script to work out 9 am.

 https://github.com/weewx/weewx/files/2082668/since.py.txt

 It is called since.py

 There is a bit in the index.html.tmpl

 

 Today's Rain since 9am
 $since($hour=9).rain.sum
   
 It was a long time since I installed this.



 On Thu, 19 Sep 2019 at 11:18, Pat  wrote:

> In the skin, not that I'm aware of. The skin is using the standard
> weewx $tags for rain timespans on static pages, and weewx-mqtt gives the
> values for rain on live updates. The charts get their daily timespans from
> weewx's built in archiveDaySpan() function.
>
> The website you link isn't showing Belchertown though, so I'm not sure
> what that is or how it's showing 9am.
>
> Maybe there's a setting in weewx.conf?
>
> I'm not sure if Gary or someone would be able to offer insight.
>
>
>
> On Wednesday, September 18, 2019 at 8:46:49 PM UTC-4, Greg from Oz
> wrote:
>>
>> Hi Pat.
>>
>> Is there an option in the skin to change the reporting time of rain?
>> Here in Australia it is from 9 am to 9 am and I know in other
>> countries it is different.
>> I show both on my web site.
>> https://weather.ubeaut.work/
>> It is good to have from 9 am as I can compare to the nearby official
>> weather station.
>>
>> Thanks
>>
>>
>> On Sunday, 2 June 2019 02:57:56 UTC+10, Pat wrote:
>>>
>>> Belchertown skin 1.0 is released!
>>>
>>> This update contains a lot of updates and changes including *an
>>> entire rewrite of the Highcharts system* which allows you to make
>>> almost any graph you want for almost any time span you want. You can see
>>> some examples of the charts you can make on the BelchertownWeather.com
>>> website graphs page
>>> .
>>>
>>> You can add/remove/change/reorder any chart, change colors, add
>>> observation plots, categorize for all time. Almost anything you want to 
>>> do
>>> is available! The skin comes with the standard 4 charts ready to go, but
>>> there's extensive Belchertown Charts Documentation
>>> 
>>> which can help you get started.
>>>
>>> In addition to the Charts there's now a dark mode (which has an
>>> auto-switching mode based on sunset/sunrise), more flexibility for
>>> translations, user customized station observation table which is 
>>> updated in
>>> real time if the MQTT Websockets are enabled, and a lot more. Check the
>>> release notes for all the details!
>>>
>>> You can download the latest release here
>>> ,
>>> and read all of the details on the changes here:
>>> https://github.com/poblabs/weewx-belchertown/releases
>>>
>>> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must
>>> uninstall everything and reinstall new. This is due to the Chart system
>>> being fully rewritten and the potential for conflicts. Please read
>>> this upgrade guide if you are upgrading from an older version of
>>> Belchertown skin
>>> 
>>> .
>>>
>>> Thanks to all the beta testers and translators over the last couple
>>> of months help me iron out all the kinks and shape the skin in a way 
>>> that
>>> can be translated a little easier!
>>>
>>> Attached are some examples of the charts that can be made. If you
>>> find any issues, you can reply here or open an issue on the
>>> Belchertown skin GitHub page
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> 

Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-09-18 Thread Greg Reive
Could this be a standard option for your next release?


On Thu, 19 Sep 2019 at 11:33, Pat  wrote:

> Ah, looks like you've got it. Probably won't help you for MQTT for the
> Charts, but you can at least replace the tags you're looking for
>
> On Wednesday, September 18, 2019 at 9:29:35 PM UTC-4, Greg from Oz wrote:
>>
>> Yes I think Gary wrote a python script to work out 9 am.
>>
>> https://github.com/weewx/weewx/files/2082668/since.py.txt
>>
>> It is called since.py
>>
>> There is a bit in the index.html.tmpl
>>
>> 
>>
>> Today's Rain since 9am
>> $since($hour=9).rain.sum
>>   
>> It was a long time since I installed this.
>>
>>
>>
>> On Thu, 19 Sep 2019 at 11:18, Pat  wrote:
>>
>>> In the skin, not that I'm aware of. The skin is using the standard weewx
>>> $tags for rain timespans on static pages, and weewx-mqtt gives the values
>>> for rain on live updates. The charts get their daily timespans from weewx's
>>> built in archiveDaySpan() function.
>>>
>>> The website you link isn't showing Belchertown though, so I'm not sure
>>> what that is or how it's showing 9am.
>>>
>>> Maybe there's a setting in weewx.conf?
>>>
>>> I'm not sure if Gary or someone would be able to offer insight.
>>>
>>>
>>>
>>> On Wednesday, September 18, 2019 at 8:46:49 PM UTC-4, Greg from Oz wrote:

 Hi Pat.

 Is there an option in the skin to change the reporting time of rain?
 Here in Australia it is from 9 am to 9 am and I know in other countries
 it is different.
 I show both on my web site.
 https://weather.ubeaut.work/
 It is good to have from 9 am as I can compare to the nearby official
 weather station.

 Thanks


 On Sunday, 2 June 2019 02:57:56 UTC+10, Pat wrote:
>
> Belchertown skin 1.0 is released!
>
> This update contains a lot of updates and changes including *an
> entire rewrite of the Highcharts system* which allows you to make
> almost any graph you want for almost any time span you want. You can see
> some examples of the charts you can make on the BelchertownWeather.com
> website graphs page 
> .
>
> You can add/remove/change/reorder any chart, change colors, add
> observation plots, categorize for all time. Almost anything you want to do
> is available! The skin comes with the standard 4 charts ready to go, but
> there's extensive Belchertown Charts Documentation
> 
> which can help you get started.
>
> In addition to the Charts there's now a dark mode (which has an
> auto-switching mode based on sunset/sunrise), more flexibility for
> translations, user customized station observation table which is updated 
> in
> real time if the MQTT Websockets are enabled, and a lot more. Check the
> release notes for all the details!
>
> You can download the latest release here
> ,
> and read all of the details on the changes here:
> https://github.com/poblabs/weewx-belchertown/releases
>
> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must
> uninstall everything and reinstall new. This is due to the Chart system
> being fully rewritten and the potential for conflicts. Please read
> this upgrade guide if you are upgrading from an older version of
> Belchertown skin
> 
> .
>
> Thanks to all the beta testers and translators over the last couple of
> months help me iron out all the kinks and shape the skin in a way that can
> be translated a little easier!
>
> Attached are some examples of the charts that can be made. If you find
> any issues, you can reply here or open an issue on the Belchertown
> skin GitHub page .
>
 --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/weewx-user/VyVMEfuxClo/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> weewx...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/3dcb13a7-2007-4ee8-9c4d-2b04bcabe2e1%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> ¯\_(ツ)_/¯
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit

Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-09-18 Thread Greg Reive
Yes I think Gary wrote a python script to work out 9 am.

https://github.com/weewx/weewx/files/2082668/since.py.txt

It is called since.py

There is a bit in the index.html.tmpl



Today's Rain since 9am
$since($hour=9).rain.sum
  
It was a long time since I installed this.



On Thu, 19 Sep 2019 at 11:18, Pat  wrote:

> In the skin, not that I'm aware of. The skin is using the standard weewx
> $tags for rain timespans on static pages, and weewx-mqtt gives the values
> for rain on live updates. The charts get their daily timespans from weewx's
> built in archiveDaySpan() function.
>
> The website you link isn't showing Belchertown though, so I'm not sure
> what that is or how it's showing 9am.
>
> Maybe there's a setting in weewx.conf?
>
> I'm not sure if Gary or someone would be able to offer insight.
>
>
>
> On Wednesday, September 18, 2019 at 8:46:49 PM UTC-4, Greg from Oz wrote:
>>
>> Hi Pat.
>>
>> Is there an option in the skin to change the reporting time of rain?
>> Here in Australia it is from 9 am to 9 am and I know in other countries
>> it is different.
>> I show both on my web site.
>> https://weather.ubeaut.work/
>> It is good to have from 9 am as I can compare to the nearby official
>> weather station.
>>
>> Thanks
>>
>>
>> On Sunday, 2 June 2019 02:57:56 UTC+10, Pat wrote:
>>>
>>> Belchertown skin 1.0 is released!
>>>
>>> This update contains a lot of updates and changes including *an entire
>>> rewrite of the Highcharts system* which allows you to make almost any
>>> graph you want for almost any time span you want. You can see some examples
>>> of the charts you can make on the BelchertownWeather.com website graphs
>>> page .
>>>
>>> You can add/remove/change/reorder any chart, change colors, add
>>> observation plots, categorize for all time. Almost anything you want to do
>>> is available! The skin comes with the standard 4 charts ready to go, but
>>> there's extensive Belchertown Charts Documentation
>>> 
>>> which can help you get started.
>>>
>>> In addition to the Charts there's now a dark mode (which has an
>>> auto-switching mode based on sunset/sunrise), more flexibility for
>>> translations, user customized station observation table which is updated in
>>> real time if the MQTT Websockets are enabled, and a lot more. Check the
>>> release notes for all the details!
>>>
>>> You can download the latest release here
>>> ,
>>> and read all of the details on the changes here:
>>> https://github.com/poblabs/weewx-belchertown/releases
>>>
>>> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must
>>> uninstall everything and reinstall new. This is due to the Chart system
>>> being fully rewritten and the potential for conflicts. Please read this
>>> upgrade guide if you are upgrading from an older version of Belchertown skin
>>> 
>>> .
>>>
>>> Thanks to all the beta testers and translators over the last couple of
>>> months help me iron out all the kinks and shape the skin in a way that can
>>> be translated a little easier!
>>>
>>> Attached are some examples of the charts that can be made. If you find
>>> any issues, you can reply here or open an issue on the Belchertown skin
>>> GitHub page .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/VyVMEfuxClo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/3dcb13a7-2007-4ee8-9c4d-2b04bcabe2e1%40googlegroups.com
> 
> .
>


-- 
¯\_(ツ)_/¯

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc9EFjA4xbGzicYMh2sANs671tecSxtJs5Ehy7yHQFo1Ag%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-09-10 Thread Greg Reive
I did see the  readme and I did see the radar_html bit but I overlooked the
bit that says

 Full HTML Allowed. Recommended size 650 pixels wide by 360 pixels high.
This URL will be used as the radar iFrame or image hyperlink.
Couldn't see if for looking :)
Thanks


On Wed, 11 Sep 2019 at 10:27, Pat  wrote:

> I've thought about that but afraid it'd make the skin.conf a mile long. So
> I've opted for a mile long README
>  with a section for the
> skin.conf options
> , can be
> updated adhoc. This is where the official skin documentation resides
> currently.
>
> On Tuesday, September 10, 2019 at 8:24:41 PM UTC-4, Greg from Oz wrote:
>>
>> I did this and it works!
>> radar_html = "> target='_blank'>"
>>
>> As a suggestion maybe you should add comments and examples in the
>> skin.conf for each configurable parameter?
>>
>> Thanks again.
>>
>>
>> On Wed, 11 Sep 2019 at 10:12, Pat  wrote:
>>
>>> Yep, since it's HTML you can do whatever you want with it, so a link
>>> should work fine
>>>
>>> On Tuesday, September 10, 2019 at 8:11:41 PM UTC-4, Greg from Oz wrote:

 Yes that worked.
 So I can just add a hyperlink that opens a new page to that as it is
 html?
 Thanks

 Like I stated earlier the windy.com is good but when viewed on the
 phone I had to swipe the screen so I could get past the windy.com
 graphic because if you try swiping on the graphic the map moves and not the
 screen.
 That is why I am changing it.


 On Wed, 11 Sep 2019 at 10:06, Pat  wrote:

> I guess it's been a long day. I've forgotten how this option works.
> This option has to be in HTML, so users can display an iframe, a gif, a
> png, whatever they want.
>
> Try this, it's worked for me.
>
> radar_html = ""
>
>
>
> On Tuesday, September 10, 2019 at 8:05:30 PM UTC-4, Greg from Oz wrote:
>>
>> Good to know that I didn't break it :)
>> I will leave it until the next version then?
>> If you want me to test the latest version let me know. I am good at
>> breaking things..haha
>> Thanks
>>
>> On Wednesday, 11 September 2019 10:01:02 UTC+10, Pat wrote:
>>>
>>> Yes and apparently not since 1.0 was released :)
>>>
>>> On Tuesday, September 10, 2019 at 7:57:14 PM UTC-4, Greg from Oz
>>> wrote:

 Is it designed to be able to change radar sites?
 Has anyone else asked to change the site?


 On Wednesday, 11 September 2019 09:54:07 UTC+10, Pat wrote:
>
> Yeah it was a long shot and I was being hopeful that those numbers
> maybe were the problem. I just tried it myself and it failed so let 
> me see
> if I can get it fixed up in development for the 1.1 release.
>
> On Tuesday, September 10, 2019 at 7:53:05 PM UTC-4, Greg from Oz
> wrote:
>>
>> Same thing. It just displays text where the windy.com was and
>> shows whatever URL I typed in.
>>
>> On Wednesday, 11 September 2019 09:43:03 UTC+10, Pat wrote:
>>>
>>> What if you try it without the numbers at the end?
>>> http://www.bom.gov.au/radar/IDR033.gif ?
>>>
>>> On Tuesday, September 10, 2019 at 7:40:39 PM UTC-4, Greg from Oz
>>> wrote:

 The space does remove the windy.com site.

 The windy.com is pretty good but if I look at it on the phone
 and I swipe up or down and accidentally press the graphic the map 
 moves so
 I would like to change it to a different site.

 I want to replace it with
 http://www.bom.gov.au/radar/IDR033.gif?20170728112640 and have
 that as a hyperlink to http://m.bom.gov.au/nsw/moss-vale/radar/

 Similar to what I have on https://weather.ubeaut.work/

 I change the skin.conf radar_html = "
 http://www.bom.gov.au/radar/IDR033.gif?20170728112640; but the
 web page doesn't display the graphic it just displays the text
 http://www.bom.gov.au/radar/IDR033.gif?20170728112640

 Other than that it is working and is great.


 On Tuesday, 10 September 2019 22:27:44 UTC+10, Roy Rutten wrote:
>
> Thanks a lot Pat the space did the trick to disable windy.com.
> i will have a go and see what happens with Chrome. i did find 
> more such
> errors on Firefox when i went looking for it on google.
>
 --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> 

Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-09-10 Thread Greg Reive
Yes that worked.
So I can just add a hyperlink that opens a new page to that as it is html?
Thanks

Like I stated earlier the windy.com is good but when viewed on the phone I
had to swipe the screen so I could get past the windy.com graphic because
if you try swiping on the graphic the map moves and not the screen.
That is why I am changing it.


On Wed, 11 Sep 2019 at 10:06, Pat  wrote:

> I guess it's been a long day. I've forgotten how this option works. This
> option has to be in HTML, so users can display an iframe, a gif, a png,
> whatever they want.
>
> Try this, it's worked for me.
>
> radar_html = ""
>
>
>
> On Tuesday, September 10, 2019 at 8:05:30 PM UTC-4, Greg from Oz wrote:
>>
>> Good to know that I didn't break it :)
>> I will leave it until the next version then?
>> If you want me to test the latest version let me know. I am good at
>> breaking things..haha
>> Thanks
>>
>> On Wednesday, 11 September 2019 10:01:02 UTC+10, Pat wrote:
>>>
>>> Yes and apparently not since 1.0 was released :)
>>>
>>> On Tuesday, September 10, 2019 at 7:57:14 PM UTC-4, Greg from Oz wrote:

 Is it designed to be able to change radar sites?
 Has anyone else asked to change the site?


 On Wednesday, 11 September 2019 09:54:07 UTC+10, Pat wrote:
>
> Yeah it was a long shot and I was being hopeful that those numbers
> maybe were the problem. I just tried it myself and it failed so let me see
> if I can get it fixed up in development for the 1.1 release.
>
> On Tuesday, September 10, 2019 at 7:53:05 PM UTC-4, Greg from Oz wrote:
>>
>> Same thing. It just displays text where the windy.com was and shows
>> whatever URL I typed in.
>>
>> On Wednesday, 11 September 2019 09:43:03 UTC+10, Pat wrote:
>>>
>>> What if you try it without the numbers at the end?
>>> http://www.bom.gov.au/radar/IDR033.gif ?
>>>
>>> On Tuesday, September 10, 2019 at 7:40:39 PM UTC-4, Greg from Oz
>>> wrote:

 The space does remove the windy.com site.

 The windy.com is pretty good but if I look at it on the phone and
 I swipe up or down and accidentally press the graphic the map moves so 
 I
 would like to change it to a different site.

 I want to replace it with
 http://www.bom.gov.au/radar/IDR033.gif?20170728112640 and have
 that as a hyperlink to http://m.bom.gov.au/nsw/moss-vale/radar/

 Similar to what I have on https://weather.ubeaut.work/

 I change the skin.conf radar_html = "
 http://www.bom.gov.au/radar/IDR033.gif?20170728112640; but the web
 page doesn't display the graphic it just displays the text
 http://www.bom.gov.au/radar/IDR033.gif?20170728112640

 Other than that it is working and is great.


 On Tuesday, 10 September 2019 22:27:44 UTC+10, Roy Rutten wrote:
>
> Thanks a lot Pat the space did the trick to disable windy.com. i
> will have a go and see what happens with Chrome. i did find more such
> errors on Firefox when i went looking for it on google.
>
 --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/VyVMEfuxClo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/832b986c-f66f-45b1-a564-58b6e1fc5494%40googlegroups.com
> 
> .
>


-- 
¯\_(ツ)_/¯

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc-4ONtROF%3DaKkyxuLn4FzuQFvFwc5AVp4Yw0PECKFSHyQ%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-09-05 Thread Greg Reive
Thanks for that.
Looking forward to the new version.


On Thu., 5 Sep. 2019, 23:26 Pat,  wrote:

> Greg, I've made this change where I flip the font icon if the station is
> in the southern hemisphere. I've committed it to my development branch
> 
> for the skin. It'll be in the 1.1 version.
>
>
> On Wednesday, September 4, 2019 at 8:00:40 PM UTC-4, Pat wrote:
>>
>> Greg, great question. The icons are actually a font
>> , and it doesn't look like
>> they observe northern or southern hemisphere in their default set.
>>
>> Are all moon phases flipped for all southern hemisphere locations?
>>
>> If so, I could use CSS to flip the font horizontally if the station's
>> latitude has a negative in it from weewx.conf. That's a potential
>> work-around.
>>
>> Here's a jsfiddle I've done just now to show you
>>  what I mean about the flip.
>>
>>
>>
>> On Wednesday, September 4, 2019 at 7:26:51 PM UTC-4, Greg from Oz wrote:
>>>
>>> Hi Pat
>>>
>>> I was wondering if there is a way to make the moon icons southern
>>> hemisphere.
>>>
>>> [image: Screenshot from 2019-09-05 09-23-39.png]
>>>
>>> The crescent down here is on the left hand side.
>>>
>>>
>>> It's just an aesthetic thing. The skin is great by the way.
>>>
>>>
>>> Thanks
>>>
>>> Greg
>>>
>>>
>>> On Tuesday, 3 September 2019 21:53:30 UTC+10, Pat wrote:

 This is a Meteostick issue (and not a skin issue). The stick reports
 10 minute average wind gust, but weewx and the archive schema don't support
 that observation type
 .
 As a result, wind gusts aren't available in real time from the stick. Weewx
 has to do those calculations on the archive interval, so the website gets
 updated at that time.

>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/VyVMEfuxClo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/42dbeec3-362c-469f-9cb3-046852536bfc%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAD_tbc82%2BdVZRqh9gTZ1VOYY6aTnggADeCYuv4YMo_3X9vcVsg%40mail.gmail.com.