Re: [weewx-user] Re: use Weewx on raspberry

2019-01-31 Thread Jardi Martínez
Hi Patrick, I had some time to wrapped the wind_direction_byo.py file into a class object and incorporate it into the driver. Here is the latest driver file, I haven't pushed it to github yet because I want to make su it works first. I'll be incorporating one sensor at a time to make debugging a

[weewx-user] Re: use Weewx on raspberry

2019-01-31 Thread jardiamj
Hello everyone, After lots of debugging with Patrick today I converted his script in a basic but functional weeWX driver. I wrapped the functions in his script in a class object to keep it separate from the class that inherits from weewx.drivers.AbstractDevice. Code is hosted in gitHub:

[weewx-user] Re: use Weewx on raspberry

2019-01-31 Thread Patrick Tranchant
Hello, well, I tested the first driver byows-3.py, it does not change anything, still no wind and rain records. With the one named "BYOWS-RPi.py, I have many values for wind and rain, I first tested with the command: python BYOWS-RPi.py = OK; after i renamed it to byows.py to embed it in

[weewx-user] Re: use Weewx on raspberry

2019-01-24 Thread Patrick Tranchant
hello PAT, no I go do it, and does this correct the display of the date in the graph? can I combine both skins, the default one and Belchertown? Patrick On Wednesday, January 23, 2019 at 7:18:25 PM UTC+1, Patrick Tranchant wrote: > > hello PAT, > until the driver's pb is solved, I installed the

[weewx-user] Re: use Weewx on raspberry

2019-01-24 Thread Patrick Tranchant
hello Jardi I give you the driver "byows.py" that PAT and Gary wrote for me; the problem is with the Wind and the Rain, (Button 5 and 6); I think. thanks Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english

[weewx-user] Re: use Weewx on raspberry

2019-01-23 Thread jardiamj
Hi guys! Did you ever get somewhere with this? I just recently went through the process of converting a python scrip into a weeWX driver for my Davis Weather Monitor II Station. If you point me to your script I might see if I can be of some help with this. Jardi. > -- You received this

[weewx-user] Re: use Weewx on raspberry

2019-01-23 Thread Pat
Hello Patrick, Have you read the Using Metric section ? It tells you how to change it. On Wednesday, January 23, 2019 at 1:18:25 PM UTC-5, Patrick Tranchant wrote: > > hello PAT, > until the driver's pb is solved, I installed the skin

[weewx-user] Re: use Weewx on raspberry

2019-01-23 Thread Patrick Tranchant
hello PAT, until the driver's pb is solved, I installed the skin "Belchertown", very very well, nice work; I have some defaults, how do we change the values ° F in ° C in the Graphs and the date / time too. thanks Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant

[weewx-user] Re: use Weewx on raspberry

2019-01-21 Thread Patrick Tranchant
hello Pat and Gary if I put the driver on the Raspberry forum where several people have built the same weather station as me, does that bother you, maybe it could help solve the problem. tell me. Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I

[weewx-user] Re: use Weewx on raspberry

2019-01-20 Thread Patrick Tranchant
I search always... it looks like the program goes once in the loop and does not return. modified driver for test: def hardware_name(self): return self.station_hardware # Every half-rotations, add 1 to count def spin(self): self.wind_count = self.wind_count + 1 #

[weewx-user] Re: use Weewx on raspberry

2019-01-20 Thread Patrick Tranchant
an other test: def genPackets(self): """ Generate measurement packets. """ global temp_probe while True: start_time = time.time() while time.time() - start_time <= self.interval: wind_start_time = time.time() *

[weewx-user] Re: use Weewx on raspberry

2019-01-20 Thread Patrick Tranchant
hello PAT & Gary I done a test with the driver; I modified this line: while time.time() - start_time <= self.interval: wind_start_time = time.time() *#self.reset_wind()* while time.time() - wind_start_time <= self.wind_interval: this

