Re: [weewx-user] Second last value from database

2019-08-21 Thread Mikael Fredriksson
Ok, then I'll skip this for now as I'm not able to write that on my own.
Thanks for your answer Thomas.
/Micael

-- 
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/d23914b5-cf27-4357-8bab-3fb0ec19f78f%40googlegroups.com.


Re: [weewx-user] Second last value from database

2019-08-21 Thread Thomas Keffer
Unfortunately, there is no aggregation type of "next to last," etc. Only
last.

You would have to write your own search list extension.

-tk

On Wed, Aug 21, 2019 at 9:01 AM Mikael Fredriksson 
wrote:

> Hi.
>
> Can't figure it out!
>
> How can I get the second last, third last and so on from my weewx.sdb?
>
>  $year.avg_distance.last
>
> This gives me the last value.
>
> Thanks, Micael
>
> --
> 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/b377d917-4c78-48c7-9233-054200bf3e03%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/CAPq0zECHWVwsj3ONtS%3DeEKB76J2EXo3Bdi1fxAebKgK14LrX8A%40mail.gmail.com.


[weewx-user] Re: rsync fails with host key error in weewx, not from command line

2019-08-21 Thread Chris Richmond
Hi Tony,

  I've set things up (udev, specify pid file path) so I don't have to run 
as root.  Vince, what changed was the FQDN of the filer (changed domain 
names),
so that was the issue.  It's a bit of a learning experience to have two 
local domains.  As an aside, I've got <2 weeks to figure out how
to VPN between them so I can see either end once they aren't literally 
within 3ft of my chair and don't share the same ISP connection.
The wan ports are on the same domain (ISP's router ports), and each router 
(yet more linux boxes) has it's own local domain.
In the meantime, I'm pushing stuff from both sides to an external web 
service, which is what this is related to.

Thx, Chris

-- 
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/6bb19d36-e9b9-4b6a-9bcc-5685f8259299%40googlegroups.com.


[weewx-user] Belchertown Skin - "addons"

2019-08-21 Thread Xant

Belchertown Skin is a GREAT "nice, clean, modern and elegant dress" for 
WeeWX. 

Could not praise more our "founders" Tom Keffler & Matt Wall for providing 
us WeeWX and Pat O'Brien for Belchertwon.

Pat left Belchertown very customizable, and the following are some 
"add-ons" (apologies if some items well known to the community).


Belchertown "add-ons":


1) Windy radar, other radar or WebCAM

   - skin.conf file
   - just point html using 'radar_html = '

2) Widgets

   - in 'index_hook_after_charts.inc", or other
   - there are many weather Widgets available, but DarkSky seems elegant & 
   clean (good match for Belchertown theme)
   
3) Meteograms

   - in 'index_hook_after_charts.inc", or other
   - YR.no provides Meteograms for free; its nice, customizable, but no US 
   units or dark mode
   - Meteoblue also provides Meteograms for free; but think to "cartoony" 
   colors
   - Meteograms.com free till 500 hits/month; clean, customizable, 
   transparency or dark mode (good match for Belchertown theme)

4) Radar

   - in 'index_hook_after_charts.inc", or other
   - Windy radar can be shown larger here (800px or 65% width seems Ok)
   - or RainViewer, which has a dark mode

5) Astrospheric

   - in 'index_hook_after_charts.inc", or other
   - this is a great app, which shows Sun/Moon sine wave path; looks great 
   on computer screen, but unfortunately, doesn't behave well on mobile
   

Note of caution, play around, but don't over populate your weewx site.

Best,
Xant

-- 
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/8deb96bb-4b46-4a63-aafe-486aa7b069a4%40googlegroups.com.


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

2019-08-21 Thread Ron Sell
Is there a way to do a count to get the value on a chart?

It looks like the lightning strikes are stored with time,distance,energy in 
the database. Can I just count the records and use that as my lightning 
strikes total? I just don't know how to show the count on the chart.

