[weewx-user] Adding a top margin to images?

2017-02-27 Thread Alec Bennett
My generated images are much bigger than default: http://sinkingsensation.com/dropbox/daywind.png Everything looks great except the top margin. I'd like to extend the grey area in the header. Is that possible in the skin config? If not, any tips on doing it with genplot.py? -- You received this

[weewx-user] Adding a top margin to images?

2017-02-27 Thread gjr80
Hi, I think you will find it is hard coded as a proportion of the font size being used. Line 81 looks like a good place to start: self.tmargin = int(1.5 * self.top_label_font_size + 0.5) Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Andrew Milner
Does the wm300 show values for windchill and heat index? weewx software generated values require temp < 50F and wind > 5mph for windchill and >80F and humidity > 40% for heatindex otherwise will default to the same as outdoor temperature. On Sunday, 26 February 2017 22:01:41 UTC+2, Miguel In

Re: [weewx-user] Re: Cant find file:///var/www/html/weewx/index.html

2017-02-27 Thread Andrew Milner
Does the wm300 show values for windchill and heat index? weewx software generated values require temp < 50F and wind > 5mph for windchill and >80F and humidity > 40% for heatindex otherwise will default to the same as outdoor temperature. On Monday, 27 February 2017 08:59:57 UTC+2, Torbjørn

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Miguel Iniesta
Hello Andrew, I don’t have access to the station right now but weewx does not even default to outdoor temp. You can have a look: www.navarredondilla.info Thanks. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Andrew Milner
If you have said windchill and/or heat index are hardware generated then: a) According to WMR300 manual the wmr300 only calculates (and so only provides) heat index when temp is > 80F and humidity > 40% b) I do not know how/when windchill is calculated by wmr300 - manual says it is based on wind

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Andrew Milner
It is of course quite right and proper that there is not always a heat index or windchill value - and in fact you can never have both available! On Monday, 27 February 2017 14:10:30 UTC+2, Andrew Milner wrote: > If you have said windchill and/or heat index are hardware generated then: > a

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread mwall
On Sunday, February 26, 2017 at 3:01:41 PM UTC-5, Miguel Iniesta wrote: > > Station: WMR300 > weewx v3.6.2 > > Since updated to v3.6.2, I have realised that windchill/heatindex data are > not available in my system. > In weewx.conf the default option for these data is prefer_harware so I > unde

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 5:49:30 AM UTC-5, Miguel Iniesta wrote: > > You can have a look: www.navarredondilla.info > miguel, that is a fascinating wind pattern - the winds shift pretty decisively at day/night boundaries! is that a mountain/valley weather pattern? m -- You received thi

Re: [weewx-user] Re: Cant find file:///var/www/html/weewx/index.html

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 1:59:57 AM UTC-5, Torbjørn Aasen wrote: > > I do not get up Wind Cill and Heat index from WMR300 yet? > See picture below > hello torbjørn, please try the solution mentioned here: https://groups.google.com/forum/#!topic/weewx-user/CMhCjyOZdRk thank you for being

Re: [weewx-user] Re: Cant find file:///var/www/html/weewx/index.html

2017-02-27 Thread Torbjørn Aasen
It goes really well. I thank you for all the help you have given an old man who loves to do this. Thanks again for your help. I'll read on your link. Going to try and not nag more on you but can not promise anything. Have 3 WMR928 I would also set up this way Have a great day. 2017-02-27 14:38 G

[weewx-user] Out of memory Error - Raspberry Pi

2017-02-27 Thread Francisco Puig
After 45 days running in a raspberry pi my weewx suddenly stopped. I found on the logs a *"**Out of memory: Kill process 472 (python) score 814 or sacrifice child"* error. I restarted the weewx service and everything came back. Anyone has an idea whats triggered the out of memory? I'm attaching

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Torbjørn Aasen
This is how mine is set up and does not work [StdWXCalculate] [[Calculations]] # Derived quantities are calculated by this service. Possible values

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Torbjørn Aasen
mandag 27. februar 2017 14.34.59 UTC+1 skrev mwall følgende: > > On Monday, February 27, 2017 at 5:49:30 AM UTC-5, Miguel Iniesta wrote: >> >> You can have a look: www.navarredondilla.info >> > > miguel, > > that is a fascinating wind pattern - the winds shift pretty decisively at > day/night bo