[weewx-user] Re: use Weewx on raspberry

2019-01-19 Thread Patrick Tranchant
it seems that the information that comes from buttons 5 and 6, are not taken into account. I dry Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather

[weewx-user] Re: use Weewx on raspberry

2019-01-19 Thread Patrick Tranchant
hello Gary and PAT, I made the same electronic assembly with a led for the counting of the anemometer, and the led lights up well with each passage in front of the magnet; how can i display the pass name in the driver? thank you Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1,

[weewx-user] Re: use Weewx on raspberry

2019-01-19 Thread Andrew Milner
an html file such as index.html is created by the corresponding template such as index.html.tmpl the template file is located typically in ……../skins/Standard/index.html.tmpl reports are run to generate html pages only once per archive cycle - triggered by REC packets, not LOOP REC packets

[weewx-user] Re: use Weewx on raspberry

2019-01-19 Thread Patrick Tranchant
hello Pat & Gary these are parameters that I want to modify. this is in a file, i suppose. Current Conditions Outside Temperature 19,5C Wind Chill

[weewx-user] Re: use Weewx on raspberry

2019-01-18 Thread Patrick Tranchant
again me in fact these are the values of the driver, which I would like to display. # Build the weewx loop packet # set packet units to weewx.METRIC, requires temperature in C, # pressure in hPa, rain in cm and wind speeds in kph packet = { 'dateTime': int(

[weewx-user] Re: use Weewx on raspberry

2019-01-18 Thread Patrick Tranchant
again I meant replace "Inside temperature" by "soilTemp1" because I have readings in the archive database but not show in this screen. Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to

[weewx-user] Re: use Weewx on raspberry

2019-01-18 Thread Patrick Tranchant
hello Pat & Gary I noticed something about the rain data, at the first launch of the program 'LOOP', the values of rain are with the value of 'bucket_size' but at the second there are no more values even if there is has rain a pb counter. another question, how we change the screen left

[weewx-user] Re: use Weewx on raspberry