On Monday, 19 August 2019 23:07:01 UTC-4, rich T wrote:
>
> Pat this is what I got so far.
>
> [[Rain_Thunder]]
> title = Rain and Lightning
> time_length = 604800
> aggregate_type = sum
> aggregate_interval = 3600
> gapsize = 360
> 
> [[[rainTotal]]]
> name = Rain Total
> yAxis = 1
> zIndex = 1
> 
> [[[rainRate]]]
> name = Rain Rate
> yAxis = 1
> zIndex = 2
> opposite = true
> 
> [[[lightning_strikes]]]
> name = Lightning Count
> aggregate_type = sum
> yAxis = 0
> yAxisLabel = Lightning Count
> zIndex = 0
> type = column  
>
> Rich
>
> On Sunday, August 18, 2019 at 8:01:53 PM UTC-4, Pat wrote:
>>
>> Rich have you found a good way to have lightning on the rain chart? 
>>
>> When I try adding it to yaxis = 1 (or 0) it messed up the chart. I know 
>> Highcharts supports *multiple *y axis' but Belchertown doesn't. Wasn't 
>> sure if you've found some interesting combination that has it all on the 
>> same chart.
>>
>> On Friday, August 16, 2019 at 6:31:50 PM UTC-4, rich T wrote:
>>>
>>> In the graphs.conf file add
>>>
>>> [homepage]
>>>
>>> .
>>>
>>> [[Lightning_chart]]
>>> title = Lightning (Last 3 Hour)
>>> time_length = 10800
>>> aggregate_interval = 300
>>> gapsize = 108000
>>> type = column
>>> 
>>> [[[lightning_strikes]]]
>>> name = Lightning Count
>>> zIndex = 1
>>> aggregate_type = sum
>>>
>>> Ensure the DB to contains the lightning fields, if not the db needs to 
>>> extended. 
>>> https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database
>>>
>>> On Friday, August 16, 2019 at 3:15:20 PM UTC-4, Ron Sell wrote:

 Is there a way to show the lightning strikes? I was looking to add 
 chart. 

 thanks 

 On Saturday, 1 June 2019 12:57:56 UTC-4, 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 the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an

Re: [weewx-user] Re: MQTT Mosquitto - my experience and advice to starters

2019-08-21 Thread Paul Lacatus (Gmail)

Hi Xant, Pat and everybody other

I am trying to connect Belchertown skin to my home mqtt browser . I am 
using at home RabbitMQ as mqtt broker. I activated the websockets mqtt 
plugin  https://www.rabbitmq.com/web-mqtt.html


my Extras section from Belchertown shin looks like :

[[[Extras]]]
        belchertown_root_url= http://meteopi.paul.local/weewx/belchertown/
    earthquake_enabled = 1
    forecast_enabled = 1
    darksky_secret_key = ##
    site_title = "Home, sweet home"
 webpage_autorefresh = 3
 mqtt_websockets_enabled = 1
 mqtt_websockets_host = 10.100.100.10
     mqtt_websockets_port = 15675
 mqtt_websockets_topic = home/weewx

the weewx mqtt section is

 [[MQTT]]
    server_url = mqtt://mqtt:mqtt@10.100.100.10:1883/
    topic = home/weewx
    unit_system = METRIC
        binding = loop, archive
#    aggregation = individual, aggregate

I can see on the broker the messages publised by weewx but Belchertoen 
skin indicates that is failed to connect to the broker over websockets. 
I suspect that is required an authentication by used and password that 
is also needed over mqtt. as you can see in the weewx mqtt section.


I don't know how to authenticate Belchertown skin .

Thanks for any suggestion

Paul


On 21/08/2019 04:45, Xant wrote:


All works well till reboot. Unable to load driver error. Not sure 
if MQTT, but most suspicious


Aug 20 21:35:32 raspberrypi weewx[446]: engine: Locale is 'en_US.UTF-8'
Aug 20 21:35:32 raspberrypi weewx[446]: engine: pid file is 
/var/run/weewx.pid
Aug 20 21:35:32 raspberrypi weewx[330]: Starting weewx weather system: 
weewx.

Aug 20 21:35:32 raspberrypi systemd[1]: Started LSB: weewx weather system.
Aug 20 21:35:32 raspberrypi weewx[469]: engine: Using configuration 
file /etc/we
Aug 20 21:35:32 raspberrypi weewx[469]: engine: Loading station type 
ObserverIP