[weewx-user] Re: Out of memory Error - Raspberry Pi

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 11:18:00 AM UTC-5, Francisco Puig wrote: > > After 45 days running in a raspberry pi my weewx suddenly stopped. I > found on the logs a *"**Out of memory: Kill process 472 (python) score > 814 or sacrifice child"* error. I restarted the weewx service and > everyth

[weewx-user] Re: Out of memory Error - Raspberry Pi

2017-02-27 Thread mwall
francesco, it would also help if you could post more context about why the out-of-memory killer was activated. see the answer to this posting: http://unix.stackexchange.com/questions/128642/debug-out-of-memory-with-var-log-messages and post any oom/total_vm results you find: sudo grep oom /va

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Miguel Iniesta
Have you reload weewx.conf or restarted weewx after updating weewx.conf? I will have to wait al least a couple of weeks before being able to try the solution Cheers. On Monday, February 27, 2017 at 5:27:10 PM UTC+1, Torbjørn Aasen wrote: > > This is how mine is set up and does not work > > > <

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Miguel Iniesta
Hello Matthew, Yes, the pattern is really interesting, but it is still quite unknown to me. There is not any other station in this high part of the valley and further down the wind does not behave like this. Being a mountain area, I think orographic conditions might play an important role. T

[weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 12:24:11 PM UTC-5, Miguel Iniesta wrote: > > Have you reload weewx.conf or restarted weewx after updating weewx.conf? > I will have to wait al least a couple of weeks before being able to try > the solution > miguel and torbjørn, i found another bug in the wmr300

[weewx-user] Re: Out of memory Error - Raspberry Pi

2017-02-27 Thread Francisco Puig
@mwall , here is the logs. The last log is the Before and after the memory crash issue. I hope to find the reason, could be a memory leak in some place. I manually restarted the service at Feb 27 11:07:43. *root@weather_bridge:~# sudo grep oom /var/log/** grep: /var/log/apache2: Is a directo

[weewx-user] Re: Out of memory Error - Raspberry Pi

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 1:02:30 PM UTC-5, Francisco Puig wrote: > > @mwall , here is the logs. The last log is the Before and after the memory > crash issue. I hope to find the reason, could be a memory leak in some > place. I manually restarted the service at Feb 27 11:07:43. > > frances

[weewx-user] Re: Out of memory Error - Raspberry Pi

2017-02-27 Thread Francisco Puig
I just sent the logs from the last 24hrs before and after the crash. Thanks in advance for the help. On Monday, February 27, 2017 at 1:20:32 PM UTC-5, mwall wrote: > > On Monday, February 27, 2017 at 1:02:30 PM UTC-5, Francisco Puig wrote: >> >> @mwall , here is the logs. The last log is the Be

Re: [weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Torbjørn Aasen
Supports this also Norwegian as I have 2017-02-27 18:48 GMT+01:00 mwall : > On Monday, February 27, 2017 at 12:24:11 PM UTC-5, Miguel Iniesta wrote: >> >> Have you reload weewx.conf or restarted weewx after updating weewx.conf? >> I will have to wait al least a couple of weeks before being able

Re: [weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread Ruben Navarro Huedo
Using this version: Feb 27 20:31:06 raspberrypi weewx[3370]: engine: Caught unrecoverable exception in engine: Feb 27 20:31:06 raspberrypi weewx[3370]: _extract_signed() takes exactly 3 arguments (2 given) Feb 27 20:31:06 raspberrypi weewx[3370]: Traceback (most recent call

[weewx-user] WMR200: Help me to find "low batt."-bits in the d9-packet

2017-02-27 Thread Per Edström
On my WMR88 (WMR100-driver) I managed to get the battery status from the data packages read from the console. But on the WMR200 it is not that obvious. I have tried with two temp.sensors going low on battery but I can't figure out what WMR200 is doing with that information. Maybe someone here h

[weewx-user] sqlite to mySql problem

2017-02-27 Thread Eric Gammeter
Getting .py errors when I attempt to switch from sqlite to mySql database. I do not know where to look next. Any comments/suggestions would be appreciated. Thanks /E -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this gro

[weewx-user] Re: sqlite to mySql problem

2017-02-27 Thread Eric Gammeter
It is a Debian pc, and was installed via dpkg / apt-get (not .py). On Monday, February 27, 2017 at 4:13:28 PM UTC-5, Eric Gammeter wrote: > > Getting .py errors when I attempt to switch from sqlite to mySql > database. I do not know where to look next. Any comments/suggestions > would be app

Re: [weewx-user] Re: WMR300: windchill/heatindex

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 2:52:08 PM UTC-5, Ruben Navarro Huedo wrote: > > Using this version: > > Feb 27 20:31:06 raspberrypi weewx[3370]: engine: Caught unrecoverable > exception in engine: > Feb 27 20:31:06 raspberrypi weewx[3370]: _extract_signed() takes > exactly 3 arguments

[weewx-user] Re: sqlite to mySql problem

2017-02-27 Thread gjr80
Hi, Did you install python-mysqldb as per the pre-requisites? http://weewx.com/docs/setup.htm Gary -- 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+

[weewx-user] Re: sqlite to mySql problem

2017-02-27 Thread Eric Gammeter
Yes- I definitely believe I followed all the pre-req's. On Monday, February 27, 2017 at 4:13:28 PM UTC-5, Eric Gammeter wrote: > > Getting .py errors when I attempt to switch from sqlite to mySql > database. I do not know where to look next. Any comments/suggestions > would be appreciated.

[weewx-user] "not reporting" after power outage

2017-02-27 Thread Steve Dulmes
Hello, My Acurite station has been reporting flawlessly to the Weather Underground for quite a while. Last Friday we had a short power outage in the middle of the night and now it won't connect anymore. I'm using a raspberry pi 3. I stopped and started weewx to hopefully reset the connection. N

[weewx-user] Re: sqlite to mySql problem

2017-02-27 Thread gjr80
Ok, well let's check. What response do you get if you enter the following at the command line: sudo apt-get install python-mysqldb Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails fro

[weewx-user] Re: sqlite to mySql problem

2017-02-27 Thread Eric Gammeter
Preparing to unpack .../python-mysqldb_1.2.3-2.1_amd64.deb ... Unpacking python-mysqldb (1.2.3-2.1) ... Setting up python-mysqldb (1.2.3-2.1) ... Ok- they were not installed...now they are. Cool. On Monday, February 27, 2017 at 4:13:28 PM UTC-5, Eric Gammeter wrote: > > Getting .py errors wh

[weewx-user] Re: sqlite to mySql problem

2017-02-27 Thread Eric Gammeter
I will need some time to see how it runs now that python-mysqldb has been added. Thanks much! On Monday, February 27, 2017 at 4:13:28 PM UTC-5, Eric Gammeter wrote: > > Getting .py errors when I attempt to switch from sqlite to mySql > database. I do not know where to look next. Any comments

[weewx-user] Re: Out of memory Error - Raspberry Pi

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 1:33:20 PM UTC-5, Francisco Puig wrote: > > I just sent the logs from the last 24hrs before and after the crash. > francisco, how much memory is in the pi? you are generating only the Standard report. your reports take 20 to 80 seconds to run. this is slow, bu

[weewx-user] parsing from csv file

2017-02-27 Thread Frank Johnson
hi all: hope someone can point me in the right direction i have crated a csv file in raspberry pi reading data from the hat so im using the pond.py example but having problem reading multiple items my file just contains the data... ie 32.65,44.5,1015.6,2017-02-27 17:54:38.827595 so i need to

[weewx-user] Re: sqlite to mySql problem

2017-02-27 Thread Craig Thom
I ran into the same issue last week when I was installing weewx for the first time (on my first RPi). It went smoothly after that. I have MySQL Workbench installed on my main Windows PC, so I'm able to connect it and confirm it is racking up the rows (after creating a user for myself with rem

[weewx-user] Re: Out of memory Error - Raspberry Pi

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 6:01:46 PM UTC-5, mwall wrote: > > the memory use of weewx was 149066/90779 VSZ/RSS just before it was killed. > btw, typical memory use for weewx is 12000-5 for RSS and 12-25 for VSZ so your 90779 is a bit high (probably due to the 5 uploaders?), but

[weewx-user] Re: "not reporting" after power outage

2017-02-27 Thread Craig Thom
Did you check syslog to see if weewx is giving you any errors? $tail -f /var/log/syslog You can stop and restart weewx in another SSH terminal window so you don't miss anything in the tail window. A couple of times, after I've rebooted, weewx has been unable to communicate with my 1035 display

[weewx-user] parsing from csv file

2017-02-27 Thread gjr80
Hi, Not familiar with fileparse at all and maybe you made a typo in your post but if barameter features in your config perhaps barometer would work better? Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and

[weewx-user] parsing from csv file

2017-02-27 Thread gjr80
and dateTime in lieu of datetime -- 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. For more options, visit https://groups.go

[weewx-user] Re: parsing from csv file

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 6:02:24 PM UTC-5, Frank Johnson wrote: > > hi all: > > hope someone can point me in the right direction i have crated a csv > file in raspberry pi reading data from the hat so im using the > pond.py example but having problem reading multiple items my file just >

[weewx-user] Re: WMR200: Help me to find "low batt."-bits in the d9-packet

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 3:11:31 PM UTC-5, Per Edström wrote: > > On my WMR88 (WMR100-driver) I managed to get the battery status from the > data packages read from the console. > how did you do this? is packet[0] & 0x40 the battery status for sensors on channels 2-7, as it is for channe

[weewx-user] Re: WMR200: Help me to find "low batt."-bits in the d9-packet

2017-02-27 Thread mwall
On Monday, February 27, 2017 at 3:11:31 PM UTC-5, Per Edström wrote: > > This is what I get with debug-mode when I change channel on a sensor with > low battery (current temp.sensors with good battery are Ch.1+2+3+5) : > sorry i'm so thick, but i cannot make sense of your table. could you simpli

[weewx-user] Re: parsing from csv file

2017-02-27 Thread Frank Johnson
thanks Mathew your the best, and sorry guys i can't spell either... lol the datetime is just there to make sure its getting updated each cycle... thanks again frank On Monday, February 27, 2017 at 6:02:24 PM UTC-5, Frank Johnson wrote: > > hi all: > > hope someone can point me in the right di

[weewx-user] Re: New release V3.5.0

2017-02-27 Thread Joan Pau
El dimarts, 15 març de 2016 3:06:52 UTC+1, mwall va escriure: > > hi george, > > as of 3.5.0, when you install weewx and choose fousb driver, > record_generation will be set to software. this will also happen if you do > a 'wee_config --reconfigure' and choose fousb. > > there are two reasons

[weewx-user] Re: Out of memory Error - Raspberry Pi

2017-02-27 Thread Francisco Puig
@mwall, Thanks a lot for your analysis. I'm running an RPi B = 512 MB of RAM, if the issue show up again I can swap it for a RPi 3 that has 1GB of RAM and better CPU, maybe is overkill but I really like how weewx works. I will do some tests to see what happen. On Monday, February 27, 2017 at