2019-01-17 Thread Patrick Tranchant
hello PAT, yes, watch the result; and I counted the number of tips, it corresponds. Measuring wind direction for 5 seconds... Measuring wind direction for 5 seconds... INSERT INTO WEATHER_MEASUREMENT (AMBIENT_TEMPERATURE, GROUND_TEMPERATURE, AIR_QUALITY, AIR_PRESSURE, HUMIDITY, WIND_DIRECTION,

[weewx-user] Re: use Weewx on raspberry

2019-01-17 Thread Pat
If you stop weewx and open the Python script that you created, does the rain work? On Thursday, January 17, 2019 at 1:00:27 PM UTC-5, Patrick Tranchant wrote: > > > hello Gary, > for the rain: I put an LED on the connection of the rain gauge, like that > with each passage in front of the magnet

[weewx-user] Re: use Weewx on raspberry

2019-01-17 Thread Patrick Tranchant
hello Gary, for the rain: I put an LED on the connection of the rain gauge, like that with each passage in front of the magnet the Led lights up (verification of the wiring), but the rain_count remains with zero. I have the impression (but I'm not a programmer) that the problem is the same as

[weewx-user] Re: use Weewx on raspberry

2019-01-17 Thread Patrick Tranchant
hello Gary, here I redid the measurements, my station is inside for now, it's easy for testing. I put you the statements of my script (for comparison); and the anemometer turns well, I put a fan in front for simulation; the statements in my script prove that there are no hardware problems.

[weewx-user] Re: use Weewx on raspberry

2019-01-17 Thread gjr80
Patrick, I don't see anything necessarily unusual with your rain. WeeWX records rainfall on a per interval basis not a cumulative basis. So if during a loop period there is one tip of your rain gauge that will record (approximately) 0.2mm of rain in the loop packet for that period. If there

[weewx-user] Re: use Weewx on raspberry

2019-01-17 Thread gjr80
Patrick, Do you know if your anemometer was spinning when you ran the modified driver? I forgot to mention the anemometer needs to be spinning so we can see if the driver is picking up any wind speed values. Gary -- You received this message because you are subscribed to the Google Groups

[weewx-user] Re: use Weewx on raspberry

2019-01-16 Thread Patrick Tranchant
hello Gary, for the rain, I inserted print in the driver and look at the result, it's not normal; the rain meter always returns to "0". I enclose the driver with my modification. (just that part). self.wind_gust = max( self.store_speeds ) wind_speed = statistics.mean(

[weewx-user] Re: use Weewx on raspberry

2019-01-15 Thread Patrick Tranchant
agin Gary, I am testing also the rain, but the counter stay at "zero" with weewx !!! Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station

[weewx-user] Re: use Weewx on raspberry

2019-01-15 Thread Patrick Tranchant
hi Gary, I put the new byows.py, it is running actualy. I put for you the link that says as I done the weather-station: https://projects.raspberrypi.org/en/projects/build-your-own-weather-station/11 I built the weatherStation that was on the newspaper " Magpi of sept-oct 2018 ". I put the

[weewx-user] Re: use Weewx on raspberry

2019-01-14 Thread gjr80
Thanks Patrick, I am not familiar with this hardware at all so am really clutching at straws here. I can see no obvious (to me) issue. I have attached a copy of byows.py that has some some additional logging in it so we can see some of the intermediate values that the code is using. To use:

[weewx-user] Re: use Weewx on raspberry

2019-01-14 Thread Patrick Tranchant
hello Gary, I give you my python script that I use without weewx to measure *the Wind and also Rain* . thanks Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry

[weewx-user] Re: use Weewx on raspberry

2019-01-13 Thread gjr80
Patrick, Most likely you will need to put a few lines of code in your driver to log some intermediate values used to calculate wind speed, but first could you show me the python script that you are using that does produce wind speed data? I have the driver but I am not sure what you mean by

[weewx-user] Re: use Weewx on raspberry

2019-01-13 Thread Patrick Tranchant
hi again me I modified weewx.conf by # This section controls the origin of derived values. [StdWXCalculate] * ignore_zero_wind = False* [[Calculations]] and since, I have value for windDir and windGustDir, (different according to the orientation of the wind vane); I also noticed

[weewx-user] Re: use Weewx on raspberry

2019-01-13 Thread Patrick Tranchant
hi Gary now, I can say that the values of weewx and of my python script are the same. that, it is good; but I don't understand why the wind is null with weewx. patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my

[weewx-user] Re: use Weewx on raspberry

2019-01-13 Thread Patrick Tranchant
hi Gary, I'm going to do that, as you say finally I'll try Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by myself > (view on

[weewx-user] Re: use Weewx on raspberry

2019-01-12 Thread gjr80
Patrick, On Sunday, 13 January 2019 03:53:38 UTC+10, Patrick Tranchant wrote: > hello Gary or Pat > here are some values ​​found and comparison with my scripts ( excel file > in attach) > I don't have always data with rain and wind !!! > It is very hard to draw any conclusions from your

[weewx-user] Re: use Weewx on raspberry

2019-01-12 Thread Patrick Tranchant
hello Gary or Pat here are some values ​​found and comparison with my scripts ( excel file in attach) I don't have always data with rain and wind !!! *Oops I just saw that I forgot to put* "record_generation = software"; *but it changes nothing, I think* *have a good week-end.* Patrick On

[weewx-user] Re: use Weewx on raspberry

2019-01-11 Thread Patrick Tranchant
hello Gary, as much for me; I did not read well (again) usUnits to change in byows.py and not in weewx.conf; I originally came back in weewx.conf. I tell you the rest.; However, the data is now in US in the database.Now I remember why I put METRIC in weewx.conf (it was to compare weewx values

[weewx-user] Re: use Weewx on raspberry

2019-01-10 Thread gjr80
Patrick, Some comments below. Gary On Thursday, 10 January 2019 03:48:16 UTC+10, Patrick Tranchant wrote: > > hello > > new file is installed : OK, I transfered the database for METRIC > > watch modifications in weewx.conf: > > [StdConvert] > > # DO NOT MODIFY THIS VALUE UNLESS YOU KNOW

[weewx-user] Re: use Weewx on raspberry

2019-01-09 Thread Patrick Tranchant
hello new file is installed : OK, I transfered the database for METRIC watch modifications in weewx.conf: [StdConvert] # DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING! target_unit = METRIC# Options are 'US', 'METRICWX', or 'METRIC'

[weewx-user] Re: use Weewx on raspberry

2019-01-09 Thread gjr80
My apologies Patrick, here it is. Gary On Wednesday, 9 January 2019 20:57:38 UTC+10, Patrick Tranchant wrote: > > hello Gary > thanks, It is missing the attach file."byows.py" > > Patrick > > On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: >> >> hello I am a newbie

[weewx-user] Re: use Weewx on raspberry

2019-01-09 Thread Patrick Tranchant
hello Gary thanks, It is missing the attach file."byows.py" Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by myself > (view on

[weewx-user] Re: use Weewx on raspberry

2019-01-08 Thread gjr80
Patrick, Some comments below. Gary On Wednesday, 9 January 2019 03:52:34 UTC+10, Patrick Tranchant wrote: > hello Gary > > I modified the file weewx.conf and follow the procedure : OK > but always errors except Humidity > > Jan 8 18:47:39 raspberrypi weewx[3700]: engine: 2019-01-08 18:47:39

[weewx-user] Re: use Weewx on raspberry

2019-01-08 Thread Patrick Tranchant
yes for you Gary and the others files, byows is the driver. have a good night. Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by

[weewx-user] Re: use Weewx on raspberry

2019-01-08 Thread gjr80
Patrick, Can you please post your current driver code. 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+unsubscr...@googlegroups.com. For more

[weewx-user] Re: use Weewx on raspberry

2019-01-08 Thread Patrick Tranchant
Sorry I wanted to say the file skin.conf is done for display the datas on website or is done also for calculation ? Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a

[weewx-user] Re: use Weewx on raspberry

2019-01-08 Thread Patrick Tranchant
hello Gary I modified the file weewx.conf and follow the procedure : OK but always errors except Humidity Jan 8 18:47:39 raspberrypi weewx[3700]: engine: 2019-01-08 18:47:39 CET (1546969659) LOOP value 'pressure' 34176.5109143 outside limits (812.0, 1168.0) Jan 8 18:48:40 raspberrypi

[weewx-user] Re: use Weewx on raspberry

2019-01-07 Thread gjr80
Patrick, The code that reads the pressure from your BMP280 returns a value in hPa and the driver adds this value to loop packets as the pressure field. The problem is that the units field for loop packets is being set to US (within weeWX loop packets and archive records both have a field named

[weewx-user] Re: use Weewx on raspberry

2019-01-07 Thread Patrick Tranchant
hi and so, an example of datas with Loop of weewx; LOOP: 2019-01-07 19:18:12 CET (1546885092) altimeter: None, appTemp: 15.1910754049, barometer: None, cloudbase: 4863.54657052, dateTime: 1546885092, dewpoint: 2.21836299105, heatindex: 21.394865263, humidex: 21.394865263, maxSolarRad: None,

[weewx-user] Re: use Weewx on raspberry

2019-01-07 Thread Patrick Tranchant
hello Gary thanks; I joint in attach files, the follows : weewx.conf, byows.py ( driver done by PAT ) and skin.conf Don't worry for user,password etc; My station is not again on Internet. I search also but I am not a programmer Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick

[weewx-user] Re: use Weewx on raspberry

2019-01-06 Thread gjr80
Hi Patrick, Judging by the number it looks like a pressure in hPa is being interpreted as a pressure in inHg. The solution depends on a number of things. Since there has been a bit of water under the bridge, in particular a reinstall of weeWX, since you last posted your code could I ask you to

[weewx-user] Re: use Weewx on raspberry

2019-01-06 Thread Patrick Tranchant
hello Pat and Gary I reinstalled weewx with Sqlite3 and I see value in database, but some datas are bad, I think at " driver BYOWS" example: Jan 6 20:46:43 raspberrypi weewx[2807]: engine: 2019-01-06 20:46:43 CET (1546804003) LOOP value 'pressure' 1019.4978 outside limits (24.0, 34.5)

[weewx-user] Re: use Weewx on raspberry

2019-01-05 Thread monmul
Thank you so much will start a new one and include this post and answer on it! On Sunday, 6 January 2019 14:26:43 UTC+13, gjr80 wrote: > > Hi, > > It appears that you are in the /home/pi directory and hence weewxd is > looking for weewx.conf in /home/pi. Use the full path for weewx.conf ie: > >

[weewx-user] Re: use Weewx on raspberry

2019-01-05 Thread gjr80
Hi, It appears that you are in the /home/pi directory and hence weewxd is looking for weewx.conf in /home/pi. Use the full path for weewx.conf ie: $ sudo weewxd /etc/weewx/weewx.conf Gary PS. Would be appreciated if you started a new thread for new issues, having multiple issues throughout

[weewx-user] Re: use Weewx on raspberry

2019-01-05 Thread monmul
I am not sure if this is the right place to post this help request...please direct me elsewhere if not. I am new to weewx and am trying to set it up on my Rpi 3. I have a Davis Vantage weather station. I have a serial Envoy data logger attaced to my Rpi with a serial/usb converter. In following

[weewx-user] Re: use Weewx on raspberry

2019-01-05 Thread Patrick Tranchant
hello Pat or Gary I go around in circles, and I started badly, I reinstalled my RPI and reinstalled weewx for Sqlite3, in the prerequisites I have to install Sqlite3 by apt-get install sqlite3, that's all and I leave the basic config in weewx.conf. after I will go to Mysql. Patrick On

[weewx-user] Re: use Weewx on raspberry

2019-01-05 Thread Cyril D
Hello, The easiest and fastest might be to use the FileParse driver: you export the data in a file and weewx retrieve them from that file. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails

[weewx-user] Re: use Weewx on raspberry

2019-01-04 Thread Pat
On your command line, enter the commands that are on the webpage we linked to you. Everything you need is in the user guide. On Friday, January 4, 2019 at 3:02:32 PM UTC-5, Patrick Tranchant wrote: > > I controlled by phpmyadmin.. > > not found the name of database. > > patrick > > On Saturday,

[weewx-user] Re: use Weewx on raspberry

2019-01-04 Thread Patrick Tranchant
I controlled by phpmyadmin.. not found the name of database. patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by myself > (view on

[weewx-user] Re: use Weewx on raspberry

2019-01-04 Thread Patrick Tranchant
ok Gary Pat said me also thanks Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by myself > (view on Magpi) > I don't see my

[weewx-user] Re: use Weewx on raspberry

2019-01-04 Thread Patrick Tranchant
thank you Pat I didn't see this chapter. thanks Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by myself > (view on Magpi) > I

[weewx-user] Re: use Weewx on raspberry

2019-01-04 Thread gjr80
Patrick, No problems. As far as weeWX is concerned all of the MySQL config information is located in the [DatabaseTypes], [Databases] and [DataBindings] stanazas in weewx.conf. Chances are they are already pre-configured with most of what you want. I strongly suggest you read the Configuring

[weewx-user] Re: use Weewx on raspberry

2019-01-04 Thread Pat
If you want to use MySQL, follow the instructions in the weewx user's guide . On Friday, January 4, 2019 at 2:28:15 PM UTC-5, Patrick Tranchant wrote: > > Again Gary; > > for the others values, Must I to modify the weewx.conf file ?

[weewx-user] Re: use Weewx on raspberry

2019-01-04 Thread Patrick Tranchant
Again Gary; for the others values, Must I to modify the weewx.conf file ? or just for config Mysql, All is done inside the driver ? Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to

[weewx-user] Re: use Weewx on raspberry

2019-01-04 Thread Patrick Tranchant
hello Gary I prefer to use Mysql, because I installed already Nagios, Cacti, Zoneminder with Mysql, I know a little bit Mysql; Is the config de Mysql inside Weewx.conf ? and in an other file ? say me, thanks Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: >

[weewx-user] Re: use Weewx on raspberry

2019-01-03 Thread gjr80
Happy to help where/when I can though I have none of this hardware so that limits advice to reviewing code/errors. Gary On Wednesday, 2 January 2019 05:52:17 UTC+10, Pat wrote: > > I've actually run out of time for today. > > Gary, I could use some help if you (or anyone else) has some time. I

[weewx-user] Re: use Weewx on raspberry

2019-01-03 Thread gjr80
Patrick, If you are struggling to get something working with weeWX then you are best advised to stick with SQLite. It is simple to use and easy to manage and just works. Setting up MySQL just adds more complexity, something you generally don't want if you are debugging other issues. In most

[weewx-user] Re: use Weewx on raspberry

2019-01-02 Thread Patrick Tranchant
Hello Pat and Gary I have reinstall on a new SD card Weewx with Apt-get install, that works good ( so as yesterday ). that is a good thing. Now, I installed also Mysql, I must to configure Mysql and no Sqlite3, I think , it is best, Yes Say me Patrick On Saturday, December 8, 2018 at 3:40:43

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Pat
Exactly correct. I'm SSH'd to his Pi and debugging now. Will probably need more help soon but for now the driver is at least working. Unsure on validity of sensor values quite yet. On Tuesday, January 1, 2019 at 2:30:19 PM UTC-5, gjr80 wrote: > > In this case the problem is your code is trying

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread gjr80
In this case the problem is your code is trying use a BYOWS object before the BYOWS class has been defined. You need to re-structure your code to avoid calling the class before it is defined. Gary -- You received this message because you are subscribed to the Google Groups "weewx-user"

Re: [weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Pat O'Brien
Yes you can send me a private mail. I can't look at it for a few hours. Maybe you can leave it there for a day or so? Send me a login and your home ip in private mail. On Tue, Jan 1, 2019, 11:18 AM Patrick Tranchant wrote: > I am ready Pat > > > On Saturday, December 8, 2018 at 3:40:43 PM

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Patrick Tranchant
I am ready Pat On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by myself > (view on Magpi) > I don't see my station on your website to

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Patrick Tranchant
ok I go to configure a DMZ and I come back to you, by private mail if possible patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Pat
Is your weewx Pi available externally? If I find a few minutes later I could try to SSH to it? On Tuesday, January 1, 2019 at 10:00:20 AM UTC-5, Patrick Tranchant wrote: > > I do it, but this the same ERROR > > Jan 1 15:55:56 raspberrypi weewx[2593]: engine: pid file is > /var/run/weewx.pid >

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Pat
Try this version of byows.py - copy to bin/user and restart weewx. On Tuesday, January 1, 2019 at 7:38:18 AM UTC-5, Patrick Tranchant wrote: > > in my original file, there is: > > def spin(): > global wind_count > wind_count = wind_count + 1 > > > maybe it's missing in "byows.py"? I

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Patrick Tranchant
I modified the script "byows.py" wind_speed_sensor.when_pressed =* byows*.spin # is this a valid call for the below class function? rain_sensor = Button(6) rain_sensor.when_pressed =* byows*.bucket_tipped # is this a valid call for the below class function? def logmsg(dst, msg):

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Patrick Tranchant
in my original file, there is: def spin(): global wind_count wind_count = wind_count + 1 maybe it's missing in "byows.py"? I do not know Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english )

[weewx-user] Re: use Weewx on raspberry

2019-01-01 Thread Patrick Tranchant
hello Gary and PAT, HNY 2019 I could reinstalled with the other method, but I have the same error, look, and here is the conf, is the error not in byows.py (with capital or lowercase) ... .. see you Patrick Jan 1 12:35:16 raspberrypi systemd[1]: Starting LSB: weewx weather system... Jan 1

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Pat
With a new install using apt-get, I was able to get the driver to run with this config. I don't have the hardware so nothing happens. [Station] # Description of the station location location = "byows" # Latitude and longitude in decimal degrees latitude = 90.000

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread gjr80
user.BYOWS and user.byows are two different things. You have been using user.BYOWS in weewx.conf yet you have a file user/byows.py. Try using user.byows in weewx.conf. Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Pat
That install method is supported. Everything so far seems OK and I'm not able to replicate this error since I don't have the hardware. What happens if you type sudo weewxd /etc/weewx/weewx.conf ? On Monday, December 31, 2018 at 11:58:36 AM UTC-5, Patrick Tranchant wrote: > > I have installed

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Patrick Tranchant
I have installed Weewx by the command : apt-get install weewx, I can remove and use other ? Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Patrick Tranchant
I modified the files "weewx.conf" but this the same thing Dec 31 17:51:36 raspberrypi systemd[1]: Stopping LSB: weewx weather system... Dec 31 17:51:36 raspberrypi weewx[1858]: Stopping weewx weather system: weewx not running Dec 31 17:51:36 raspberrypi systemd[1]: Stopped LSB: weewx

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Patrick Tranchant
or this: pi@raspberrypi:/usr/share/weewx/user $ cd /usr/bin/ pi@raspberrypi:/usr/bin $ ls -ail . . . 59438 lrwxrwxrwx 1 root root 25 août 16 18:06 wee_config -> ../share/weewx/wee_config 59443 lrwxrwxrwx 1 root root 27 août 16 18:06 wee_database ->

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Patrick Tranchant
hi here is: pi@raspberrypi:~ $ cd /usr/share/weewx/user/ pi@raspberrypi:/usr/share/weewx/user $ ls -ail total 64 259101 drwxr-xr-x 2 root root 4096 déc. 30 19:28 . 259024 drwxr-xr-x 10 root root 4096 déc. 30 19:19 .. 259242 -rw-r--r-- 1 root root 288 déc. 30 17:55 bme280_sensor_2.py 259321

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Pat
Can you paste the directory listing for your user/bin folder? On Monday, December 31, 2018 at 9:25:50 AM UTC-5, Patrick Tranchant wrote: > > > hello PAT, > yes I think, I join the files weewx.conf and byows.py that I use > > Patrick > > On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Pat
Also try changing this in weewx.conf to driver = user.BYOWS using capitals instead. On Monday, December 31, 2018 at 9:57:14 AM UTC-5, Pat wrote: > > Correction, I meant to say bin/user folder. > > On Monday, December 31, 2018 at 9:56:45 AM UTC-5, Pat wrote: >> >> Can you paste the directory

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Pat
Correction, I meant to say bin/user folder. On Monday, December 31, 2018 at 9:56:45 AM UTC-5, Pat wrote: > > Can you paste the directory listing for your user/bin folder? > > On Monday, December 31, 2018 at 9:25:50 AM UTC-5, Patrick Tranchant wrote: >> >> >> hello PAT, >> yes I think, I join

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Patrick Tranchant
hello PAT, yes I think, I join the files weewx.conf and byows.py that I use Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by

[weewx-user] Re: use Weewx on raspberry

2018-12-31 Thread Pat
Did you add the test byows.py file to your bin/user folder? On Sunday, December 30, 2018 at 1:05:44 PM UTC-5, Patrick Tranchant wrote: > > no problem, I was also in Holidays in ROME. > I could install Statistics and new Error: > > > Dec 30 19:01:31 raspberrypi systemd[1]: Stopping LSB: weewx

[weewx-user] Re: use Weewx on raspberry

2018-12-30 Thread Patrick Tranchant
no problem, I was also in Holidays in ROME. I could install Statistics and new Error: Dec 30 19:01:31 raspberrypi systemd[1]: Stopping LSB: weewx weather system... Dec 30 19:01:31 raspberrypi weewx[1506]: Stopping weewx weather system: weewx not running Dec 30 19:01:31 raspberrypi

[weewx-user] Re: use Weewx on raspberry

2018-12-30 Thread Patrick Tranchant
hello PAT I could install weewx on new RPi Watch the new error: Dec 30 18:44:19 raspberrypi systemd[1]: Starting LSB: weewx weather system... Dec 30 18:44:19 raspberrypi weewx[1389]: engine: Initializing weewx version 3.8.2 Dec 30 18:44:19 raspberrypi weewx[1389]: engine: Using Python 2.7.13

[weewx-user] Re: use Weewx on raspberry

2018-12-28 Thread vk3anz
You need to make sure that the weewx bin directory is in the PYTHONPATH. I've just run weewx from python, but something like $ PYTHONPATH=/home/weewx/bin thonny.. - Use whatever the location of weewx is and whatever command you use to invoke thonny. Susan On Friday, December 21, 2018 at

[weewx-user] Re: use Weewx on raspberry

2018-12-20 Thread Patrick Tranchant
hello Pat, I try to run the script with Thonny, and I have an error on line" import weedb" => ImportError : No Module named "weedb" problem with the path !!! Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my

[weewx-user] Re: use Weewx on raspberry

2018-12-17 Thread Patrick Tranchant
Hello Pat my station is OK now, any news for me have a good evening Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a weather station built by myself >

[weewx-user] Re: use Weewx on raspberry

2018-12-11 Thread Patrick Tranchant
hello yes it works I tested with my script, just a little problem with the wind_direction (script I think ) Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry

[weewx-user] Re: use Weewx on raspberry

2018-12-11 Thread Pat
Patrick is your raspberry pi working again? On Tuesday, December 11, 2018 at 3:31:57 AM UTC-5, Patrick Tranchant wrote: > > hello Rich T > > yes, I used this package but in Pyton3 or 2 > > sudo pip(3) install RPi.bme280 > this is the same problem > > the module works with my script, just problem

[weewx-user] Re: use Weewx on raspberry

2018-12-11 Thread Patrick Tranchant
hello Rich T yes, I used this package but in Pyton3 or 2 sudo pip(3) install RPi.bme280 this is the same problem the module works with my script, just problem with Weewx. Patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France (

[weewx-user] Re: use Weewx on raspberry

2018-12-10 Thread rich T
Patrick Is this the BME280 python package you are using? It works with python 2 and python 3. https://pypi.org/project/RPi.bme280/ Rich On Monday, December 10, 2018 at 2:47:24 PM UTC-5, Patrick Tranchant wrote: > yes the script weather_station_BYO_10.py is stopped > > I run it just for test

[weewx-user] Re: use Weewx on raspberry

2018-12-10 Thread Pat
Ok get your Raspberry Pi back to a working state. Remove the python2 package. We will try another way On Monday, December 10, 2018 at 2:47:24 PM UTC-5, Patrick Tranchant wrote: > > yes the script weather_station_BYO_10.py is stopped > > I run it just for test and after I stopped it > > patrick

[weewx-user] Re: use Weewx on raspberry

2018-12-10 Thread Patrick Tranchant
yes the script weather_station_BYO_10.py is stopped I run it just for test and after I stopped it patrick On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote: > > hello I am a newbie from France ( sorry for my english ) > > I want to use weewx on a raspberry with a

  1   2   >