Aug 20 21:35:33 raspberrypi weewx[469]: observerip: version is 0.6
Aug 20 21:35:33 raspberrypi weewx[469]: engine: Import of driver 
failed: [Errno
Aug 20 21:35:33 raspberrypi weewx[469]: engine: Unable to load driver: 
[Errno 10

Aug 20 21:35:33 raspberrypi weewx[469]:   Exiting...

If I kill and restart Mosquitto and WeeWX (in this order), still gives 
error, but will engage at sometime (and "luck").


Wondering if there is a Reboot sequence issue, and someone to advice 
as to verify Mosquitto service ahead of WeeWX (if that matters).


Thanks,
Xant

--
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/37a4e471-f3e2-441a-8d9f-dce5a00ebaad%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/fa8dbebb-3e3b-b837-32d5-0c3b7e0c672b%40gmail.com.


Re: [weewx-user] WeatherDuino - "trouble or fun"?

2019-08-21 Thread Colin Larsen
Hi Xant

If you like to build your own weather station equipment and tinker lots
then Weatherduino is a great system. It is Arduino based as the name
implies so a little experience in that area is good but not 100% necessary.
W'Duino is very very flexible but definitely not plug and play, if you want
that then Davis or similar is needed. Happy to offer further advice.

Colin

On Thu, 22 Aug 2019, 05:47 Xant,  wrote:

>
> Hi Colin
>
> Thank you for prompt reply (tried to directly, but no contact info on
> site... pls, consider).
>
> Davis is the "Cadillac" of PWS's, but at a price. Discovered WeatherDuino
> through your weewx site (which seems an interesting take). Please, share if
> "too much trouble", "too much time", or actually "fun" as to put all
> together.
>
> Best (from this side of the World),
> Xant
>
> --
> 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/59abdfa9-6354-4689-9802-1b39fff4a6e7%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/CACjxfUvj%2B0-TWrZ3GYgSn4X5Nbtz1Uwz64ioMeK1bf1oA1_H0Q%40mail.gmail.com.


Re: [weewx-user] WeatherDuino - "trouble or fun"?

2019-08-21 Thread Xant

Hi Colin

Thank you for prompt reply (tried to directly, but no contact info on 
site... pls, consider).

Davis is the "Cadillac" of PWS's, but at a price. Discovered WeatherDuino 
through your weewx site (which seems an interesting take). Please, share if 
"too much trouble", "too much time", or actually "fun" as to put all 
together.

Best (from this side of the World),
Xant

-- 
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/59abdfa9-6354-4689-9802-1b39fff4a6e7%40googlegroups.com.


Re: [weewx-user] WeatherDuino - "trouble or fun"?

2019-08-21 Thread Colin Larsen
That's my site, what would you like to know :)

Colin

On Thu, 22 Aug 2019, 05:18 Xant,  wrote:

>
> Does somebody went through WeatherDuino path?! (as in
> http://www.41south.net.nz/)
>
> https://wiki.weatherduino.com/
>
> Can share experience?
>
> Xant
>
> --
> 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/89f2a547-bb9e-4fe0-bf58-312aa433c37a%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/CACjxfUtbYr7UQRT2GM8dNR5t5D6u_un4LUz-b3hipWHMfE020w%40mail.gmail.com.


[weewx-user] WeatherDuino - "trouble or fun"?

2019-08-21 Thread Xant

Does somebody went through WeatherDuino path?! (as in 
http://www.41south.net.nz/)

https://wiki.weatherduino.com/

Can share experience?

Xant

-- 
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/89f2a547-bb9e-4fe0-bf58-312aa433c37a%40googlegroups.com.


[weewx-user] Second last value from database

2019-08-21 Thread Mikael Fredriksson
Hi.

Can't figure it out! 

How can I get the second last, third last and so on from my weewx.sdb?

 $year.avg_distance.last

This gives me the last value.

Thanks, Micael

-- 
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/b377d917-4c78-48c7-9233-054200bf3e03%40googlegroups.com.


[weewx-user] Re: rsync fails with host key error in weewx, not from command line

2019-08-21 Thread Anthony Fandino
Chris,

Understand that weewx runs as root. host key and id must be in the 
root/.ssh/

hope that helps

Tony

On Wednesday, August 21, 2019 at 9:29:52 AM UTC-4, Chris Richmond wrote:
>
> Hi,
>I'm not new to ssh and all, but this one doesn't make sense. I'm 
> messing around with
> getting a set of hardware together for a move, and in the process ended up 
> with rsync
> errors because of host keys.  So... I removed the hostkey on the weewx end 
> and was
> able to ssh without a password to the NAS.  Still got the error, so 
> checked the reverse
> direction, which also had a problem, so corrected that.  Rechecked both 
> directions this
> morning (by hand) and no problems. *Still* weewx is failing rsync because 
> of host key
> errors.  Any more ideas.
>
> pivue:~> sudo grep rsync /var/log/syslog | tail
> Aug 21 06:25:16 pivue weewx[9927]: rsyncupload: [['rsync', '--archive', 
> '--stats', '-e ssh', '/home/weewx/public_html/', 
> 'weewxfiler2.csrhome.home:/volume1/web/vueweather']] reported errors: 
> Host key verification failed.. rsync: connection unexpectedly closed (0 
> bytes received so far) [sender]. rsync error: error in rsync protocol data 
> stream (code 12) at io.c(235) [sender=3.1.2]
> Aug 21 06:25:16 pivue weewx[9927]: rsyncupload: rsync executed in 0.30 
> seconds
> pivue:~> ssh filer2
>
> weewx@filer2:~$ ssh pivue.csrhome.home
> Linux pivue 4.19.42+ #1219 Tue May 14 21:16:38 BST 2019 armv6l
>
> Last login: Wed Aug 21 06:25:40 2019 from 192.168.2.250
> pivue:~> 
>
> Thx, Chris
>

-- 
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/65793b9b-489b-4029-8b86-8abb61f68dd2%40googlegroups.com.


Re: [weewx-user] rsync fails with host key error in weewx, not from command line

2019-08-21 Thread vince
On Wednesday, August 21, 2019 at 6:59:56 AM UTC-7, Chris Richmond wrote:
>
> copy/paste of the exact rsync command also prompted to accept the hostkey 
> for
> filer2.csrhome.home. 
>

That's the issue.  The remote host key changed 'or' you generated a new 
~/.ssh/known_hosts file so it's prompting you for whether you trust the 
remote system is indeed the host it claims to be. 

-- 
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/4d85fe17-8f15-4705-8cbb-a6cb1777cdf1%40googlegroups.com.


Re: [weewx-user] rsync fails with host key error in weewx, not from command line

2019-08-21 Thread Chris Richmond
Yes.  weewx in this case.  Apparently, filer2 and filer2.csrhome.home end 
up with separate hostkeys
in known_hosts.  copy/paste of the exact rsync command also prompted to 
accept the hostkey for
filer2.csrhome.home.  Learn something new everyday.

I'll have to wait until later to see if weewx is successful next time 
(rsync 3x/day for now).

Chris

On Wednesday, August 21, 2019 at 6:50:21 AM UTC-7, Graham Eddy wrote:
>
> is it same user running ssh manually as weewx runs as?
> 
> *Graham Eddy*
>
> On 21 Aug 2019, at 11:29 pm, Chris Richmond  > wrote:
>
> Hi,
>I'm not new to ssh and all, but this one doesn't make sense. I'm 
> messing around with
> getting a set of hardware together for a move, and in the process ended up 
> with rsync
> errors because of host keys.  So... I removed the hostkey on the weewx end 
> and was
> able to ssh without a password to the NAS.  Still got the error, so 
> checked the reverse
> direction, which also had a problem, so corrected that.  Rechecked both 
> directions this
> morning (by hand) and no problems. *Still* weewx is failing rsync because 
> of host key
> errors.  Any more ideas.
>
> pivue:~> sudo grep rsync /var/log/syslog | tail
> Aug 21 06:25:16 pivue weewx[9927]: rsyncupload: [['rsync', '--archive', 
> '--stats', '-e ssh', '/home/weewx/public_html/', 
> 'weewxfiler2.csrhome.home:/volume1/web/vueweather']] reported errors: 
> Host key verification failed.. rsync: connection unexpectedly closed (0 
> bytes received so far) [sender]. rsync error: error in rsync protocol data 
> stream (code 12) at io.c(235) [sender=3.1.2]
> Aug 21 06:25:16 pivue weewx[9927]: rsyncupload: rsync executed in 0.30 
> seconds
> pivue:~> ssh filer2
>
> weewx@filer2:~$ ssh pivue.csrhome.home
> Linux pivue 4.19.42+ #1219 Tue May 14 21:16:38 BST 2019 armv6l
>
> Last login: Wed Aug 21 06:25:40 2019 from 192.168.2.250
> pivue:~> 
>
> Thx, Chris
>
> -- 
> 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...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/069127e6-f46b-4a3f-9a38-1d8c38439594%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/9a7fd643-e564-4d62-bd72-92e755fe66bf%40googlegroups.com.


Re: [weewx-user] rsync fails with host key error in weewx, not from command line

2019-08-21 Thread Graham Eddy
is it same user running ssh manually as weewx runs as?

Graham Eddy

> On 21 Aug 2019, at 11:29 pm, Chris Richmond  wrote:
> 
> Hi,
>I'm not new to ssh and all, but this one doesn't make sense. I'm messing 
> around with
> getting a set of hardware together for a move, and in the process ended up 
> with rsync
> errors because of host keys.  So... I removed the hostkey on the weewx end 
> and was
> able to ssh without a password to the NAS.  Still got the error, so checked 
> the reverse
> direction, which also had a problem, so corrected that.  Rechecked both 
> directions this
> morning (by hand) and no problems. *Still* weewx is failing rsync because of 
> host key
> errors.  Any more ideas.
> 
> pivue:~> sudo grep rsync /var/log/syslog | tail
> Aug 21 06:25:16 pivue weewx[9927]: rsyncupload: [['rsync', '--archive', 
> '--stats', '-e ssh', '/home/weewx/public_html/', 
> 'weewxfiler2.csrhome.home:/volume1/web/vueweather']] reported errors: 
> Host key verification failed.. rsync: connection unexpectedly closed (0 bytes 
> received so far) [sender]. rsync error: error in rsync protocol data stream 
> (code 12) at io.c(235) [sender=3.1.2]
> Aug 21 06:25:16 pivue weewx[9927]: rsyncupload: rsync executed in 0.30 seconds
> pivue:~> ssh filer2
> 
> weewx@filer2:~$ ssh pivue.csrhome.home
> Linux pivue 4.19.42+ #1219 Tue May 14 21:16:38 BST 2019 armv6l
> 
> Last login: Wed Aug 21 06:25:40 2019 from 192.168.2.250
> pivue:~> 
> 
> Thx, Chris
> 
> -- 
> 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/069127e6-f46b-4a3f-9a38-1d8c38439594%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/3AFF428E-61A1-4E91-81B9-DCF2AAEF4BF4%40gmail.com.


[weewx-user] rsync fails with host key error in weewx, not from command line

2019-08-21 Thread Chris Richmond
Hi,
   I'm not new to ssh and all, but this one doesn't make sense. I'm messing 
around with
getting a set of hardware together for a move, and in the process ended up 
with rsync
errors because of host keys.  So... I removed the hostkey on the weewx end 
and was
able to ssh without a password to the NAS.  Still got the error, so checked 
the reverse
direction, which also had a problem, so corrected that.  Rechecked both 
directions this
morning (by hand) and no problems. *Still* weewx is failing rsync because 
of host key
errors.  Any more ideas.

pivue:~> sudo grep rsync /var/log/syslog | tail
Aug 21 06:25:16 pivue weewx[9927]: rsyncupload: [['rsync', '--archive', 
'--stats', '-e ssh', '/home/weewx/public_html/', 
'weewxfiler2.csrhome.home:/volume1/web/vueweather']] reported errors: 
Host key verification failed.. rsync: connection unexpectedly closed (0 
bytes received so far) [sender]. rsync error: error in rsync protocol data 
stream (code 12) at io.c(235) [sender=3.1.2]
Aug 21 06:25:16 pivue weewx[9927]: rsyncupload: rsync executed in 0.30 
seconds
pivue:~> ssh filer2

weewx@filer2:~$ ssh pivue.csrhome.home
Linux pivue 4.19.42+ #1219 Tue May 14 21:16:38 BST 2019 armv6l

Last login: Wed Aug 21 06:25:40 2019 from 192.168.2.250
pivue:~> 

Thx, Chris

-- 
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/069127e6-f46b-4a3f-9a38-1d8c38439594%40googlegroups.com.


Re: [weewx-user] ET Evapotranspiration / Evaporation - calculation

2019-08-21 Thread Thomas Keffer
Sorry. ET can of course be non-zero at night. It's just a lot less than in
the day.

On Wed, Aug 21, 2019 at 2:51 AM Liz  wrote:

> On Tue, 20 Aug 2019 19:05:29 -0700
> Thomas Keffer  wrote:
>
> > Keep in mind that ET will be zero at night.
>
> If so, that is in error.
> Even in 1992 it was clear that nocturnal ET can be high
>
> https://www.researchgate.net/publication/239351598_Night-time_evapotranspiration_vs_daytime_and_24h_evapotranspiration
>
> and as a physical process, could still be quantified in 2019
>
> https://www.researchgate.net/publication/331942685_Quantification_and_Prediction_of_Nighttime_Evapotranspiration_for_Two_Distinct_Grassland_Ecosystems
>
> Liz
>
> --
> 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/20190821194835.3e0e10cb%40billiau.net
> .
>

-- 
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/CAPq0zEDs_B0cyq7RY6byOy0g7ouViMuoPusnK9H6ZpNE8r-D2w%40mail.gmail.com.


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

2019-08-21 Thread Kike .Asekas
I know that it is not a problem of the skin, but it is caused by having 
graphics grouped by months with several years (5) in the queries. For some 
reason match the query with weewx writing in the database and skip that 
error.

I will try to help you but I don't have a high level of programming. The 
commits are supervised by you, right?

El domingo, 18 de agosto de 2019, 13:25:09 (UTC+2), Pat escribió:
>
> Database is locked is not a Belchertown skin problem. Did you open the 
> database while weewx was running?
>
> Belchertown is developed when I have spare time. Lately there hasn't been 
> much of that. If you see room for improvement that you can fix, feel free 
> to submit a Pull Request on the skin's GitHub 
>  and help me out!
>
>
> On Sunday, August 18, 2019 at 5:08:01 AM UTC-4, Kike .Asekas wrote:
>>
>> I have troubles with graphs with graphics with many queries for being 
>> several years . Graphs like the image. The error is database is locked. 
>> It would not be much of a problem but I use the sdr driver and weewx when 
>> blocking the database it starts from the beginning and when load the driver 
>> it gives an error because there is an instance of rtl_433 running and it is 
>> not able to launch a new instance for not having killed the process 
>> previous.
>> Surely it is a driver error, which does not kill the process well before 
>> leaving but the result is that it stops working.
>>
>> I think the skin should give an option in graphs.conf to configure when 
>> the graphics are generated. Because weather graphs like the one attached 
>> here is not necessary to launch them every round. Maybe just once a 
>> month would be enough.
>> El sábado, 1 de junio de 2019, 18:57:56 (UTC+2), Pat escribió:
>>>
>>> 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 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/9c0ca245-a116-4132-bdac-08bbcdea2247%40googlegroups.com.


Re: [weewx-user] ET Evapotranspiration / Evaporation - calculation

2019-08-21 Thread Liz
On Tue, 20 Aug 2019 19:05:29 -0700
Thomas Keffer  wrote:

> Keep in mind that ET will be zero at night.

If so, that is in error. 
Even in 1992 it was clear that nocturnal ET can be high
https://www.researchgate.net/publication/239351598_Night-time_evapotranspiration_vs_daytime_and_24h_evapotranspiration

and as a physical process, could still be quantified in 2019
https://www.researchgate.net/publication/331942685_Quantification_and_Prediction_of_Nighttime_Evapotranspiration_for_Two_Distinct_Grassland_Ecosystems

Liz

-- 
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/20190821194835.3e0e10cb%40billiau.net.