[weewx-user] Re: Import of driver failed [Interceptor]

2020-01-10 Thread Scott Grayban
Running the Interceptor manuall works just fine so I know it's not that

PYTHONPATH=/usr/share/weewx python weewx-share/user/interceptor.py 
--device=observer --mode=sniff --iface=wlan0 --filter="src 10.3.141.62 and 
dst port 80"

mapped packet: {'pressure': 27.741, 'outHumidity': 94.0, 'UV': 0.0, 
'radiation': 0.0, 'rain': None, 'dateTime': 1578720667, 'windDir': 181.0, 
'outTemp': 34.0
, 'windSpeed': 0.0, 'inHumidity': 33.0, 'inTemp': 71.2, 'windGust': 0.0, 
'usUnits': 1}

On Friday, January 10, 2020 at 9:25:35 PM UTC-8, Scott Grayban wrote:
>
> I did a restart tonight and weewx wouldn't start. Saw this in the logs and 
> cannot figure out why this is happening. I checked all my configs and they 
> are right, haven't touched then since last June.
>
> weewx[5862]: engine: Import of driver failed: in method 
> 'pcapObject_open_live', argument 2 of type 'char *' ( 'exceptions.TypeE
> rror'>)
>
> Any ideas ?
>
>

-- 
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/58b4d2d6-773d-46ec-8244-8cac35968869%40googlegroups.com.


[weewx-user] Import of driver failed [Interceptor]

2020-01-10 Thread Scott Grayban
I did a restart tonight and weewx wouldn't start. Saw this in the logs and 
cannot figure out why this is happening. I checked all my configs and they 
are right, haven't touched then since last June.

weewx[5862]: engine: Import of driver failed: in method 
'pcapObject_open_live', argument 2 of type 'char *' ()

Any ideas ?

-- 
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/1f052dee-685d-41b4-81c7-467d621cfbef%40googlegroups.com.


[weewx-user] Re: getting weewx[12196]: cheetahgenerator: Skipping template index.html.tmpl: cannot find start time

2020-01-10 Thread Ted Frohling


On Friday, January 10, 2020 at 6:09:38 PM UTC-7, Ted Frohling wrote:
>
>
>
> On Friday, January 10, 2020 at 3:41:10 PM UTC-7, gjr80 wrote:
>>
>>
>> On Saturday, 11 January 2020 08:15:14 UTC+10, Ted Frohling wrote:
>>>
>>> Reset the Vantage Pro 2 console and the Weather Envoy for good measure.  
>>> Dumped the database and cleared the memory. Still have the problem. The 
>>> Vantage Pro 2 console is old, and the firmware is stuck at 1.90.  Wondering 
>>> if I should pitch it and get a new console.  
>>>
>>  
>> No need for anything drastic like that. My console is v1.90 and works 
>> fine. I don't have an envoy though I don't believe that changes the process 
>> for clearing the station memory. Just checking the obvious, but you did 
>> stop WeeWX before running wee_device to clear the station memory? Were 
>> there any errors returns anywhere during the process?
>>
>
> No errors for either the dump or the clear command. However after doing 
> the dump, followed by the clear, and restarting weewx, waiting, no records 
> are being put into the database. 
>
>>
>> Wondering if the following log messages are indicitive of the problem:
>>>
>>> weewx weewx[16819]: cheetahgenerator: Skipping template wind.html.tmpl: 
>>> cannot find start time
>>> Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template 
>>> barometer.html.tmpl: cannot find start time
>>> Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template 
>>> index.html.tmpl: cannot find start time
>>>
>>
>> These are indicative of there being no data in your database. Since you 
>> purged and reinstalled earlier your database will have been cleared and 
>> since WeeWX cannot get archvie records from the station no archive records 
>> are being saved to archive. Once we get archive records those errors will 
>> disappear. You could run with record_generation =  software but that is 
>> only putting a bandaid on the problem not fixing it.
>>
>>
> I'll try that and see if I can get that working.  thanks.
>

Setting  record_generation =  software allowed weewx to start updating the 
database and web pages are being generated.  Which is good news, but as you 
say a bandaid.



> ted
>
> Tom may have more advice.
>>
>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/be6b96b0-ba79-4c0e-a8c9-be6394d312dc%40googlegroups.com.


[weewx-user] Re: getting weewx[12196]: cheetahgenerator: Skipping template index.html.tmpl: cannot find start time

2020-01-10 Thread Ted Frohling


On Friday, January 10, 2020 at 3:41:10 PM UTC-7, gjr80 wrote:
>
>
> On Saturday, 11 January 2020 08:15:14 UTC+10, Ted Frohling wrote:
>>
>> Reset the Vantage Pro 2 console and the Weather Envoy for good measure.  
>> Dumped the database and cleared the memory. Still have the problem. The 
>> Vantage Pro 2 console is old, and the firmware is stuck at 1.90.  Wondering 
>> if I should pitch it and get a new console.  
>>
>  
> No need for anything drastic like that. My console is v1.90 and works 
> fine. I don't have an envoy though I don't believe that changes the process 
> for clearing the station memory. Just checking the obvious, but you did 
> stop WeeWX before running wee_device to clear the station memory? Were 
> there any errors returns anywhere during the process?
>

No errors for either the dump or the clear command. However after doing the 
dump, followed by the clear, and restarting weewx, waiting, no records are 
being put into the database. 

>
> Wondering if the following log messages are indicitive of the problem:
>>
>> weewx weewx[16819]: cheetahgenerator: Skipping template wind.html.tmpl: 
>> cannot find start time
>> Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template 
>> barometer.html.tmpl: cannot find start time
>> Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template 
>> index.html.tmpl: cannot find start time
>>
>
> These are indicative of there being no data in your database. Since you 
> purged and reinstalled earlier your database will have been cleared and 
> since WeeWX cannot get archvie records from the station no archive records 
> are being saved to archive. Once we get archive records those errors will 
> disappear. You could run with record_generation =  software but that is 
> only putting a bandaid on the problem not fixing it.
>
>
I'll try that and see if I can get that working.  thanks.

ted

Tom may have more advice.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7c0b5332-856b-4941-b2c3-60e3df8f2a33%40googlegroups.com.


Re: [weewx-user] Re: getting weewx[12196]: cheetahgenerator: Skipping template index.html.tmpl: cannot find start time

2020-01-10 Thread Thomas Keffer
As Gary notes, there is nothing in the logger's memory, which makes it a
little different than the classic case of corrupt memory.

Try taking the logger out and reseating it.

One thing I don't understand: you refer to a Vantage Pro2 *and* an Envoy.
Are they both showing these symptoms?

-tk

On Fri, Jan 10, 2020 at 3:41 PM gjr80  wrote:

>
> On Saturday, 11 January 2020 08:15:14 UTC+10, Ted Frohling wrote:
>>
>> Reset the Vantage Pro 2 console and the Weather Envoy for good measure.
>> Dumped the database and cleared the memory. Still have the problem. The
>> Vantage Pro 2 console is old, and the firmware is stuck at 1.90.  Wondering
>> if I should pitch it and get a new console.
>>
>
> No need for anything drastic like that. My console is v1.90 and works
> fine. I don't have an envoy though I don't believe that changes the process
> for clearing the station memory. Just checking the obvious, but you did
> stop WeeWX before running wee_device to clear the station memory? Were
> there any errors returns anywhere during the process?
>
> Wondering if the following log messages are indicitive of the problem:
>>
>> weewx weewx[16819]: cheetahgenerator: Skipping template wind.html.tmpl:
>> cannot find start time
>> Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template
>> barometer.html.tmpl: cannot find start time
>> Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template
>> index.html.tmpl: cannot find start time
>>
>
> These are indicative of there being no data in your database. Since you
> purged and reinstalled earlier your database will have been cleared and
> since WeeWX cannot get archvie records from the station no archive records
> are being saved to archive. Once we get archive records those errors will
> disappear. You could run with record_generation =  software but that is
> only putting a bandaid on the problem not fixing it.
>
> Tom may have more advice.
>
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/af73679e-344d-426e-8974-23e811cf8406%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/CAPq0zEDOZY799qCQGbFtCT1Y%3Ds5k0kahAxC2aHHLNbHOLRxA5A%40mail.gmail.com.


[weewx-user] Re: Image backup vs database

2020-01-10 Thread J D
You can backup a sd card while the raspberry pi is running all you need is 
a usb reader/writer for the new sd card and the program "SD Card Copier." 
Which you can get with sudo apt-get.
I use it on all my 10 running pi's.
Jerry

On Friday, January 10, 2020 at 11:23:31 AM UTC-7, Keimpe Bleeker wrote:
>
> Hi Weewx users,
>
> Rather new to Raspberry, supernew to Weewx (to replace my Windows 
> WeatherDisplay system, based on Davis Vantage Pro2 [https://oentsjerk.eu];). 
> My Weewx [https:oentsjerk.eu/wwx/] will come to life after version Weewx 
> 4.# is available and I am able to import my historical data from 
> Wunderground. So there is some time to tune.
>
> I'm running a script in a cronjob once a day, to backup the advised Weewx 
> files to my NAS. It's working nice in backup as well for the (manual) 
> restore. I also should like to backup an image of the SDcard once a week. 
> Is it necessary to shut down Weewx before the image backup is running, to 
> be safe the database will not will be affected by the backup process?
>  
>

-- 
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/5e7b8ee5-5dfc-47c3-aabc-c5b9606f8bdc%40googlegroups.com.


[weewx-user] Re: getting weewx[12196]: cheetahgenerator: Skipping template index.html.tmpl: cannot find start time

2020-01-10 Thread gjr80

On Saturday, 11 January 2020 08:15:14 UTC+10, Ted Frohling wrote:
>
> Reset the Vantage Pro 2 console and the Weather Envoy for good measure.  
> Dumped the database and cleared the memory. Still have the problem. The 
> Vantage Pro 2 console is old, and the firmware is stuck at 1.90.  Wondering 
> if I should pitch it and get a new console.  
>
 
No need for anything drastic like that. My console is v1.90 and works fine. 
I don't have an envoy though I don't believe that changes the process for 
clearing the station memory. Just checking the obvious, but you did stop 
WeeWX before running wee_device to clear the station memory? Were there any 
errors returns anywhere during the process?

Wondering if the following log messages are indicitive of the problem:
>
> weewx weewx[16819]: cheetahgenerator: Skipping template wind.html.tmpl: 
> cannot find start time
> Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template 
> barometer.html.tmpl: cannot find start time
> Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template 
> index.html.tmpl: cannot find start time
>

These are indicative of there being no data in your database. Since you 
purged and reinstalled earlier your database will have been cleared and 
since WeeWX cannot get archvie records from the station no archive records 
are being saved to archive. Once we get archive records those errors will 
disappear. You could run with record_generation =  software but that is 
only putting a bandaid on the problem not fixing it.

Tom may have more advice.

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/af73679e-344d-426e-8974-23e811cf8406%40googlegroups.com.


Re: [weewx-user] Re: US - Metric problem

2020-01-10 Thread gjr80
Hi,

Actually 0xff, 0xff, 0x00cc00, 0xFFC300 are (shades of) blue, red, 
green and light blue not red, blue, green and yellow. In skin.conf 
[ImageGenerator] 0x colours are in BGR format not RGB. Probably not clearly 
spelt out in the docs but there is a fairly clear explanation in the 
Standard 
 
and Seasons 
 
skin.conf.

Try 0xff, 0xff, 0x00cc00, 0x00C3FF.

Gary

On Saturday, 11 January 2020 02:59:59 UTC+10, Pila wrote:
>
> That is what was confusing me. To my belief, I use only metric and my 
> WS2080 also uses only metric. So I expected this recognized type to be 
> handled well. Problem with great programs is that they are big :) with lots 
> of features and it takes months to get aquainted with their terminology as 
> a new user.
>
> But, since I did found how to convert the database to metric, all is well. 
> I also added extraTemp4.
>
> Now, I have a silly problem: I am unable to specify plot colours for my 4 
> series. I was reading docs and believe I am doing it right. My colors are 
> simply ignored and my 4th series is in cyan (light blue). I did in:
>
> /home/weewx/skins/Smartphone/skin.conf
>
> define my colours:
>
> chart_line_colors = 0xff, 0xff, 0x00cc00, 0xFFC300
>
> They are: red, blue, green and yellow. When I generate my plots, I get: 
> blue, red, green, cyan in that order. What am I doing wrong? 
>
>
>
>
>
>
>
>

-- 
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/c025dbf7-58a9-4f84-ab8f-15b2f28d9189%40googlegroups.com.


[weewx-user] Re: getting weewx[12196]: cheetahgenerator: Skipping template index.html.tmpl: cannot find start time

2020-01-10 Thread Ted Frohling
Reset the Vantage Pro 2 console and the Weather Envoy for good measure.  
Dumped the database and cleared the memory. Still have the problem. The 
Vantage Pro 2 console is old, and the firmware is stuck at 1.90.  Wondering 
if I should pitch it and get a new console.  

Wondering if the following log messages are indicitive of the problem:

weewx weewx[16819]: cheetahgenerator: Skipping template wind.html.tmpl: 
cannot find start time
Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template 
barometer.html.tmpl: cannot find start time
Jan 10 15:10:26 weewx weewx[16819]: cheetahgenerator: Skipping template 
index.html.tmpl: cannot find start time

Still puzzled...

thanks,

ted


On Thursday, January 9, 2020 at 8:30:00 PM UTC-7, Ted Frohling wrote:
>
> Also no new data from the VantagePro2 is being updated.
>
> Weewx stopped updating a few days ago.  I have verified it's producing 
> some output by running weewxd without daemon mode.
> Here are a few slightly older records:
>
>
> LOOP:   2020-01-09 18:36:16 MST (1578620176) appTemp: 51.7532829608, 
> barometer: 29.827, beaufort: 0, cloudbase: 8949.86520147, 
> consBatteryVoltage: 4.66, dateTime: 1578620176, dayET: 0.0, dayRain: 0.0, 
> dewpoint: 28.5645931135, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, 
> extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, 
> extraAlarm8: 0, forecastIcon: 6, forecastRule: 9, heatindex: 55.8, humidex: 
> 55.8, inDewpoint: 33.5667167944, inHumidity: 22.0, insideAlarm: 0, inTemp: 
> 75.0, leafWet4: 0.0, maxSolarRad: None, monthET: 0.0, monthRain: 0.0, 
> outHumidity: 35.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 55.8, 
> pressure: None, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, 
> soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.0, 
> sunrise: 1578580608.0, sunset: 1578617472.0, txBatteryStatus: 0, usUnits: 
> 1, windchill: 55.8, windDir: None, windGust: 0.0, windGustDir: None, 
> windSpeed: 0.0, windSpeed10: 2.0, yearET: 0.0, yearRain: 0.0
> LOOP:   2020-01-09 18:36:18 MST (1578620178) appTemp: 51.7532829608, 
> barometer: 29.827, beaufort: 0, cloudbase: 8949.86520147, 
> consBatteryVoltage: 4.66, dateTime: 1578620178, dayET: 0.0, dayRain: 0.0, 
> dewpoint: 28.5645931135, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, 
> extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, 
> extraAlarm8: 0, forecastIcon: 6, forecastRule: 9, heatindex: 55.8, humidex: 
> 55.8, inDewpoint: 33.5667167944, inHumidity: 22.0, insideAlarm: 0, inTemp: 
> 75.0, leafWet4: 0.0, maxSolarRad: None, monthET: 0.0, monthRain: 0.0, 
> outHumidity: 35.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 55.8, 
> pressure: None, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, 
> soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.0, 
> sunrise: 1578580608.0, sunset: 1578617472.0, txBatteryStatus: 0, usUnits: 
> 1, windchill: 55.8, windDir: None, windGust: 0.0, windGustDir: None, 
> windSpeed: 0.0, windSpeed10: 2.0, yearET: 0.0, yearRain: 0.0
>
> In an attempt to fix the problem I did an apt purge weewx on my raspberry 
> pi, renamed the old weewx.sdb file and reinstalled weewx from the deb file 
> using the install instructions for debian, so actually apt update, apt 
> install weewx.  Answered the questions during the install, added back in 
> the authentication for wunderground, CWOP, etc from the saved weewx.conf 
> file  This really has me stumped.  Please let me know what more info I need 
> to provide to diagnose this strange problem.
>
> Oh, running NTP and it's is synced and has the correct time.  
>
> Here is the syslog output from a startup
>
> Jan  9 19:40:55 weewx weewx[12192]: engine: Initializing weewx version 
> 3.9.2
> Jan  9 19:40:55 weewx weewx[12192]: engine: Using Python 2.7.13 (default, 
> Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
> Jan  9 19:40:55 weewx weewx[12192]: engine: Platform 
> Linux-4.19.66-v7+-armv7l-with-debian-9.11
> Jan  9 19:40:55 weewx weewx[12192]: engine: Locale is 'en_US.UTF-8'
> Jan  9 19:40:55 weewx weewx[12192]: engine: pid file is /var/run/weewx.pid
> Jan  9 19:40:55 weewx weewx[12181]: Starting weewx weather system: weewx.
> Jan  9 19:40:55 weewx systemd[1]: Started LSB: weewx weather system.
> Jan  9 19:40:55 weewx weewx[12196]: engine: Using configuration file 
> /etc/weewx/weewx.conf
> Jan  9 19:40:55 weewx weewx[12196]: engine: Debug is 1
> Jan  9 19:40:55 weewx weewx[12196]: engine: Initializing engine
> Jan  9 19:40:55 weewx weewx[12196]: engine: Loading station type Vantage 
> (weewx.drivers.vantage)
> Jan  9 19:40:55 weewx weewx[12196]: vantage: Driver version is 3.1.1
> Jan  9 19:40:55 weewx weewx[12196]: vantage: Opened up serial port 
> /dev/ttyUSB0; baud 19200; timeout 4.00
> Jan  9 19:40:55 weewx weewx[12196]: vantage: Gentle wake up of console 
> successful
> Jan  9 19:40:55 weewx weewx[12196]: vantage: Hardware type is 16
> Jan  9 19:40:55 weewx weewx[12196]: vantage: ISS ID is 1
> Jan 

[weewx-user] Re: wanted: users with ecowitt gw1000 wifi bridge

2020-01-10 Thread Gert Andersen
Hi

I have 2(temp1 and temp2) additional sensors, currently only 1(temp2 and 
humidity2) is connected, temp1 will soon be connected.:

pi@Desktop:~/weewx-interceptor/bin/user $ PYTHONPATH=/usr/share/weewx 
python /usr/share/weewx/user/interceptor.py --device=fineoffset-bridge 
--port   8000 --debug
raw data: 
PASSKEY=&stationtype=EasyWeatherV1.4.5&dateutc=2020-01-10+21:37:37&tempf=41.9&humidity=97&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=0.000&yearlyrainin=0.000
&temp2f=42.4&humidity2=89&wh26batt=0&batt2=0&freq=868M&model=HP1000SE_Pro_V1.5.8
raw packet: {'battery_wh26_1': 0.0, 'humidity_out': 97.0, 'dateTime': 
1578692257, 'temperature_out': 41.9, 'rain_rate': 0.0, 'usUnits': 1}
mapped packet: {'battery_wh26_1': 0.0, 'humidity_out': 97.0, 'dateTime': 
1578692257, 'temperature_out': 41.9, 'rain_rate': 0.0, 'usUnits': 1}

These additional sensors are not mapped.

Gert

On Monday, December 30, 2019 at 5:59:56 AM UTC+1, mwall wrote:
>
> the weewx-interceptor driver has been updated with explicit support for 
> the gw1000 wifi bridge, as well as support for weewx4/python3.
>
> instructions are at the weewx wiki:
>
> https://github.com/weewx/weewx/wiki/gw1000-recipe
>
> i would especially appreciate feedback from anyone with full sensor arrays 
> (wind, rain, uv), particulate sensors, soil moisture sensors, and any other 
> extended sensors offered by ecowitt.
>
> although the interceptor will now understand the extended weather 
> underground protocol, the 'fineoffset-bridge' type uses the ecowitt 
> protocol and a direct-to-weewx configuration (no dns hijack or sniffing or 
> other shenanigans required).  it does require a recent firmware on the 
> gw1000 (testing with 1.5.5)
>
> m
>  
>

-- 
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/71c72022-25bb-47fa-ab8c-dbacef91ce39%40googlegroups.com.


[weewx-user] Re: wanted: users with ecowitt gw1000 wifi bridge

2020-01-10 Thread Vetti52
 Although no GW1000, but with a Fine Offset WS2900 clone, I also used the 
instructions as described in your link with the ecowitt-client and 
interceptor.py version 0.49. Additionally I have changed line 2234 to
'wh65batt': 'battery',

 PYTHONPATH=/usr/share/weewx/ python bin/user/interceptor.py 
--device=ecowitt-client --mode=listen --port=9000 --debug

gives these results:

Jan 10 21:23:07 raspbee interceptor.py: interceptor: MainThread: mode is 
> listen
> Jan 10 21:23:07 raspbee interceptor.py: interceptor: MainThread: listen on 
> :9000
> Jan 10 21:23:07 raspbee interceptor.py: interceptor: ServerThread: start 
> tcp server
> Jan 10 21:23:40 raspbee interceptor.py: interceptor: MainThread: mode is 
> listen
> Jan 10 21:23:40 raspbee interceptor.py: interceptor: MainThread: listen on 
> :9000
> Jan 10 21:23:40 raspbee interceptor.py: interceptor: ServerThread: start 
> tcp server
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: ServerThread: POST: 
> PASSKEY=&stationtype=EasyWeatherV1.4.5&dateutc=2020-01-10+20:24:25&tempinf=61.5&humidityin=59&baromrelin=30.175&baromabsin=29.380&tempf=39.7&humidity=91&winddir=296&windspeedmph=2.5&windgustmph=3.4&maxdailygust=13.6&rainratein=0.000&eventrainin=0.512&hourlyrainin=0.000&dailyrainin=0.303&weeklyrainin=0.571&monthlyrainin=1.083&totalrainin=1.772&solarradiation=0.00&uv=0&wh65batt=0&freq=868M&model=WS2900_V2.01.08
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter eventrainin=0.512
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter maxdailygust=13.6
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter monthlyrainin=1.083
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter PASSKEY=
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter hourlyrainin=0.000
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter freq=868M
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter model=WS2900_V2.01.08
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter dailyrainin=0.303
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter stationtype=EasyWeatherV1.4.5
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored 
> parameter weeklyrainin=0.571
> Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: skipping 
> rain measurement of 1.772: no last rain
>
>
still no rain today.

Am Montag, 30. Dezember 2019 05:59:56 UTC+1 schrieb mwall:
>
> the weewx-interceptor driver has been updated with explicit support for 
> the gw1000 wifi bridge, as well as support for weewx4/python3.
>
> instructions are at the weewx wiki:
>
> https://github.com/weewx/weewx/wiki/gw1000-recipe
>
> i would especially appreciate feedback from anyone with full sensor arrays 
> (wind, rain, uv), particulate sensors, soil moisture sensors, and any other 
> extended sensors offered by ecowitt.
>
> although the interceptor will now understand the extended weather 
> underground protocol, the 'fineoffset-bridge' type uses the ecowitt 
> protocol and a direct-to-weewx configuration (no dns hijack or sniffing or 
> other shenanigans required).  it does require a recent firmware on the 
> gw1000 (testing with 1.5.5)
>
> m
>  
>

-- 
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/216cecde-bd7f-4601-ad37-82de1310423d%40googlegroups.com.


Re: [weewx-user] Image backup vs database

2020-01-10 Thread vince
On Friday, January 10, 2020 at 11:22:31 AM UTC-8, p q wrote:
>
> I don't know if it's feasible to backup your SD card with the raspberry pi 
> running. I think to backup the SD card you need to shut it down, remove it 
> from the raspberrypi and do it on another machine.
>
>
>
Rather than backing up your SD card, automate the process of 'building' it 
and document it someplace you won't lose.


-- 
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/e1760335-ca63-43b1-8079-1c0ad0c87c3d%40googlegroups.com.


Re: [weewx-user] Image backup vs database

2020-01-10 Thread p q
I don't know if it's feasible to backup your SD card with the raspberry pi
running. I think to backup the SD card you need to shut it down, remove it
from the raspberrypi and do it on another machine.

I backup my SD card every once in a while when I make significant changes,
but realistically if I fried it, I'd probably be re-installing. I keep a
separate tar backup of the weewx configuration, skins, customizations, etc
on Github so I should be able to recreate it after a minor disaster.

On Fri, Jan 10, 2020 at 10:23 AM Keimpe Bleeker  wrote:

> Hi Weewx users,
>
> Rather new to Raspberry, supernew to Weewx (to replace my Windows
> WeatherDisplay system, based on Davis Vantage Pro2 [https://oentsjerk.eu];).
> My Weewx [https:oentsjerk.eu/wwx/] will come to life after version Weewx
> 4.# is available and I am able to import my historical data from
> Wunderground. So there is some time to tune.
>
> I'm running a script in a cronjob once a day, to backup the advised Weewx
> files to my NAS. It's working nice in backup as well for the (manual)
> restore. I also should like to backup an image of the SDcard once a week.
> Is it necessary to shut down Weewx before the image backup is running, to
> be safe the database will not will be affected by the backup process?
>
>
> --
> 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/a7321adb-6392-4f12-bf94-30b496ad03bf%40googlegroups.com
> 
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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/CAA1SM21a6U%2B354qXLMV9fCyQ1Z5Ct05gS2_-JZPpnwXbXL2LYg%40mail.gmail.com.


[weewx-user] Image backup vs database

2020-01-10 Thread Keimpe Bleeker
Hi Weewx users,

Rather new to Raspberry, supernew to Weewx (to replace my Windows 
WeatherDisplay system, based on Davis Vantage Pro2 
[https://oentsjerk.eu];). My Weewx [https:oentsjerk.eu/wwx/] will come to 
life after version Weewx 4.# is available and I am able to import my 
historical data from Wunderground. So there is some time to tune.

I'm running a script in a cronjob once a day, to backup the advised Weewx 
files to my NAS. It's working nice in backup as well for the (manual) 
restore. I also should like to backup an image of the SDcard once a week. 
Is it necessary to shut down Weewx before the image backup is running, to 
be safe the database will not will be affected by the backup process?
 

-- 
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/a7321adb-6392-4f12-bf94-30b496ad03bf%40googlegroups.com.


Re: [weewx-user] Re: US - Metric problem

2020-01-10 Thread Pila
That is what was confusing me. To my belief, I use only metric and my 
WS2080 also uses only metric. So I expected this recognized type to be 
handled well. Problem with great programs is that they are big :) with lots 
of features and it takes months to get aquainted with their terminology as 
a new user.

But, since I did found how to convert the database to metric, all is well. 
I also added extraTemp4.

Now, I have a silly problem: I am unable to specify plot colours for my 4 
series. I was reading docs and believe I am doing it right. My colors are 
simply ignored and my 4th series is in cyan (light blue). I did in:

/home/weewx/skins/Smartphone/skin.conf

define my colours:

chart_line_colors = 0xff, 0xff, 0x00cc00, 0xFFC300

They are: red, blue, green and yellow. When I generate my plots, I get: 
blue, red, green, cyan in that order. What am I doing wrong? 







-- 
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/b4c87e13-9718-4fa2-b25c-dfc7e535023c%40googlegroups.com.


[weewx-user] Re: WeeWX et WS-2300

2020-01-10 Thread Olivier Garnier
It Works !!!

The ws 2350 was the problem.
After clean inside it ... all is ok.

all ... except ... rsync over ssh ... ;)
ssh is ok (can connect without password) ...
rsync log : imagegenerator: Generated 12 images for RSYNC in 0.36 seconds
but nothing on the server ...

on command line, it works weel :
'rsync' '--archive' '--stats' '-e ssh' '/var/www/html/weewx/' 
'user@server:/home/meteo/www/'

Where can i put verbose mode for rsync in weewx to understand what s going 
wrong way ?







Le jeudi 12 décembre 2019 15:14:30 UTC+1, mwall a écrit :
>
>
> On Saturday, December 7, 2019 at 3:55:57 PM UTC-5, Olivier Garnier wrote:
>>
>> Anybody can help me ?
>> Who can i ask ?
>
>
> this is the place to ask. maybe there is someone else running a ws23xx on 
> an rpi?
>
> i am running a ws23xx but it is on an x86_64 system (with an ancient 
> version on debian), i'm afraid i am not much help
>
> Linux saga 3.2.0-4-amd64 #1 SMP Debian 3.2.81-2 x86_64 GNU/Linux
>
> can you try running weewx on an x86/x86_64 system?
>
> you might have to hunt around the rpi forums for information about serial 
> and usb-serial settings.  i seem to recall the rpi default configuration of 
> the modem/tty causing problems for some serial communications.
>
> you could also look at some of the resources listed in the comments in the 
> ws23xx.py driver file.  the driver is based mostly on Russell Stuart's 
> implementation, with some bug fixes.  if you can get his original 
> implementation to work, that might provide a clue about what is different 
> about the serial setup on arm/rpi.  or perhaps try the Kenneth Lavrsen 
> Open2300 implementation.
>
> i'm happy to incorporate whatever you find so that the weewx ws23xx driver 
> will work reliably on any platform, but i'm afraid i do not have time right 
> now to set up an rpi or other arm platform to do the exploratory work.
>
> m
>

-- 
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/2de6d3bd-25e2-43ff-b14a-0daeb3ff0aac%40googlegroups.com.


[weewx-user] Re: Which weather station would you buy ?

2020-01-10 Thread Olivier Garnier
Le vendredi 10 janvier 2020 02:57:16 UTC+1, PJO a écrit :
>
> I ordered an Ecowitt  station in December; it's 
> due to be delivered on Monday. Am currently using a FineOffset WH1080 and a 
> Raspberry Pi running WeeWX. Not sure what you mean by walls being too big. 
> Too big for what?
>

To big for signal to cross them ... wire to it, wireless no ...
... I've dismounted and clean (there were little bug ...) the ws 2350 i 
used (curiosity before take it to trash) and it resurrected

I'll buy one next time ...
I've seen good things on davis ... vantage and WeatherLinkIP ... we ll see next 
time ...


-- 
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/85b45957-cc57-4d07-8c44-343c305c79a0%40googlegroups.com.