Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Another suggestion I was looking at the size of belchertown skin output. Significant partof it is due to year.json.The entire FTP now takes around 25 to 30 seconds. Can that be transferred say once a day only? Is the provision to do so already there? -- You received this message because

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Pat O'Brien
How are you transferring it? The skin doesn't ftp. Are you Using the ftp extension? Not sure on the options of that. On Sat, Sep 8, 2018, 10:59 AM Praveen Chandrasekaran wrote: > Another suggestion > > I was looking at the size of belchertown skin output. Significant partof > it is due to

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Andrew Milner
Why not create a skin to transfer only Belchertown yearly via FTP, and remove yearly from other skins and then run wee_reports with just the Belchertown ftp skin via cron once per day. Something like that anyway should give you what you need. On Saturday, 8 September 2018 18:08:08 UTC+3, Pat

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Pat
To all who are subscribed, Belchertown skin 0.7 is out! *There are a lot of changes and an uninstall and re-install of the skin is advised.* This is due to the charts generator being split into it's own skin to speed up generation time. The 2 skins are linked together and released as 1 skin.

[weewx-user] MQTT for remote site and min data transfer - MQTT Driver as input to weewx

2018-09-08 Thread Louis De Lange
I have a remote site that I want to connect to my home network using MQTT and utilize minimal data transfer. The plan is to have weewx on one Raspberry Pi Zero at the remote site receiving the data from the weather station, archive it and publish to a MQTT broker using mwall's MQTT

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
I have an FTP skin that transfers the entire directory . News to optimize it and need help on that. On Sat, 8 Sep 2018, 20:38 Pat O'Brien, wrote: > How are you transferring it? The skin doesn't ftp. Are you Using the ftp > extension? Not sure on the options of that. > > On Sat, Sep 8, 2018,

[weewx-user] Re: MQTT for remote site and min data transfer - MQTT Driver as input to weewx

2018-09-08 Thread Pat
Hi Louis, I don't have any specific experience with wxMesh, but maybe I can help a little with MQTT. In general, the # in a topic ID means "I want to see everything in this topic". This is good for debugging, but typically bad practice for anything else. For example if my broker is available

[weewx-user] Re: MQTT for remote site and min data transfer - MQTT Driver as input to weewx

2018-09-08 Thread Louis De Lange
Pat, Thank you for the insight. I already understood most of what you described, but your point that the data should be on weather/loop worked. So changing that now the loop is activated when data arrives, but I am getting an error about data type for dateTime. File "/usr/bin/weewxd",

Re: [weewx-user] How to get direction at $week.windSpeed.max

2018-09-08 Thread tfilosk
Thank you for answer. If i will have some time i will look at how to write custom searchlist. -- 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

Re: [weewx-user] How to get direction at $week.windSpeed.max

2018-09-08 Thread tfilosk
It would be great if this new tag occured in future versions of weewx. -- 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.

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
The rain charts seem to be off in monthly also. The units seem all weird. I believe for Colin everything is fine with metric. Not sure whats going wrong for me. On Sat, 8 Sep 2018 at 15:57, Andrew Milner wrote: > the graphs for week month and year ARE in metric (well Celsius at least) - > only

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Rain is also in inches in all the charts. Colin's 41south page also seems to have same issue though he is on metric. 61mm for the year in records but the graphs dont correlate. On Sat, 8 Sep 2018 at 16:20, Praveen Chandrasekaran wrote: > The rain charts seem to be off in monthly also. The units

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Seeing issues in records too in units. Makes me doubt if I picked the latest version of the skin. Is 0.6 the latest version? Largest Daily Temperature Range 26.7 °C May 14, 2018 (Min: 62.5 °C - Max: 89.2 °C ) May 14, 2018 (Min: 62.5 °C - Max: 89.2 °C ) 26.7 °C Smallest Daily Temperature Range 5.6

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Colin Larsen
Yes but the site time says something like 2.30pm whereas the charts say 21.30 which is my time. I'll check mine tomorrow when I'm home again On Sat, 8 Sep 2018, 21:51 Praveen Chandrasekaran, wrote: > That seems to be my time only. Can you send me a snippet of changes you > did to support

[weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
I having an issue with metric. I added the following in weewx.conf: [StdReport] [[Belchertown]] skin = Belchertown HTML_ROOT = /var/www/html/weewx/belchertown [[[Units]]] Groups group_altitude = meter group_degree_day

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Colin Larsen
There is something else a little funky going on there as the time base along the bottom of the charts appears to be my local time, not yours On Sat, 8 Sep 2018, 21:24 Praveen Chandrasekaran, wrote: > I having an issue with metric. I added the following in weewx.conf: > > [StdReport] >

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
That seems to be my time only. Can you send me a snippet of changes you did to support metric? On Sat, 8 Sep 2018 at 15:16, Colin Larsen wrote: > There is something else a little funky going on there as the time base > along the bottom of the charts appears to be my local time, not yours > > On

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Also can someone point me to sample about.inc and records.inc file. The ones in github seems to be missing. On Sat, 8 Sep 2018 at 15:21, Praveen Chandrasekaran wrote: > That seems to be my time only. Can you send me a snippet of changes you > did to support metric? > > On Sat, 8 Sep 2018 at

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Colin Larsen
They are in GitHub, they end in .example On Sat, 8 Sep 2018, 21:56 Praveen Chandrasekaran, wrote: > Also can someone point me to sample about.inc and records.inc file. The > ones in github seems to be missing. > > On Sat, 8 Sep 2018 at 15:21, Praveen Chandrasekaran < > praveen.c...@gmail.com>

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Yep, found it now :) The unresolved issue is still in metric units. Maybe Pat can help on that. Not sure what is going wrong On Sat, 8 Sep 2018 at 15:32, Colin Larsen wrote: > They are in GitHub, they end in .example > > On Sat, 8 Sep 2018, 21:56 Praveen Chandrasekaran, > wrote: > >> Also can

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Andrew Milner
the graphs for week month and year ARE in metric (well Celsius at least) - only the day graph shows farenheit values On Saturday, 8 September 2018 13:06:49 UTC+3, Praveen Chandrasekaran wrote: > > Yep, found it now :) > > The unresolved issue is still in metric units. Maybe Pat can help on

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
One more issue, with Mqtt enabled the time updated that it shows is 30 minutes behind. With archive only its fine. The data is fine. Suspecting its just a time display issue. On Sat, 8 Sep 2018, 16:34 Praveen Chandrasekaran, wrote: > Seeing issues in records too in units. Makes me doubt if I

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Pat
Hi, this is not correct. The time comes from weewx's timestamp it publishes to MQTT. Please log in to your broker with another client and you can verify this. The skin just translate epoch to human readable. You other issues - I'm losing track of - as mentioned in the latest 0.6 release notes

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Hi Pat, On mqtt spy the time it shows is fine. However on weewx page it is exactly half an hour behind. Will file issues for all. Regards, Praveen On Sat, 8 Sep 2018 at 18:41, Pat wrote: > Hi, this is not correct. The time comes from weewx's timestamp it > publishes to MQTT. Please log in to

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Pat
Does it have to do with a locale / timezone? Here is the code. All it is doing is taking the timestamp from MQTT and converting it to your UTC offset. The UTC offset is retrieved from your OS settings. updated = moment.unix(epoch).utcOffset($moment_js_utc_offset).format(" D, ,

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Hi Pat, Wondering if the time mismatch has anything to do with daylight savings time? In India we dont have any daylight savings. My MQTT broker is test.mosquitto.org and topic is weather/IBANGALO9. You can check it if time there is fine. Regards, Praveen On Sat, 8 Sep 2018 at 19:13, Praveen

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Pat
Still don't think so. Still think it's something with your OS. What does "date" return on your command line? mosquitto_sub -h test.mosquitto.org -p 1883 -t weather/IBANGALO9/# {"windSpeed10_kph": "3.218688", "monthET": "0.0", "cloudbase_meter": "2008.76043818", "outHumidity": "59.0",

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Hi Pat, The offset in page source there is 5. It should have been 5.5. Here is result of date and date -u on my pi READ WRITE : root@raspberrypi:/var/tmp# date Sat 8 Sep 19:28:58 IST 2018 READ WRITE : root@raspberrypi:/var/tmp# date -u Sat 8 Sep 13:59:11 UTC 2018 As per this timezone is fine

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Hi Pat, I am mailing from laptop, weewx is on pi where as shown in earlier mail timezone is all fine. Timezone in gmail may be off because I may be having VPN connected on my laptop. Regards, Praveen On Sat, 8 Sep 2018 at 19:32, Pat wrote: > Still don't think so. Still think it's something

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Also I have been publishing to WU for 9 months now and have never had issues related to time. The offset is getting wrongly calculated for some reason. On Sat, 8 Sep 2018 at 19:32, Pat wrote: > Still don't think so. Still think it's something with your OS. What does > "date" return on your

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Pat
Interesting. On your Pi command line, type this: python import time time.localtime( time.time() ) What does it return? Does it look accurate? For example mine is accurate: time.struct_time(tm_year=2018, tm_mon=9, tm_mday=8, tm_hour=10, tm_min=4, tm_sec=42, tm_wday=5, tm_yday=251, tm_isdst=1)

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Hi Pat, You are right. 19800/60/60 gets rounded off to 5 instead of 5.5. So another issue to fix :) Regards, Praveen On Sat, 8 Sep 2018 at 19:36, Pat wrote: > Interesting. On your Pi command line, type this: > > python > import time > time.localtime( time.time() ) > > What does it return?

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Pat
Are your highcharts from Gary working with the right timezone? This UTC offset code is the same that's used in his code with an additional /60 for JavaScript's requirements. . On Saturday,

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Never examined that so closely. 19800/60 is still in minutes so no rounding issues there. It is the additional divide by 60 that causes the issue. On Sat, 8 Sep 2018 at 19:45, Pat wrote: > Are your highcharts from Gary working with the right timezone? > > This UTC offset code is the same that's

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
Filed issue. Will file for other issues also now. On Sat, 8 Sep 2018 at 19:46, Praveen Chandrasekaran wrote: > Never examined that so closely. 19800/60 is still in minutes so no > rounding issues there. It is the additional divide by 60 that causes the > issue. > > On Sat, 8 Sep 2018 at 19:45,

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Pat
Yeah, the JavaScript needs it in offset hours (not minutes). But maybe I need to do the conversion in JavaScript and not Python. What's the name of your timezone so I can reproduce it on my lab system? Thanks for filing issues - will help me keep track of them all. On Saturday, September 8,

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-09-08 Thread Praveen Chandrasekaran
My timezone is IST - Indian Standard Time. It is 5.5hrs ahead of UTC. On Sat, 8 Sep 2018 at 19:57, Pat wrote: > Yeah, the JavaScript needs it in offset hours (not minutes). But maybe I > need to do the conversion in JavaScript and not Python. > > What's the name of your timezone so I can