[weewx-user] Re: Exception caused by windspeed

2019-08-31 Thread Andrew Milner
what did the log have to say - if there were any such errors they would be in the log. The log is always your friend and should always be the first place to look. We can only make guesses if we do not have a log to look at! On Saturday, 31 August 2019 12:52:58 UTC+3, Ludger Börgerding

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

2019-08-31 Thread Pat
The code doesn't exist in the skin as it is right now, but it would be easy to add. Create a new function in the belchertown.js.tmpl file for the wind speed and the colors you want. You could copy something like this for the temperature

[weewx-user] Exception caused by windspeed

2019-08-31 Thread Ludger Börgerding
Hello, yesterday and the evening before I had an exception and weewx stopped working. I am using a Davis Vantage Pro 2 connected by serial bus. I could not restart weewx anymore. I used the dump function to insert all data into database and after that I could start weewx again. What happened?

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

2019-08-31 Thread Stefan
Hello. I have a question. Can the wind speed in Belchertown also be colored? eg from 40 km yellow and from 80 red and from 120 purple? I mean in live view. [image: Unbenannt.PNG] Thanks for Help -- You received this message because you are subscribed to the Google Groups "weewx-user" group.

[weewx-user] Re: Exception caused by windspeed

2019-08-31 Thread Andrew Milner
Had you just started weewx at this point - or what is the context of the log. Usually one needs 10 minutes or more log to work out what might be going on, and as far as I am concerned I would like to know what came before, and why weewx is attempting to retrieve archive data from one minute

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

2019-08-31 Thread Pat
It's a 2 step process. Looks like you've done step 1 with creating the function. You then need to tell this line to use that function . Something like this? Untested:

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

2019-08-31 Thread Pat
Did you delete that line? I had an error and had you delete it but then I corrected myself and said do not delete and add the new line below it. Please try that. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and

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

2019-08-31 Thread Pat
You misunderstood. Your function looks good. You now need to update this line: https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/js/belchertown.js.tmpl#L799 To add this: update_windSpeed_kph( parseFloat(parseFloat(data["windSpeed_kph"])).

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

2019-08-31 Thread Stefan
The color works. However, the value does not update anymore. I think it could be due to the variable? [image: Unbenannt.PNG] Am Samstag, 31. August 2019 19:42:53 UTC+2 schrieb Pat: > > You misunderstood. > > Your function looks good. > > You now need to update this line: > > >

[weewx-user] Re: Exception caused by windspeed

2019-08-31 Thread Ludger Börgerding
That was the end of running weewx after a lot of hours. Just searched for more at this group and found the following topic https://groups.google.com/forum/m/#!searchin/weewx-user/Weewxwd3/weewx-user/9RCwNMSlr8Q This sounds like my problem. Will check it later. -- You received this message

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

2019-08-31 Thread Stefan
Hello Pat. Thank you for your answer. I think you mean this one. I had made various changes, but without success. Which variables do I have to use there? Do not see any color in the wind. See this: https://www.meteo-oberwallis.ch/wetter/glis/user/ // Change the color of the windSpeed_kph

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

2019-08-31 Thread Pat
Actually, that won't work. Leave that line alone but below it, add the function call. Untested but this seems like it should work. update_windSpeed_kph( parseFloat(parseFloat(data["windSpeed_kph"])). toLocaleString("$system_locale_js", {minimumFractionDigits: 1, maximumFractionDigits: 1}) );

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

2019-08-31 Thread Steve Shuff
Cancel On Sat, 31 Aug 2019, 17:07 Stefan, wrote: > Hello Pat. > Thank you for your answer. I think you mean this one. I had made various > changes, but without success. Which variables do I have to use there? > Do not see any color in the wind. > > See this:

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

2019-08-31 Thread Stefan
Something like that? Does not work too. Or have I misunderstood that? // Change the color of the windSpeed_kph variable function update_windSpeed_kph( wind ) { jQuery(".curwindspeed").text( update_windSpeed_kph( parseFloat(parseFloat(data["windSpeed_kph"])).toLocaleString("$system_locale_js",

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

2019-08-31 Thread Pat
Yes, that was my error (I corrected it in a follow up email). Here it is again, please try this. // Windspeed Metric if ( data.hasOwnProperty("windSpeed_kph") ) { jQuery(".curwindspeed").text( parseFloat(parseFloat(data["windSpeed_kph" ])).toLocaleString("$system_locale_js",

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

2019-08-31 Thread Pat
(I'm having a hard time typing today). Yes, that was my error. I corrected it in another email. Here it is again, please try this: // Windspeed Metric if ( data.hasOwnProperty("windSpeed_kph") ) { jQuery(".curwindspeed").text( parseFloat(parseFloat(data["windSpeed_kph"

[weewx-user] Not exactly a problem, but copygenerator: copied 0 files to

2019-08-31 Thread Chris Richmond
Hi, I'm watching /var/log/messages, and noticed this: Aug 31 18:45:16 pivue weewx[27341]: manager: Added record 2019-08-31 18:45:00 PDT (1567302300) to database 'weewx.sdb' Aug 31 18:45:16 pivue weewx[27341]: manager: Added record 2019-08-31 18:45:00 PDT (1567302300) to daily summary in

[weewx-user] Re: Not exactly a problem, but copygenerator: copied 0 files to

2019-08-31 Thread J D
HI, This is normal. Nothing to worry about. Please read http://www.weewx.com/docs/customizing.htm#[CopyGenerator] Thanks Jerry On Saturday, August 31, 2019 at 7:17:53 PM UTC-7, Chris Richmond wrote: > > Hi, > > I'm watching /var/log/messages, and noticed this: > > Aug 31 18:45:16 pivue

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

2019-08-31 Thread Stefan
I have this line jQuery(".curwindspeed").text( parseFloat(parseFloat(data["windSpeed_kph"])).toLocaleString("$system_locale_js", {minimumFractionDigits: 1, maximumFractionDigits: 1}) ); replaced by this line update_windSpeed_kph ( parseFloat ( parseFloat ( data [ "windSpeed_kph" ])).