Re: [weewx-user] Number of days on which the average Temperature was above a certain value

2020-05-17 Thread Rolf Zanchettin

>
> Hey, Tom,
>>
>> i have installed the extension and it works perfectly!
>>
>>  Thanks a lot .

Best regards
Rolf 

-- 
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/d11aae69-c401-4af6-a94b-9d02105479d2%40googlegroups.com.


[weewx-user] Re: weewx has been working for months but it's suddely offline

2020-05-17 Thread Sean Jahnig
Hi Gary,

Thanks for that. You are indeed right. The sensor details were there in 
weewx.conf, but the header [[sensor_map]]was missing. I have added it in 
now and restarted weewx and it is working. 
https://www.windguru.cz/station/2146

This is a very interesting situation and now that i think back on it, i 
understand what went wrong. Yesterday when the station stopped working, i 
started fiddling and during the process the [[sensor_map]] header got 
removed without me knowing which then created a second problem. Meanwhile, 
throughout the troubleshooting process i picked up and fixed the first 
problem, that the unique acurite identifier has changed *from:* 
wind_speed.0A0A.Acurite5n1Packet 
*t**o:* wind_speed.0A0A.Acurite5n1PacketV2 so that problem got fixed but 
the other one that you've just solved was preventing it from going online.

BTW, this is the 2nd time in 6 months the unique acurite identifier has 
changed.

Thanks again for the help, very much appreciated.

-- 
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/9639cb9a-74a0-402f-8ead-c3e3e9f0effd%40googlegroups.com.


[weewx-user] Re: weewx has been working for months but it's suddely offline

2020-05-17 Thread gjr80
OK. So when run directly rtl_433 runs as expected. I appreciate that 
running WeeWX directly resulted in no output, I suspect that is due to the 
sdr driver (for one reason or another) not providing WeeWX with any loop 
packets (the only console output you will get when running WeeWX is loop 
packets and archive records and if WeeWX is not receiving any loop packets 
then you will see nothing). However, the last portion of the log you 
attached showed the sdr driver picking up data from your station:

weewx[6158] DEBUG __main__: Initializing engine
weewx[6158] INFO weewx.engine: Loading station type SDR (user.sdr)
weewx[6158] INFO user.sdr: driver version is 0.77
weewx[6158] INFO user.sdr: sensor map is {}
weewx[6158] INFO user.sdr: deltas is {'strikes': 'strikes_total', 'rain': 
'rain_total'}
weewx[6158] INFO user.sdr: startup process 'sudo rtl_433 -M utc -F json'
weewx[6158] DEBUG user.sdr: start async reader for stdout-thread
weewx[6158] DEBUG user.sdr: start async reader for stderr-thread
weewx[6158] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.engine.
StdTimeSynch
weewx[6158] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
weewx[6158] INFO weewx.engine: StdConvert target unit is 0x1
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.engine.
StdConvert
weewx[6158] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.engine.
StdCalibrate
weewx[6158] DEBUG weewx.engine: Loading service weewx.engine.StdQC
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
weewx[6158] DEBUG weewx.engine: Loading service weewx.wxservices.
StdWXCalculate
weewx[6158] DEBUG weewx.manager: Daily summary version is 2.0
weewx[6158] INFO weewx.wxservices: The following values will be calculated: 
pressure=prefer_hardware, altimeter=prefer_hardware, appTemp=prefer_hardware
, barometer=prefer_hardware, beaufort=prefer_hardware, cloudbase=
prefer_hardware, dewpoint=prefer_hardware, ET=prefer_hardware, heatindex=
prefer_hardware, humidex=prefer_hardware, inDewpoint=prefer_hardware, 
maxSolarRad=prefer_hardware, rainRate=prefer_hardware, windchill=
prefer_hardware, windrun=prefer_hardware
weewx[6158] INFO weewx.wxservices: The following algorithms will be used for 
calculations: altimeter=aaASOS, maxSolarRad=RS
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.wxservices.
StdWXCalculate
weewx[6158] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
weewx[6158] INFO weewx.engine: Archive will use data binding wx_binding
weewx[6158] INFO weewx.engine: Record generation will be attempted in 
'hardware'
weewx[6158] INFO weewx.engine: Using archive interval of 300 seconds (specified 
in weewx configuration)
weewx[6158] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.engine.
StdArchive
weewx[6158] DEBUG weewx.engine: Loading service weewx.restx.
StdStationRegistry
weewx[6158] INFO weewx.restx: StationRegistry: Station will be registered.
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.restx.
StdStationRegistry
weewx[6158] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
weewx[6158] DEBUG weewx.restx: WU essentials: {}
weewx[6158] INFO weewx.restx: Wunderground-PWS: Data for station IUMMAL1 
will be posted
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.restx.
StdWunderground
weewx[6158] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
weewx[6158] INFO weewx.restx: PWSweather: Posting not enabled.
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.restx.
StdPWSweather
weewx[6158] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
weewx[6158] INFO weewx.restx: CWOP: Posting not enabled.
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
weewx[6158] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
weewx[6158] INFO weewx.restx: WOW: Posting not enabled.
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
weewx[6158] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
weewx[6158] INFO weewx.restx: AWEKAS: Posting not enabled.
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.restx.
StdAWEKAS
weewx[6158] DEBUG weewx.engine: Loading service user.windguru.WindGuru
weewx[6158] DEBUG weewx.engine: Finished loading service user.windguru.
WindGuru
weewx[6158] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.engine.
StdPrint
weewx[6158] DEBUG weewx.engine: Loading service weewx.engine.StdReport
weewx[6158] DEBUG weewx.engine: Finished loading service weewx.engine.
StdReport
weewx[6158] INFO __main__: Starting up weewx version 4.0.0
weewx[6158] DEBUG weewx.engine: Station does not support reading the time
weewx[6158] INFO weewx.engine: Using bin

[weewx-user] Re: weewx has been working for months but it's suddely offline

2020-05-17 Thread Sean Jahnig
Thanks for the replies,

When i stop weewx using 'sudo service weewx stop' and then i run 'sudo 
rtl_433 -M utc -F json' this is what i get:

rtl_433 version 20.02-55-gc1d1f9f branch master at 202005162227 inputs file 
rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 124 out of 152 device decoding protocols [ 1-4 8 11-12 15-17 
19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 
130-149 151-152 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 25.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 25 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49, 
"id" : 2570, "channel" : "A", "sequence_num" : 0, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic" 
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49, 
"id" : 2570, "channel" : "A", "sequence_num" : 1, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic" 
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49, 
"id" : 2570, "channel" : "A", "sequence_num" : 2, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic" 
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56, 
"id" : 2570, "channel" : "A", "sequence_num" : 0, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" : 
"CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56, 
"id" : 2570, "channel" : "A", "sequence_num" : 1, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" : 
"CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56, 
"id" : 2570, "channel" : "A", "sequence_num" : 2, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" : 
"CHECKSUM"}
(this just continues)
***

Then i ctrl-C that process and run 'sudo service weewx start' and i get:

● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Mon 2020-05-18 07:56:45 +04; 7s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 5891 ExecStart=/etc/init.d/weewx start (code=exited, 
status=0/SUCCESS)
Tasks: 9 (limit: 1599)
   Memory: 13.5M
   CGroup: /system.slice/weewx.service
   ├─5908 python2 /usr/share/weewx/weewxd --daemon 
--pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
   ├─5912 sudo rtl_433 -M utc -F json
   └─5919 rtl_433 -M utc -F json

May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__: 
Platform Linux-4.19.97-v7l+-armv7l-with-debian-10.4
May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__: 
Locale is 'en_US.UTF-8'
May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__: PID 
file is /var/run/weewx.pid
May 18 07:56:45 raspberrypi python2[5908]: weewx[5908] INFO __main__: Using 
configuration file /etc/weewx/weewx.conf
May 18 07:56:45 raspberrypi weewx[5891]: Starting weewx weather system: 
weewx.
May 18 07:56:45 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 18 07:56:45 raspberrypi sudo[5912]: root : TTY=unknown ; PWD=/ ; 
USER=root ; COMMAND=/usr/local/bin/rtl_433 -M utc -F
May 18 07:56:45 raspberrypi sudo[5912]: pam_unix(sudo:session): session 
opened for user root by (uid=0)
May 18 07:56:45 raspberrypi weewxd[5908]: restx: WindGuru: service version 
is 0.1
May 18 07:56:45 raspberrypi weewxd[5908]: restx: WindGuru: Data will be 
uploaded for 10002
(this is where it ends, even 10min later, nothing new here)
***

again i stopped weewx and i ran it directly from the command line using 
'/usr/share/weewx/weewxd /etc/weewx/weewx.conf'
i don't know what should happen, but when i do it, this is how the terminal 
window looks: 
https://www.dropbox.com/s/8bmfm45snnbsxut/screenshot_01.png?dl=0

You can see a much shorter log below (sorry about before). You will notice 
at the beginning of the log when it is publishing, that was when it was in 
'Simulator' mode. Then i changed it back to 'SDR' mode.
https://www.dropbox.com/s/kjcprl1vounl7og/weewx_04.log?dl=0

-- 
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/40b43fa4-71d8-4f82-a5a1-fa764e7db7d8%40googlegroups.com.


Re: [weewx-user] Re: weewx has been working for months but it's suddely offline

2020-05-17 Thread Sean Jahnig
Thanks for the replies,

When i stop weewx using 'sudo service weewx stop' and then i run 'sudo
rtl_433 -M utc -F json' this is what i get:

rtl_433 version 20.02-55-gc1d1f9f branch master at 202005162227 inputs file
rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 124 out of 152 device decoding protocols [ 1-4 8 11-12 15-17
19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128
130-149 151-152 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 25.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 25 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49,
"id" : 2570, "channel" : "A", "sequence_num" : 0, "battery_ok" : 1,
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic"
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49,
"id" : 2570, "channel" : "A", "sequence_num" : 1, "battery_ok" : 1,
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic"
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49,
"id" : 2570, "channel" : "A", "sequence_num" : 2, "battery_ok" : 1,
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic"
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56,
"id" : 2570, "channel" : "A", "sequence_num" : 0, "battery_ok" : 1,
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" :
"CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56,
"id" : 2570, "channel" : "A", "sequence_num" : 1, "battery_ok" : 1,
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" :
"CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56,
"id" : 2570, "channel" : "A", "sequence_num" : 2, "battery_ok" : 1,
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" :
"CHECKSUM"}
(this just continues)
***

Then i ctrl-C that process and run 'sudo service weewx start' and i get:

● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Mon 2020-05-18 07:56:45 +04; 7s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 5891 ExecStart=/etc/init.d/weewx start (code=exited,
status=0/SUCCESS)
Tasks: 9 (limit: 1599)
   Memory: 13.5M
   CGroup: /system.slice/weewx.service
   ├─5908 python2 /usr/share/weewx/weewxd --daemon
--pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
   ├─5912 sudo rtl_433 -M utc -F json
   └─5919 rtl_433 -M utc -F json

May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__:
Platform Linux-4.19.97-v7l+-armv7l-with-debian-10.4
May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__:
Locale is 'en_US.UTF-8'
May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__: PID
file is /var/run/weewx.pid
May 18 07:56:45 raspberrypi python2[5908]: weewx[5908] INFO __main__: Using
configuration file /etc/weewx/weewx.conf
May 18 07:56:45 raspberrypi weewx[5891]: Starting weewx weather system:
weewx.
May 18 07:56:45 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 18 07:56:45 raspberrypi sudo[5912]: root : TTY=unknown ; PWD=/ ;
USER=root ; COMMAND=/usr/local/bin/rtl_433 -M utc -F
May 18 07:56:45 raspberrypi sudo[5912]: pam_unix(sudo:session): session
opened for user root by (uid=0)
May 18 07:56:45 raspberrypi weewxd[5908]: restx: WindGuru: service version
is 0.1
May 18 07:56:45 raspberrypi weewxd[5908]: restx: WindGuru: Data will be
uploaded for 10002
(this is where it ends, even 10min later, nothing new here)
***

again i stopped weewx and i ran it directly from the command line using
'/usr/share/weewx/weewxd /etc/weewx/weewx.conf'
i don't know what should happen, but when i do it, this is how the terminal
window looks:
https://www.dropbox.com/s/8bmfm45snnbsxut/screenshot_01.png?dl=0

You can see a much shorter log below (sorry about before). You will notice
at the beginning of the log when it is publishing, that was when it was in
'Simulator' mode. Then i changed it back to 'SDR' mode.
https://www.dropbox.com/s/kjcprl1vounl7og/weewx_04.log?dl=0

-- 
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/CALeSoZmyT3XjdFD18QOv5A4uPEG6xo23wQLhjtV7%3Dc67zHZ%3DAQ%40mail.gmail.com.


[weewx-user] Re: Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread Bill Arthur


I like the Ecowitt GW-1000 for importing data, it uses the Interceptor 
> driver. The GW-1000 will collect weather data from Ambient Weather, Ecowitt 
> and Fine Offset weather stations.
>
While the weather stations will not last as long as a Davis they are 
very economical and easy to replace. 

-- 
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/5d5a8df2-9aec-40cd-8293-0271935cd5c6%40googlegroups.com.


Re: [weewx-user] WeeWx Database

2020-05-17 Thread Ron Sell
Thanks.

Got the script working but now i get this\:
Error: near line 38817: table archive has 114 columns but 59 values were
supplied

do i need to modify the .sql to provide the difference in values?


On Sun, May 17, 2020 at 8:47 PM Tom Keffer  wrote:

> It's in the commands I suggested. Make a backup first.
>
> On Sun, May 17, 2020 at 5:41 PM Ron Sell  wrote:
>
>> Thanks,
>> I did the data dump. Its now an SQL file. How do I get it into the
>> weewx4.0 database?
>>
>> thanks
>>
>>
>> On Sun, May 17, 2020 at 11:06 AM Tom Keffer  wrote:
>>
>>> How about doing a dump of the v3.9 database, then delete the CREATE
>>> TABLE statement. Then import into the V4 database.
>>>
>>> Something like:
>>>
>>> # Create a dump, then strip out the CREATE TABLE
>>> echo ".dump" | sqlite3 weewx3.92.sdb | sed -e 's/^CREATE TABLE//' >
>>> weewx3.92.sql
>>> # Use the results to insert into the V4.0 table
>>> sqlite3 weewx4.0.sdb < weewx3.92.sql
>>>
>>> One thing I want to stress is that there is no difference between a V3.9
>>> database and a V4.0 database. The only difference is that V4.0 offers a
>>> new, extended schema.
>>>
>>> -tk
>>>
>>> On Sun, May 17, 2020 at 6:55 AM Ron Sell  wrote:
>>>
 I upgraded to a new Pi and weewx 4.0.

 Old Pi
 weexwx 3.9.2
 Database extended for more observations
 58 columns
 Running for a year

 New Pi
 Weewx 4.0
 Database not extended Included all of the observstions i needed in the
 new version.'
 113 columns

 What is the best way to keep all my old data?


 I can't just copy the old database 1 for 1 since they are different.

 thanks


 --
 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/378b9004-78d2-4a80-bccb-27b35ecdc64c%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/CAPq0zEAL8auPoQODgMaMgepLgt9HLGDdMb-0goiLESJdt%2BEQvw%40mail.gmail.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/CABn15dYbjnGtZ%3DaNSCqrYhCBpw56uN%3DAfKYWPuxhQ7ZVF2i48Q%40mail.gmail.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/CAPq0zEBQAYkbKek3Gt-mMzEYb8AFBv3twPfCMFDnWu1LZsgrwg%40mail.gmail.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/CABn15dbU-yaVfDiXk03CW-f-BhVqb%3DmYGzArKKi6VbWn2EQ5_A%40mail.gmail.com.


Re: [weewx-user] importing weewx.sql not working

2020-05-17 Thread Tom Keffer
>
> Any tips or pointers would be appreciated
>

My advice is that unless you really require remote access and unless you
are an experienced MySQL administrator, stick with sqlite. It is much
simpler.

If you really do need MySQL (you mentioned "remote users"), you're not
giving us nearly enough information to help you. For example, "all it seems
to do is generate command syntax errors" is not helpful. What errors?

-tk

-- 
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/CAPq0zEB-gBnBVGtQb6hVKpKiSvQVS0Xrjbf4TWvSnAOszN3-Dg%40mail.gmail.com.


[weewx-user] importing weewx.sql not working

2020-05-17 Thread VE4PER / Andy
Hello,

I did an export database from old mysql db using phpmyadmin. I copied the 
weewx.sql file over to the new machine and tried to import data into the 
empty weewx database using phpmyadmin. I kept getting errors on import; I 
amend UPLOAD_MAX  POST_MAX to 64MB and also doubled time to 60 from 30 but 
still generating errors size is 55.4 MB for weewx.sql file;  zipped it is 
8.1 MB but neither will import using phpmyadmin.

Tried using mysql command line and all it seems to do is generate command 
syntax errors. took commands from examples in mysql ref manual for vers 8

I have system down for a number of hours now and unable to get old data in 
to create the required archive table so info not being sent to remote 
users. Usually in the past, if I remove /uninstall weewx and then reinstall 
it from scratch it created the mysql database and tables ; doesn't now 
though.

Any tips or pointers would be appreciated

Thanks
Andy

-- 
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/d26bc82f-381f-478c-8d63-61bd08826d9e%40googlegroups.com.


Re: [weewx-user] Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread Colin Larsen
https://wiki.weatherduino.com/



On Mon, 18 May 2020 at 12:34, Tom Keffer  wrote:

> Just to correct the record, the Vantage protocol was not reverse
> engineered. They are one of the few vendors who have published their
> protocol
> ,
> and have for many years.
>
> On Sun, May 17, 2020 at 5:13 PM Greg Troxel  wrote:
>
>> "'Ben Luria' via weewx-user"  writes:
>>
>> > apologies if this topic came up before or in case I am off-topic here.
>> I'm
>> > toying with SDR and home automation on a Raspberry Pi and would like to
>> add
>> > weather data via WeeWX and a weather station. Is there any particular
>> brand
>> > / model I should go for or maybe avoid? Am looking for something solar
>> > powered optimally, but that is not a must.
>>
>> You put "open" in quotes, which means that I don't know what you mean by
>> that word :-)
>>
>> There are a few things you could mean:
>>
>>   1) well-understood interfaces and existing drivers so that you can get
>>   at the weather data and use it, and not have problems due to closed
>>   interfaces
>>
>>   2) open protocol, or perhaps reverse-engineered protocols, for the
>>   sensor suite (outside part) to talk to the console (inside, that you
>>   look at, and that usually is interfaced to a computer), so that you
>>   can sniff it with an SDR instead of using the console receiver.
>>
>>   3) being able to get at the weather data locally, without the device
>>   talking to some cloud service (not under your control, subject to the
>>   company stopping it, and likely run with proprietary software)
>>
>>   3A) separately from transport via cloud, can the local station produce
>>   observations by itself, or does it need a (perhaps implemented with
>>   proprietary software) cloud service to do that?
>>
>>   4) firmware/software for the weather station equipment being open source
>>
>>   5) an open hardware design for the station, even if it uses proprietary
>>   chips
>>
>>   6) full-on open, meaning open licenses for all silicon in the station,
>>   including CPUs and sensors, which leads you to RISC-V and for
>>   temp/humidity I'm really not sure what.
>>
>>
>> You mentioned home automation, so I would recommend you check out the
>> mqtt extension, which is I think what most use to bridge weewx data into
>> an automation system (such as Home Assistant, which is the natural
>> choice for weewx fans, being open source and python).
>>   https://github.com/weewx/weewx/wiki/mqtt
>>
>>
>> For 1, there are lots of choices, and basically you should look at what
>> weewx supports.
>>
>> For 2, I am not really aware of anything open, except for build-your-own
>> kinds of stations.  But maybe weatherflow is UDP over IP and counts
>> here.  The Davis VP2 protocol has been reverse engineered and there is
>> rtldavis.  However, the Davis datalogger/interface in the console has
>> the really nice property that when your computer goes down, it keeps
>> storing data, and then when you straighten out your computer from the
>> botched upgrade, or you get power back, weewx reads the data and your
>> historical record is 100% fine, as if you never went down.   So I don't
>> really want to get my data with an SDR on a unix computer, even though
>> I'd like to try that, because I really like it that I haven't lost data
>> the probably 6 times I've had an issue in about 2.5 years.
>>
>> For 3, Davis is fine, and some acurite setups have local USB.  Various
>> other systems have "interceptor" drivers that snoop the data going to
>> the cloud, and I have the impression that sometimes people fetch their
>> own data back from the cloud because that's all they can do.
>>
>> For 3a, note Vince's comments about weatherflow and rain.  (I think
>> weatherflow is really interesting and don't mean to knock them.  I just
>> find the notion that you don't know how much rain you got without the
>> internet quite curious.  On the other hand sometimes with Davis it rains
>> and you conclude from the readings that you have a bird's nest, wasp's
>> nest or pine needles in your rain collector or blocking the tipping
>> bucket from tipping.)
>>
>> For 4, and even more so for 5, I'm not aware of any contenders, other
>> than build-your-own with arduino and e.g. i2c sensors.  But this is
>> very interesting and may qualify:
>>
>> https://www.tinkerforge.com/en/doc/Kits/WeatherStation/WeatherStation.html
>>   https://www.tinkerforge.com/en/shop/bricklets/sensors.html
>> However, I don't see rain and wind.
>>
>> For 6, my impresssion is that I will be viewed as crazy just for
>> bringing it up.
>>
>>
>> That leaves you with all the other considerations, which is that Davis
>> is expensive but otherwise viewed favorably by most, and that various
>> cheap stations are cheap and tend to fail.  And weatherflow seems to
>> turn everyone who plays with one into a fan, which is a very positive
>> comme

Re: [weewx-user] WeeWx Database

2020-05-17 Thread Tom Keffer
It's in the commands I suggested. Make a backup first.

On Sun, May 17, 2020 at 5:41 PM Ron Sell  wrote:

> Thanks,
> I did the data dump. Its now an SQL file. How do I get it into the
> weewx4.0 database?
>
> thanks
>
>
> On Sun, May 17, 2020 at 11:06 AM Tom Keffer  wrote:
>
>> How about doing a dump of the v3.9 database, then delete the CREATE TABLE
>> statement. Then import into the V4 database.
>>
>> Something like:
>>
>> # Create a dump, then strip out the CREATE TABLE
>> echo ".dump" | sqlite3 weewx3.92.sdb | sed -e 's/^CREATE TABLE//' >
>> weewx3.92.sql
>> # Use the results to insert into the V4.0 table
>> sqlite3 weewx4.0.sdb < weewx3.92.sql
>>
>> One thing I want to stress is that there is no difference between a V3.9
>> database and a V4.0 database. The only difference is that V4.0 offers a
>> new, extended schema.
>>
>> -tk
>>
>> On Sun, May 17, 2020 at 6:55 AM Ron Sell  wrote:
>>
>>> I upgraded to a new Pi and weewx 4.0.
>>>
>>> Old Pi
>>> weexwx 3.9.2
>>> Database extended for more observations
>>> 58 columns
>>> Running for a year
>>>
>>> New Pi
>>> Weewx 4.0
>>> Database not extended Included all of the observstions i needed in the
>>> new version.'
>>> 113 columns
>>>
>>> What is the best way to keep all my old data?
>>>
>>>
>>> I can't just copy the old database 1 for 1 since they are different.
>>>
>>> thanks
>>>
>>>
>>> --
>>> 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/378b9004-78d2-4a80-bccb-27b35ecdc64c%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/CAPq0zEAL8auPoQODgMaMgepLgt9HLGDdMb-0goiLESJdt%2BEQvw%40mail.gmail.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/CABn15dYbjnGtZ%3DaNSCqrYhCBpw56uN%3DAfKYWPuxhQ7ZVF2i48Q%40mail.gmail.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/CAPq0zEBQAYkbKek3Gt-mMzEYb8AFBv3twPfCMFDnWu1LZsgrwg%40mail.gmail.com.


Re: [weewx-user] WeeWx Database

2020-05-17 Thread Ron Sell
Thanks,
I did the data dump. Its now an SQL file. How do I get it into the weewx4.0
database?

thanks


On Sun, May 17, 2020 at 11:06 AM Tom Keffer  wrote:

> How about doing a dump of the v3.9 database, then delete the CREATE TABLE
> statement. Then import into the V4 database.
>
> Something like:
>
> # Create a dump, then strip out the CREATE TABLE
> echo ".dump" | sqlite3 weewx3.92.sdb | sed -e 's/^CREATE TABLE//' >
> weewx3.92.sql
> # Use the results to insert into the V4.0 table
> sqlite3 weewx4.0.sdb < weewx3.92.sql
>
> One thing I want to stress is that there is no difference between a V3.9
> database and a V4.0 database. The only difference is that V4.0 offers a
> new, extended schema.
>
> -tk
>
> On Sun, May 17, 2020 at 6:55 AM Ron Sell  wrote:
>
>> I upgraded to a new Pi and weewx 4.0.
>>
>> Old Pi
>> weexwx 3.9.2
>> Database extended for more observations
>> 58 columns
>> Running for a year
>>
>> New Pi
>> Weewx 4.0
>> Database not extended Included all of the observstions i needed in the
>> new version.'
>> 113 columns
>>
>> What is the best way to keep all my old data?
>>
>>
>> I can't just copy the old database 1 for 1 since they are different.
>>
>> thanks
>>
>>
>> --
>> 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/378b9004-78d2-4a80-bccb-27b35ecdc64c%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/CAPq0zEAL8auPoQODgMaMgepLgt9HLGDdMb-0goiLESJdt%2BEQvw%40mail.gmail.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/CABn15dYbjnGtZ%3DaNSCqrYhCBpw56uN%3DAfKYWPuxhQ7ZVF2i48Q%40mail.gmail.com.


Re: [weewx-user] Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread Tom Keffer
Just to correct the record, the Vantage protocol was not reverse
engineered. They are one of the few vendors who have published their
protocol
,
and have for many years.

On Sun, May 17, 2020 at 5:13 PM Greg Troxel  wrote:

> "'Ben Luria' via weewx-user"  writes:
>
> > apologies if this topic came up before or in case I am off-topic here.
> I'm
> > toying with SDR and home automation on a Raspberry Pi and would like to
> add
> > weather data via WeeWX and a weather station. Is there any particular
> brand
> > / model I should go for or maybe avoid? Am looking for something solar
> > powered optimally, but that is not a must.
>
> You put "open" in quotes, which means that I don't know what you mean by
> that word :-)
>
> There are a few things you could mean:
>
>   1) well-understood interfaces and existing drivers so that you can get
>   at the weather data and use it, and not have problems due to closed
>   interfaces
>
>   2) open protocol, or perhaps reverse-engineered protocols, for the
>   sensor suite (outside part) to talk to the console (inside, that you
>   look at, and that usually is interfaced to a computer), so that you
>   can sniff it with an SDR instead of using the console receiver.
>
>   3) being able to get at the weather data locally, without the device
>   talking to some cloud service (not under your control, subject to the
>   company stopping it, and likely run with proprietary software)
>
>   3A) separately from transport via cloud, can the local station produce
>   observations by itself, or does it need a (perhaps implemented with
>   proprietary software) cloud service to do that?
>
>   4) firmware/software for the weather station equipment being open source
>
>   5) an open hardware design for the station, even if it uses proprietary
>   chips
>
>   6) full-on open, meaning open licenses for all silicon in the station,
>   including CPUs and sensors, which leads you to RISC-V and for
>   temp/humidity I'm really not sure what.
>
>
> You mentioned home automation, so I would recommend you check out the
> mqtt extension, which is I think what most use to bridge weewx data into
> an automation system (such as Home Assistant, which is the natural
> choice for weewx fans, being open source and python).
>   https://github.com/weewx/weewx/wiki/mqtt
>
>
> For 1, there are lots of choices, and basically you should look at what
> weewx supports.
>
> For 2, I am not really aware of anything open, except for build-your-own
> kinds of stations.  But maybe weatherflow is UDP over IP and counts
> here.  The Davis VP2 protocol has been reverse engineered and there is
> rtldavis.  However, the Davis datalogger/interface in the console has
> the really nice property that when your computer goes down, it keeps
> storing data, and then when you straighten out your computer from the
> botched upgrade, or you get power back, weewx reads the data and your
> historical record is 100% fine, as if you never went down.   So I don't
> really want to get my data with an SDR on a unix computer, even though
> I'd like to try that, because I really like it that I haven't lost data
> the probably 6 times I've had an issue in about 2.5 years.
>
> For 3, Davis is fine, and some acurite setups have local USB.  Various
> other systems have "interceptor" drivers that snoop the data going to
> the cloud, and I have the impression that sometimes people fetch their
> own data back from the cloud because that's all they can do.
>
> For 3a, note Vince's comments about weatherflow and rain.  (I think
> weatherflow is really interesting and don't mean to knock them.  I just
> find the notion that you don't know how much rain you got without the
> internet quite curious.  On the other hand sometimes with Davis it rains
> and you conclude from the readings that you have a bird's nest, wasp's
> nest or pine needles in your rain collector or blocking the tipping
> bucket from tipping.)
>
> For 4, and even more so for 5, I'm not aware of any contenders, other
> than build-your-own with arduino and e.g. i2c sensors.  But this is
> very interesting and may qualify:
>
> https://www.tinkerforge.com/en/doc/Kits/WeatherStation/WeatherStation.html
>   https://www.tinkerforge.com/en/shop/bricklets/sensors.html
> However, I don't see rain and wind.
>
> For 6, my impresssion is that I will be viewed as crazy just for
> bringing it up.
>
>
> That leaves you with all the other considerations, which is that Davis
> is expensive but otherwise viewed favorably by most, and that various
> cheap stations are cheap and tend to fail.  And weatherflow seems to
> turn everyone who plays with one into a fan, which is a very positive
> comment.
>
>
> There are surely DIY/maker projects out there to do rain gauges and
> maybe wind.  Temp is fairly easy, but you need to build a radiation
> shield.  So I'd say this is for "my hobby i

Re: [weewx-user] Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread Greg Troxel
"'Ben Luria' via weewx-user"  writes:

> apologies if this topic came up before or in case I am off-topic here. I'm 
> toying with SDR and home automation on a Raspberry Pi and would like to add 
> weather data via WeeWX and a weather station. Is there any particular brand 
> / model I should go for or maybe avoid? Am looking for something solar 
> powered optimally, but that is not a must.

You put "open" in quotes, which means that I don't know what you mean by
that word :-)

There are a few things you could mean:

  1) well-understood interfaces and existing drivers so that you can get
  at the weather data and use it, and not have problems due to closed
  interfaces

  2) open protocol, or perhaps reverse-engineered protocols, for the
  sensor suite (outside part) to talk to the console (inside, that you
  look at, and that usually is interfaced to a computer), so that you
  can sniff it with an SDR instead of using the console receiver.

  3) being able to get at the weather data locally, without the device
  talking to some cloud service (not under your control, subject to the
  company stopping it, and likely run with proprietary software)

  3A) separately from transport via cloud, can the local station produce
  observations by itself, or does it need a (perhaps implemented with
  proprietary software) cloud service to do that?

  4) firmware/software for the weather station equipment being open source

  5) an open hardware design for the station, even if it uses proprietary
  chips

  6) full-on open, meaning open licenses for all silicon in the station,
  including CPUs and sensors, which leads you to RISC-V and for
  temp/humidity I'm really not sure what.


You mentioned home automation, so I would recommend you check out the
mqtt extension, which is I think what most use to bridge weewx data into
an automation system (such as Home Assistant, which is the natural
choice for weewx fans, being open source and python).
  https://github.com/weewx/weewx/wiki/mqtt


For 1, there are lots of choices, and basically you should look at what
weewx supports.

For 2, I am not really aware of anything open, except for build-your-own
kinds of stations.  But maybe weatherflow is UDP over IP and counts
here.  The Davis VP2 protocol has been reverse engineered and there is
rtldavis.  However, the Davis datalogger/interface in the console has
the really nice property that when your computer goes down, it keeps
storing data, and then when you straighten out your computer from the
botched upgrade, or you get power back, weewx reads the data and your
historical record is 100% fine, as if you never went down.   So I don't
really want to get my data with an SDR on a unix computer, even though
I'd like to try that, because I really like it that I haven't lost data
the probably 6 times I've had an issue in about 2.5 years.

For 3, Davis is fine, and some acurite setups have local USB.  Various
other systems have "interceptor" drivers that snoop the data going to
the cloud, and I have the impression that sometimes people fetch their
own data back from the cloud because that's all they can do.

For 3a, note Vince's comments about weatherflow and rain.  (I think
weatherflow is really interesting and don't mean to knock them.  I just
find the notion that you don't know how much rain you got without the
internet quite curious.  On the other hand sometimes with Davis it rains
and you conclude from the readings that you have a bird's nest, wasp's
nest or pine needles in your rain collector or blocking the tipping
bucket from tipping.)

For 4, and even more so for 5, I'm not aware of any contenders, other
than build-your-own with arduino and e.g. i2c sensors.  But this is
very interesting and may qualify:
  https://www.tinkerforge.com/en/doc/Kits/WeatherStation/WeatherStation.html
  https://www.tinkerforge.com/en/shop/bricklets/sensors.html
However, I don't see rain and wind.

For 6, my impresssion is that I will be viewed as crazy just for
bringing it up.


That leaves you with all the other considerations, which is that Davis
is expensive but otherwise viewed favorably by most, and that various
cheap stations are cheap and tend to fail.  And weatherflow seems to
turn everyone who plays with one into a fan, which is a very positive
comment.


There are surely DIY/maker projects out there to do rain gauges and
maybe wind.  Temp is fairly easy, but you need to build a radiation
shield.  So I'd say this is for "my hobby is building a weather station
from parts" vs "I want to get weather data into my home assistant setup
and I don't want anything too egregious".

-- 
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/rmisgfy14on.fsf%40s1.lexort.com.


Re: [weewx-user] weewx4 locks up Vantage2 console

2020-05-17 Thread Tom Mitchell
This was helpful to me. I have a VP2 console I have been having trouble 
with since 3.9 and this command resolved it. So at least for me, this is 
not about 4.0 as it is about my console.

On Friday, May 1, 2020 at 6:00:05 PM UTC-4, Steve Koone wrote:
>
> Resolved:  After ten hours of fighting this mess, I finally found the 
> solution to my issue.  Clear the memory in the console.
>
> Issue this command at the terminal screen prompt:
>
> wee_device --clear-memory
>
>
>>>

-- 
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/de20f7db-9c2b-4e68-ae36-0deacfba87e5%40googlegroups.com.


Re: [weewx-user] Real-time (or close) Wind Speed?

2020-05-17 Thread Tom K
Thanks - really appreciate the info. One thing you can do with Home 
Assistant to make sure you are not filling up your DB with lots of sensor 
data that is constantly changing is to exclude specific sensors from 
recorder - looks something like this:

recorder:
  db_url: 
mysql://homeassistant:xxx@core-mariadb/homeassistant?charset=utf8
  purge_keep_days: 2
  exclude:
domains:
  - automation
  - group
  - script
  - adtimer
entities:
  - sun.sun
  - sensor.i_air
  - sensor.i_bedroom_2_3
  - sensor.i_cooktop_oven_a


On Sunday, May 17, 2020 at 3:12:23 PM UTC-4, Greg Troxel wrote:
>
> Something else I forgot to mention: 
>
> weewx sending loop packets to mqtt works fine, by many reports on this 
> list, as does other things getting those reports. 
>
> However, with Home Assistant, what you do is construct a sensor of type 
> mqtt, and that sensor sees an udpated value every time it receives a 
> notification via MQTT.  There is a notion of storing each update in a 
> database, so you can graph it, etc. 
>
> I am currently sending only archive packets to MQTT, because I don't 
> want 43200 temperature datapoints in my HA sqlite3 database, because I 
> think it might cause trouble and I don't feel the need.  Perhaps that is 
> silly of me and it would work 100% fine.   And if it were just temp, 
> that might be one thing, but there are two temps, two humidities, 
> pressure, rain, wind speed/direction and so on so really this is 0.5M 
> observations per day. 
>
> So, you might want to think of modifying the mqtt sender in weewx to 
> send wind every 5 minutes, or when it's higher than the last report, or 
> something like that, so you can get the rapid response you want without 
> storing tens of thousands of uninteresting data points. 
>

-- 
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/34559622-c521-4bac-80b1-b33da0a7643e%40googlegroups.com.


[weewx-user] Re: Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread Xant
For really open & dirty, there is PiWeather daughter board, with diverse 
supporting projects (not endeavoured myself). 

-- 
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/962a35ce-6291-4cc5-ac9b-abb37f14c909%40googlegroups.com.


[weewx-user] Re: weewx has been working for months but it's suddely offline

2020-05-17 Thread gjr80
Sean,

A few suggestions. First, don’t reformat and reinstall. From the log it is 
pretty clear that something is causing rtl_433 to fail when run under WeeWX. 
Let’s work through the sdr setup process again to make sure sdr is (still) 
setup correctly. You said when run from the command line thee rtl_433 works, 
can you do that again and post the command entered and the output to the 
console.

Oh, and a couple of things about log extracts, we always say don’t be afraid to 
post more when posting a log extract. Well there is a limit, when I have been 
viewing your log extract it takes five minutes of a scrolling on my iPad to get 
to the latest log (midway though you change from WeeWX 3.9.2 to 4.0.0 so it is 
almost pointless looking at the 3.9.2 entries) by that time I’ve almost lost 
interest. When posting a log extract can you just post a few cycles. This wiki 
entry (https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user) 
outlines the process to get a good log extract. And please don’t append log 
extracts to one another. Not complaints just trying to make remote debugging a 
little easier where possible, remote debugging is difficult enough as it is.

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/55c165a5-de69-4647-b8b9-918ebe52b348%40googlegroups.com.


Re: [weewx-user] Re: weewx has been working for months but it's suddely offline

2020-05-17 Thread p q
Do you get any useful error messages from the driver if you run weewx from
the command line?

This smells like a data error and I don't know if reinstalling is the best
path forward.

On Sun, May 17, 2020 at 1:06 PM Sean Jahnig  wrote:

> After hours of fiddling, it is still not working.
>
> When i change 'station_type' to Simulator, it starts publishing 0 to
> windGuru. So that element is working. https://www.windguru.cz/station/2146
>
> As soon as i change 'station_type' back to SDR it stops publishing.
>
> When i run sudo rtl_433 -M utc -F json from terminal, it works and i see
> the sensor being read. But this same code inside weewx does not seem to be
> performing properly because it obviously doesn't publish.
>
> Before i go ahead and format the SD and start again, can anyone help me
> with the process to completely remove rtl_433 and rtl_sdr so that i can do
> a fresh install. Perhaps something has gone wrong with these 2 elements and
> they are not performing correctly.
>
> BTW, i added  log_unknown_sensors = True and log_unmapped_sensors = True  to
> the [SDR] section of the weewx.conf and this is the output -
> https://www.dropbox.com/s/n2gwwslqcbwchlj/weewx_03.log?dl=0
>
> Thanks,
> Sean.
>
>
> On Sunday, May 17, 2020 at 4:14:30 PM UTC+4, Sean Jahnig wrote:
>>
>> Hi,
>>
>> I have a weewx installation running on a RPi and connected to an acurite
>> 5 in 1 using SDR. It has been working well for a long time but suddenly now
>> it is offline and i can't figure out why. I hadn't updated the RPi for a
>> long time so i ran apt-get update and apt-get upgrade but no difference.
>> The RPi is online and it can successfully ping google.com so there is
>> internet connectivity.
>>
>> I have run the below which manually runs the SDR driver and i do get a
>> response from the sensor which proves it is working. The identifier is 0A0A
>> which is correct in the weewx.conf file.
>>
>> sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py
>> --cmd="rtl_433 -M utc -F json -G"
>>
>> You can see the log here with debug set to 1.
>> https://www.dropbox.com/s/my6xu6wraba9u7c/weewx.log?dl=0
>>
>> This is the link to the station which is now offline:
>> https://www.windguru.cz/station/2146
>>
>> When i run sudo service weewx status the below is what i get. It seems
>> like everything is working except for the part where weewx 'generates a
>> report' / 'added a record', that doesn't seem to be happening.
>>
>> *●* weewx.service - LSB: weewx weather system
>>
>>Loaded: loaded (/etc/init.d/weewx; generated)
>>
>>Active: *active (running)* since Sun 2020-05-17 15:59:38 +04; 10min
>> ago
>>
>>  Docs: man:systemd-sysv-generator(8)
>>
>>   Process: 1784 ExecStart=/etc/init.d/weewx start (code=exited,
>> status=0/SUCCESS)
>>
>> Tasks: 9 (limit: 1599)
>>
>>Memory: 13.8M
>>
>>CGroup: /system.slice/weewx.service
>>
>>├─1802 python2 /usr/share/weewx/weewxd --daemon
>> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>>
>>├─1806 sudo rtl_433 -M utc -F json
>>
>>└─1813 rtl_433 -M utc -F json
>>
>>
>> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx:
>> PWSweather: Posting not enabled.
>>
>> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx:
>> CWOP: Posting not enabled.
>>
>> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx:
>> WOW: Posting not enabled.
>>
>> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx:
>> AWEKAS: Posting not enabled.
>>
>> May 17 15:59:39 raspberrypi weewxd[1802]: restx: WindGuru: service
>> version is 0.1
>>
>> May 17 15:59:39 raspberrypi weewxd[1802]: restx: WindGuru: Data will be
>> uploaded for 10002
>>
>> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO __main__:
>> Starting up weewx version 4.0.0
>>
>> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.engine:
>> Using binding 'wx_binding' to database 'weewx.sdb'
>>
>> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO
>> weewx.manager: Starting backfill of daily summaries
>>
>> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.engine:
>> Starting main packet loop.
>>
>>
>> Does anyone have any suggestions?
>>
>>
>> Thanks,
>>
>> Sean.
>>
> --
> 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/eeaa29fd-e02b-4057-a1d9-b07285ce9245%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 f

[weewx-user] Re: weewx has been working for months but it's suddely offline

2020-05-17 Thread Sean Jahnig
After hours of fiddling, it is still not working.

When i change 'station_type' to Simulator, it starts publishing 0 to 
windGuru. So that element is working. https://www.windguru.cz/station/2146

As soon as i change 'station_type' back to SDR it stops publishing.

When i run sudo rtl_433 -M utc -F json from terminal, it works and i see 
the sensor being read. But this same code inside weewx does not seem to be 
performing properly because it obviously doesn't publish.

Before i go ahead and format the SD and start again, can anyone help me 
with the process to completely remove rtl_433 and rtl_sdr so that i can do 
a fresh install. Perhaps something has gone wrong with these 2 elements and 
they are not performing correctly.

BTW, i added  log_unknown_sensors = True and log_unmapped_sensors = True  to 
the [SDR] section of the weewx.conf and this is the output 
- https://www.dropbox.com/s/n2gwwslqcbwchlj/weewx_03.log?dl=0

Thanks,
Sean.


On Sunday, May 17, 2020 at 4:14:30 PM UTC+4, Sean Jahnig wrote:
>
> Hi,
>
> I have a weewx installation running on a RPi and connected to an acurite 5 
> in 1 using SDR. It has been working well for a long time but suddenly now 
> it is offline and i can't figure out why. I hadn't updated the RPi for a 
> long time so i ran apt-get update and apt-get upgrade but no difference. 
> The RPi is online and it can successfully ping google.com so there is 
> internet connectivity.
>
> I have run the below which manually runs the SDR driver and i do get a 
> response from the sensor which proves it is working. The identifier is 0A0A 
> which is correct in the weewx.conf file.
>
> sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py 
> --cmd="rtl_433 -M utc -F json -G"
>
> You can see the log here with debug set to 1. 
> https://www.dropbox.com/s/my6xu6wraba9u7c/weewx.log?dl=0
>
> This is the link to the station which is now offline: 
> https://www.windguru.cz/station/2146
>
> When i run sudo service weewx status the below is what i get. It seems 
> like everything is working except for the part where weewx 'generates a 
> report' / 'added a record', that doesn't seem to be happening.
>
> *●* weewx.service - LSB: weewx weather system
>
>Loaded: loaded (/etc/init.d/weewx; generated)
>
>Active: *active (running)* since Sun 2020-05-17 15:59:38 +04; 10min ago
>
>  Docs: man:systemd-sysv-generator(8)
>
>   Process: 1784 ExecStart=/etc/init.d/weewx start (code=exited, 
> status=0/SUCCESS)
>
> Tasks: 9 (limit: 1599)
>
>Memory: 13.8M
>
>CGroup: /system.slice/weewx.service
>
>├─1802 python2 /usr/share/weewx/weewxd --daemon 
> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>
>├─1806 sudo rtl_433 -M utc -F json
>
>└─1813 rtl_433 -M utc -F json
>
>
> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: 
> PWSweather: Posting not enabled.
>
> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: 
> CWOP: Posting not enabled.
>
> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: 
> WOW: Posting not enabled.
>
> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: 
> AWEKAS: Posting not enabled.
>
> May 17 15:59:39 raspberrypi weewxd[1802]: restx: WindGuru: service version 
> is 0.1
>
> May 17 15:59:39 raspberrypi weewxd[1802]: restx: WindGuru: Data will be 
> uploaded for 10002
>
> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO __main__: 
> Starting up weewx version 4.0.0
>
> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.engine: 
> Using binding 'wx_binding' to database 'weewx.sdb'
>
> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.manager: 
> Starting backfill of daily summaries
>
> May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.engine: 
> Starting main packet loop.
>
>
> Does anyone have any suggestions?
>
>
> Thanks,
>
> Sean.
>

-- 
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/eeaa29fd-e02b-4057-a1d9-b07285ce9245%40googlegroups.com.


Re: [weewx-user] Real-time (or close) Wind Speed?

2020-05-17 Thread Greg Troxel
Something else I forgot to mention:

weewx sending loop packets to mqtt works fine, by many reports on this
list, as does other things getting those reports.

However, with Home Assistant, what you do is construct a sensor of type
mqtt, and that sensor sees an udpated value every time it receives a
notification via MQTT.  There is a notion of storing each update in a
database, so you can graph it, etc.

I am currently sending only archive packets to MQTT, because I don't
want 43200 temperature datapoints in my HA sqlite3 database, because I
think it might cause trouble and I don't feel the need.  Perhaps that is
silly of me and it would work 100% fine.   And if it were just temp,
that might be one thing, but there are two temps, two humidities,
pressure, rain, wind speed/direction and so on so really this is 0.5M
observations per day.

So, you might want to think of modifying the mqtt sender in weewx to
send wind every 5 minutes, or when it's higher than the last report, or
something like that, so you can get the rapid response you want without
storing tens of thousands of uninteresting data points.

-- 
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/rmimu662x66.fsf%40s1.lexort.com.


[weewx-user] Re: Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread vince
On Sunday, May 17, 2020 at 9:26:50 AM UTC-7, Ben Luria wrote:
>
> apologies if this topic came up before or in case I am off-topic here. I'm 
> toying with SDR and home automation on a Raspberry Pi and would like to add 
> weather data via WeeWX and a weather station. Is there any particular brand 
> / model I should go for or maybe avoid? Am looking for something solar 
> powered optimally, but that is not a must.
>
>
>
What's your budget ?

You can't get more open than WeatherFlow, although (at this time) the rain 
measurements are not good.  Otherwise pretty slick.  Solar panel, no moving 
parts, and a great set of programming API 'and' an existing weewx driver 
that works great.   Excellent customer service.  Very active forums on 
their site too.  Lots of software integrations from the user community.

(disclaimer - I'm a beta tester for them)

WF just came out with their new Tempest system.  I would expect some folks 
with the previous SmartWeather gear might be looking to sell gently used 
stuff for a good price, if you look around.

-- 
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/fb79323a-b0c7-4266-9584-139e2fbc044a%40googlegroups.com.


Re: [weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Andy_501_ve4per
Used Debian 10 install method using python3 and weewx (4.0.0-1) appearts 
to have installed OK now


thanks for the tips everyone.

Andy

On 2020-05-17 11:50 a.m., Tom Keffer wrote:

What happens if you try

python3 -V

-tk

On Sun, May 17, 2020 at 9:42 AM Andy_501_ve4per 
> wrote:


Tried and got message 3 was already there

python3 is already the newest version (3.8.2-0ubuntu2).

strange??

On 2020-05-17 11:38 a.m., Tom Keffer wrote:

Well, you can run with that.

Or, install python 3:

*sudo apt install python3*

-tk

On Sun, May 17, 2020 at 9:36 AM Andy_501_ve4per
mailto:andrew.webb.501.ve4...@gmail.com>> wrote:

Python 2.7.18rc1

On 2020-05-17 11:32 a.m., Tom Keffer wrote:

I run Ubuntu 20.04 as well. Python 3 was included, Python 2
is not. What happens if you do

*python -V*

-tk

On Sun, May 17, 2020 at 9:24 AM VE4PER / Andy
mailto:andrew.webb.501.ve4...@gmail.com>> wrote:

Hi,
I have tried to install weewx on my upgraded
UbuntuStudio 20.04LTS OS (debian based) system. It does
not install as there appears to be some python related
roadblocks due to new OS's config wrt python software
not being included as it was under 18.04LTS.

Has there been a fix or workaround for this recommended;
does anyone know ?
Thanks
73 & good DX
Andy
-- 
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/cc342048-a1cd-400f-8f58-6c4c05f698a2%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/CAPq0zEBuHj4-e6Qz11_8hDOTewHJSAZnSy%3Dv-F_X36wNgmw%3DRg%40mail.gmail.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/3c9bd28d-6b9b-c56f-3a47-3d416aece2c4%40gmail.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/CAPq0zEBcSVgtJz6kebu%2BirmjgQHmNbAf0awNyEp4KYSP5QcA9Q%40mail.gmail.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/b6e30e38-9e26-440f-9c61-f366886cbb38%40gmail.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 v

Re: [weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Andy_501_ve4per

Python 3.8.2

On 2020-05-17 11:50 a.m., Tom Keffer wrote:

What happens if you try

python3 -V

-tk

On Sun, May 17, 2020 at 9:42 AM Andy_501_ve4per 
> wrote:


Tried and got message 3 was already there

python3 is already the newest version (3.8.2-0ubuntu2).

strange??

On 2020-05-17 11:38 a.m., Tom Keffer wrote:

Well, you can run with that.

Or, install python 3:

*sudo apt install python3*

-tk

On Sun, May 17, 2020 at 9:36 AM Andy_501_ve4per
mailto:andrew.webb.501.ve4...@gmail.com>> wrote:

Python 2.7.18rc1

On 2020-05-17 11:32 a.m., Tom Keffer wrote:

I run Ubuntu 20.04 as well. Python 3 was included, Python 2
is not. What happens if you do

*python -V*

-tk

On Sun, May 17, 2020 at 9:24 AM VE4PER / Andy
mailto:andrew.webb.501.ve4...@gmail.com>> wrote:

Hi,
I have tried to install weewx on my upgraded
UbuntuStudio 20.04LTS OS (debian based) system. It does
not install as there appears to be some python related
roadblocks due to new OS's config wrt python software
not being included as it was under 18.04LTS.

Has there been a fix or workaround for this recommended;
does anyone know ?
Thanks
73 & good DX
Andy
-- 
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/cc342048-a1cd-400f-8f58-6c4c05f698a2%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/CAPq0zEBuHj4-e6Qz11_8hDOTewHJSAZnSy%3Dv-F_X36wNgmw%3DRg%40mail.gmail.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/3c9bd28d-6b9b-c56f-3a47-3d416aece2c4%40gmail.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/CAPq0zEBcSVgtJz6kebu%2BirmjgQHmNbAf0awNyEp4KYSP5QcA9Q%40mail.gmail.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/b6e30e38-9e26-440f-9c61-f366886cbb38%40gmail.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/CAPq0zEBm%3DQ%2BYgnKao-bsh9YSKT6FV3R9bbuAco06zjTYu8xSiQ%40mail.gmail.com

Re: [weewx-user] Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread p q
I have an AcuRite and it works fine. It's not solar powered. The sensor
unit runs off AA batteries that last me more than a year, though it never
gets cold here, YMMV.  I don't use SDR. The Acurite display I have has a
USB cable that plugs right into the Raspi.

I was unhappy with the temp readings from the 5in1 unit so I ended up
building my own solar powered sensor. If I had to do it all again I might
build the whole thing myself.

On Sun, May 17, 2020 at 9:42 AM Tom Keffer  wrote:

> The AcuRite is a possible choice, but it is anything but 'open'.
> Everything about it had to be reverse engineered.
>
> On Sun, May 17, 2020 at 9:34 AM Andy_501_ve4per <
> andrew.webb.501.ve4...@gmail.com> wrote:
>
>> Try ACURite 1035 I believe is model number for outdoor sensor unit with
>> wifi connect to display unit; included indoor display unit has USB port to
>> weewx software in PC.
>>
>> Outdoor unit runs on any high capacity severe service duracell or like
>> dry cells batts. 1 set has run almost 2 yrs for me now. Unit claims to have
>> solar cell that powers a heater unit for measuring snowfall water
>> equivalents.
>>
>> Good Luck
>>
>> mine has been OK so far
>> On 2020-05-17 11:26 a.m., 'Ben Luria' via weewx-user wrote:
>>
>> Hiya,
>>
>> apologies if this topic came up before or in case I am off-topic here.
>> I'm toying with SDR and home automation on a Raspberry Pi and would like to
>> add weather data via WeeWX and a weather station. Is there any particular
>> brand / model I should go for or maybe avoid? Am looking for something
>> solar powered optimally, but that is not a must.
>>
>> Thanks in advance.
>>
>> Ben
>> --
>> 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/a2e938ab-5377-42f3-906e-448392619220%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/b92b1fb5-b4f8-1d3e-257e-04eb01258f18%40gmail.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/CAPq0zEBvMrqXWEXezvGQ054-OmAjwNS_5NPTgXXh3_DOTVyo7Q%40mail.gmail.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/CAA1SM23-AWUw6nTdiAw0CUZ%2BP1bMDqTpUGg1cRDT1CUs2358_Q%40mail.gmail.com.


Re: [weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Tom Keffer
What happens if you try

python3 -V

-tk

On Sun, May 17, 2020 at 9:42 AM Andy_501_ve4per <
andrew.webb.501.ve4...@gmail.com> wrote:

> Tried and got message 3 was already there
>
> python3 is already the newest version (3.8.2-0ubuntu2).
>
> strange??
> On 2020-05-17 11:38 a.m., Tom Keffer wrote:
>
> Well, you can run with that.
>
> Or, install python 3:
>
> *sudo apt install python3*
>
> -tk
>
> On Sun, May 17, 2020 at 9:36 AM Andy_501_ve4per <
> andrew.webb.501.ve4...@gmail.com> wrote:
>
>> Python 2.7.18rc1
>> On 2020-05-17 11:32 a.m., Tom Keffer wrote:
>>
>> I run Ubuntu 20.04 as well. Python 3 was included, Python 2 is not. What
>> happens if you do
>>
>> *python -V*
>>
>> -tk
>>
>> On Sun, May 17, 2020 at 9:24 AM VE4PER / Andy <
>> andrew.webb.501.ve4...@gmail.com> wrote:
>>
>>> Hi,
>>> I have tried to install weewx on my upgraded UbuntuStudio 20.04LTS OS
>>> (debian based) system. It does not install as there appears to be some
>>> python related roadblocks due to new OS's config wrt python software not
>>> being included as it was under 18.04LTS.
>>>
>>> Has there been a fix or workaround for this recommended; does anyone
>>> know ?
>>> Thanks
>>> 73 & good DX
>>> Andy
>>> --
>>> 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/cc342048-a1cd-400f-8f58-6c4c05f698a2%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/CAPq0zEBuHj4-e6Qz11_8hDOTewHJSAZnSy%3Dv-F_X36wNgmw%3DRg%40mail.gmail.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/3c9bd28d-6b9b-c56f-3a47-3d416aece2c4%40gmail.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/CAPq0zEBcSVgtJz6kebu%2BirmjgQHmNbAf0awNyEp4KYSP5QcA9Q%40mail.gmail.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/b6e30e38-9e26-440f-9c61-f366886cbb38%40gmail.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/CAPq0zEBm%3DQ%2BYgnKao-bsh9YSKT6FV3R9bbuAco06zjTYu8xSiQ%40mail.gmail.com.


Re: [weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Andy_501_ve4per

Tried and got message 3 was already there

python3 is already the newest version (3.8.2-0ubuntu2).

strange??

On 2020-05-17 11:38 a.m., Tom Keffer wrote:

Well, you can run with that.

Or, install python 3:

*sudo apt install python3*

-tk

On Sun, May 17, 2020 at 9:36 AM Andy_501_ve4per 
> wrote:


Python 2.7.18rc1

On 2020-05-17 11:32 a.m., Tom Keffer wrote:

I run Ubuntu 20.04 as well. Python 3 was included, Python 2 is
not. What happens if you do

*python -V*

-tk

On Sun, May 17, 2020 at 9:24 AM VE4PER / Andy
mailto:andrew.webb.501.ve4...@gmail.com>> wrote:

Hi,
I have tried to install weewx on my upgraded UbuntuStudio
20.04LTS OS (debian based) system. It does not install as
there appears to be some python related roadblocks due to new
OS's config wrt python software not being included as it was
under 18.04LTS.

Has there been a fix or workaround for this recommended; does
anyone know ?
Thanks
73 & good DX
Andy
-- 
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/cc342048-a1cd-400f-8f58-6c4c05f698a2%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/CAPq0zEBuHj4-e6Qz11_8hDOTewHJSAZnSy%3Dv-F_X36wNgmw%3DRg%40mail.gmail.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/3c9bd28d-6b9b-c56f-3a47-3d416aece2c4%40gmail.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/CAPq0zEBcSVgtJz6kebu%2BirmjgQHmNbAf0awNyEp4KYSP5QcA9Q%40mail.gmail.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/b6e30e38-9e26-440f-9c61-f366886cbb38%40gmail.com.


Re: [weewx-user] Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread Tom Keffer
The AcuRite is a possible choice, but it is anything but 'open'.
Everything about it had to be reverse engineered.

On Sun, May 17, 2020 at 9:34 AM Andy_501_ve4per <
andrew.webb.501.ve4...@gmail.com> wrote:

> Try ACURite 1035 I believe is model number for outdoor sensor unit with
> wifi connect to display unit; included indoor display unit has USB port to
> weewx software in PC.
>
> Outdoor unit runs on any high capacity severe service duracell or like dry
> cells batts. 1 set has run almost 2 yrs for me now. Unit claims to have
> solar cell that powers a heater unit for measuring snowfall water
> equivalents.
>
> Good Luck
>
> mine has been OK so far
> On 2020-05-17 11:26 a.m., 'Ben Luria' via weewx-user wrote:
>
> Hiya,
>
> apologies if this topic came up before or in case I am off-topic here. I'm
> toying with SDR and home automation on a Raspberry Pi and would like to add
> weather data via WeeWX and a weather station. Is there any particular brand
> / model I should go for or maybe avoid? Am looking for something solar
> powered optimally, but that is not a must.
>
> Thanks in advance.
>
> Ben
> --
> 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/a2e938ab-5377-42f3-906e-448392619220%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/b92b1fb5-b4f8-1d3e-257e-04eb01258f18%40gmail.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/CAPq0zEBvMrqXWEXezvGQ054-OmAjwNS_5NPTgXXh3_DOTVyo7Q%40mail.gmail.com.


Re: [weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Andy_501_ve4per

OK will give this a try

On 2020-05-17 11:38 a.m., Tom Keffer wrote:

Well, you can run with that.

Or, install python 3:

*sudo apt install python3*

-tk

On Sun, May 17, 2020 at 9:36 AM Andy_501_ve4per 
> wrote:


Python 2.7.18rc1

On 2020-05-17 11:32 a.m., Tom Keffer wrote:

I run Ubuntu 20.04 as well. Python 3 was included, Python 2 is
not. What happens if you do

*python -V*

-tk

On Sun, May 17, 2020 at 9:24 AM VE4PER / Andy
mailto:andrew.webb.501.ve4...@gmail.com>> wrote:

Hi,
I have tried to install weewx on my upgraded UbuntuStudio
20.04LTS OS (debian based) system. It does not install as
there appears to be some python related roadblocks due to new
OS's config wrt python software not being included as it was
under 18.04LTS.

Has there been a fix or workaround for this recommended; does
anyone know ?
Thanks
73 & good DX
Andy
-- 
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/cc342048-a1cd-400f-8f58-6c4c05f698a2%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/CAPq0zEBuHj4-e6Qz11_8hDOTewHJSAZnSy%3Dv-F_X36wNgmw%3DRg%40mail.gmail.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/3c9bd28d-6b9b-c56f-3a47-3d416aece2c4%40gmail.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/CAPq0zEBcSVgtJz6kebu%2BirmjgQHmNbAf0awNyEp4KYSP5QcA9Q%40mail.gmail.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/6798e06a-f878-8b77-2396-c2d0e499c5e5%40gmail.com.


[weewx-user] Re: Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Gert Andersen
Hi

I have installed weewx 4 on Ubuntu 20.04 without any problems. I have tried 
both the Debian package and the install.py method. I just followed the 
installation guide. It was a clean install, not an upgrade.

Gert

On Sunday, May 17, 2020 at 6:24:27 PM UTC+2, VE4PER / Andy wrote:
>
> Hi,
> I have tried to install weewx on my upgraded UbuntuStudio 20.04LTS OS 
> (debian based) system. It does not install as there appears to be some 
> python related roadblocks due to new OS's config wrt python software not 
> being included as it was under 18.04LTS.
>
> Has there been a fix or workaround for this recommended; does anyone know ?
> Thanks
> 73 & good DX
> Andy
>

-- 
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/aee135fa-7b25-4bf2-9ced-f7fa76427ee4%40googlegroups.com.


Re: [weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Tom Keffer
Well, you can run with that.

Or, install python 3:

*sudo apt install python3*

-tk

On Sun, May 17, 2020 at 9:36 AM Andy_501_ve4per <
andrew.webb.501.ve4...@gmail.com> wrote:

> Python 2.7.18rc1
> On 2020-05-17 11:32 a.m., Tom Keffer wrote:
>
> I run Ubuntu 20.04 as well. Python 3 was included, Python 2 is not. What
> happens if you do
>
> *python -V*
>
> -tk
>
> On Sun, May 17, 2020 at 9:24 AM VE4PER / Andy <
> andrew.webb.501.ve4...@gmail.com> wrote:
>
>> Hi,
>> I have tried to install weewx on my upgraded UbuntuStudio 20.04LTS OS
>> (debian based) system. It does not install as there appears to be some
>> python related roadblocks due to new OS's config wrt python software not
>> being included as it was under 18.04LTS.
>>
>> Has there been a fix or workaround for this recommended; does anyone know
>> ?
>> Thanks
>> 73 & good DX
>> Andy
>> --
>> 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/cc342048-a1cd-400f-8f58-6c4c05f698a2%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/CAPq0zEBuHj4-e6Qz11_8hDOTewHJSAZnSy%3Dv-F_X36wNgmw%3DRg%40mail.gmail.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/3c9bd28d-6b9b-c56f-3a47-3d416aece2c4%40gmail.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/CAPq0zEBcSVgtJz6kebu%2BirmjgQHmNbAf0awNyEp4KYSP5QcA9Q%40mail.gmail.com.


Re: [weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Andy_501_ve4per

Python 2.7.18rc1

On 2020-05-17 11:32 a.m., Tom Keffer wrote:
I run Ubuntu 20.04 as well. Python 3 was included, Python 2 is not. 
What happens if you do


*python -V*

-tk

On Sun, May 17, 2020 at 9:24 AM VE4PER / Andy 
> wrote:


Hi,
I have tried to install weewx on my upgraded UbuntuStudio 20.04LTS
OS (debian based) system. It does not install as there appears to
be some python related roadblocks due to new OS's config wrt
python software not being included as it was under 18.04LTS.

Has there been a fix or workaround for this recommended; does
anyone know ?
Thanks
73 & good DX
Andy
-- 
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/cc342048-a1cd-400f-8f58-6c4c05f698a2%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/CAPq0zEBuHj4-e6Qz11_8hDOTewHJSAZnSy%3Dv-F_X36wNgmw%3DRg%40mail.gmail.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/3c9bd28d-6b9b-c56f-3a47-3d416aece2c4%40gmail.com.


Re: [weewx-user] Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread Andy_501_ve4per
Try ACURite 1035 I believe is model number for outdoor sensor unit with 
wifi connect to display unit; included indoor display unit has USB port 
to weewx software in PC.


Outdoor unit runs on any high capacity severe service duracell or like 
dry cells batts. 1 set has run almost 2 yrs for me now. Unit claims to 
have solar cell that powers a heater unit for measuring snowfall water 
equivalents.


Good Luck

mine has been OK so far

On 2020-05-17 11:26 a.m., 'Ben Luria' via weewx-user wrote:

Hiya,

apologies if this topic came up before or in case I am off-topic here. 
I'm toying with SDR and home automation on a Raspberry Pi and would 
like to add weather data via WeeWX and a weather station. Is there any 
particular brand / model I should go for or maybe avoid? Am looking 
for something solar powered optimally, but that is not a must.


Thanks in advance.

Ben
--
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/a2e938ab-5377-42f3-906e-448392619220%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/b92b1fb5-b4f8-1d3e-257e-04eb01258f18%40gmail.com.


Re: [weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread Tom Keffer
I run Ubuntu 20.04 as well. Python 3 was included, Python 2 is not. What
happens if you do

*python -V*

-tk

On Sun, May 17, 2020 at 9:24 AM VE4PER / Andy <
andrew.webb.501.ve4...@gmail.com> wrote:

> Hi,
> I have tried to install weewx on my upgraded UbuntuStudio 20.04LTS OS
> (debian based) system. It does not install as there appears to be some
> python related roadblocks due to new OS's config wrt python software not
> being included as it was under 18.04LTS.
>
> Has there been a fix or workaround for this recommended; does anyone know ?
> Thanks
> 73 & good DX
> Andy
>
> --
> 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/cc342048-a1cd-400f-8f58-6c4c05f698a2%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/CAPq0zEBuHj4-e6Qz11_8hDOTewHJSAZnSy%3Dv-F_X36wNgmw%3DRg%40mail.gmail.com.


[weewx-user] Looking for somewhat 'open' weather station to use with Raspberry based projects

2020-05-17 Thread 'Ben Luria' via weewx-user
Hiya,

apologies if this topic came up before or in case I am off-topic here. I'm 
toying with SDR and home automation on a Raspberry Pi and would like to add 
weather data via WeeWX and a weather station. Is there any particular brand 
/ model I should go for or maybe avoid? Am looking for something solar 
powered optimally, but that is not a must.

Thanks in advance.

Ben

-- 
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/a2e938ab-5377-42f3-906e-448392619220%40googlegroups.com.


[weewx-user] Unable to install on UbuntuStudio 20.04LTS

2020-05-17 Thread VE4PER / Andy
Hi,
I have tried to install weewx on my upgraded UbuntuStudio 20.04LTS OS 
(debian based) system. It does not install as there appears to be some 
python related roadblocks due to new OS's config wrt python software not 
being included as it was under 18.04LTS.

Has there been a fix or workaround for this recommended; does anyone know ?
Thanks
73 & good DX
Andy

-- 
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/cc342048-a1cd-400f-8f58-6c4c05f698a2%40googlegroups.com.


[weewx-user] Re: Real-time (or close) Wind Speed?

2020-05-17 Thread vince
On Sunday, May 17, 2020 at 4:02:26 AM UTC-7, Tom K wrote:
>
> I am looking to measure wind speed so that I can monitor my retractable 
> awning and Auto-close when the wind picks up. I need as close to real-time 
> wind speed as possible. I don’t have a weather station yet, but was hoping 
> that you could provide a recommendation.  I see that an Acurite station can 
> provide updates as often as every 18 seconds - can I do better? I use Home 
> Assistant for automation, so planning on feeding feeding wind speed into HA 
> and then controlling the awning from there. 
>
>
A WeatherFlow station can report wind every 2 seconds and has an ultrasonic 
wind sensor, so it's very sensitive to changes.

They just came out with a new model literally this week, so you might look 
for a used SmartWeather station perhaps. 

For integrating with HA, you could pick the data off the UDP broadcasts via 
a program (I wrote one and lots of people use it), you could integrate that 
with HA pretty easily I think.   My python program can broadcast to MQTT 
 that HA could subscribe to, or something like that.  I run my listener and 
HA in Docker containers on a i3 Intel NUC running ubuntu, but a pi3+ or pi4 
could easily handle it.

One thing I need to mention about the WeatherFlow stations is tht the rain 
is 'not' generally accurate in realtime, if that matters to you.   They 
have a magic thing called 'rain check' where they apply corrections after 
the fact and you basically can see the previous day's corrected rain via 
their website.   All the other sensors seem pretty good though.


-- 
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/ed10a8e6-623a-49a4-9779-81117ea117c7%40googlegroups.com.


Re: [weewx-user] WeeWx Database

2020-05-17 Thread Tom Keffer
How about doing a dump of the v3.9 database, then delete the CREATE TABLE
statement. Then import into the V4 database.

Something like:

# Create a dump, then strip out the CREATE TABLE
echo ".dump" | sqlite3 weewx3.92.sdb | sed -e 's/^CREATE TABLE//' >
weewx3.92.sql
# Use the results to insert into the V4.0 table
sqlite3 weewx4.0.sdb < weewx3.92.sql

One thing I want to stress is that there is no difference between a V3.9
database and a V4.0 database. The only difference is that V4.0 offers a
new, extended schema.

-tk

On Sun, May 17, 2020 at 6:55 AM Ron Sell  wrote:

> I upgraded to a new Pi and weewx 4.0.
>
> Old Pi
> weexwx 3.9.2
> Database extended for more observations
> 58 columns
> Running for a year
>
> New Pi
> Weewx 4.0
> Database not extended Included all of the observstions i needed in the new
> version.'
> 113 columns
>
> What is the best way to keep all my old data?
>
>
> I can't just copy the old database 1 for 1 since they are different.
>
> thanks
>
>
> --
> 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/378b9004-78d2-4a80-bccb-27b35ecdc64c%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/CAPq0zEAL8auPoQODgMaMgepLgt9HLGDdMb-0goiLESJdt%2BEQvw%40mail.gmail.com.


[weewx-user] Re: WS6in1 driver 0.3

2020-05-17 Thread Bob Atchley
I have released 0.4 of WS6in1 driver that clears up the defect spotted by 
Remy, and a number of changes I had to make following that (a cascade of 
issues).
Details are in the readme.txt and changelog with more notes added

Bob

-- 
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/b894c30c-8af0-478d-8858-79e46e0f9ccc%40googlegroups.com.


[weewx-user] WeeWx Database

2020-05-17 Thread Ron Sell
I upgraded to a new Pi and weewx 4.0.

Old Pi 
weexwx 3.9.2
Database extended for more observations
58 columns
Running for a year

New Pi 
Weewx 4.0
Database not extended Included all of the observstions i needed in the new 
version.'
113 columns

What is the best way to keep all my old data?


I can't just copy the old database 1 for 1 since they are different.

thanks


-- 
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/378b9004-78d2-4a80-bccb-27b35ecdc64c%40googlegroups.com.


columns3.92.
Description: Binary data


columns4.0
Description: Binary data


Re: [weewx-user] Re: Belchertown Graph Error

2020-05-17 Thread Ron Sell
That was it thank you.



On Sun, May 17, 2020 at 9:19 AM Andrew Milner 
wrote:

> I think you have a mismatch between OutTempBatteryStatus in the chartcode
> and outTempBatteryStatus which is the name in the database.  Change the O
> to an o
>
>
>
>
>
>
> On Sunday, 17 May 2020 16:07:45 UTC+3, Ron Sell wrote:
>>
>> Anyone see this error:
>>
>> Weewx 4.0:
>> Belchertown 1.1
>>
>> The database has those fields:
>>
>> 107|windBatteryStatus|REAL|0||0
>> 69|outTempBatteryStatus|REAL|0||0
>>
>> Chart Code:
>> [[Battery]]
>> title = Battery Status
>> [[[OutTempBatteryStatus]]]
>> name = Air Battery
>> zIndex = 1
>> color = blue
>> [[[windBatteryStatus]]]
>> name = Sky Battery
>> color = gray
>>
>> Error Log:
>> pi@raspberrypi:~ $ sudo wee_reports
>> Using configuration file /etc/weewx/weewx.conf
>> Generating for all time
>> Traceback (most recent call last):
>>   File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
>> obj.start()
>>   File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
>> self.run()
>>   File "/usr/share/weewx/user/belchertown.py", line 1374, in run
>> series_data = self.get_observation_data(binding, archive,
>> observation_type, minstamp, maxstamp, aggregate_type, aggregate_interval,
>> time_length, xAxis_groupby, xAxis_categories, mirrored_value,
>> weatherRange_obs_lookup)
>>   File "/usr/share/weewx/user/belchertown.py", line 1827, in
>> get_observation_data
>> raise Warning( "Error trying to use database binding %s to graph
>> observation %s. Error was: %s." % (binding, obs_lookup, e) )
>> Warning: Error trying to use database binding wx_binding to graph
>> observation OutTempBatteryStatus. Error was: OutTempBatteryStatus.
>>
>>
>> --
> 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/61fb1bd4-afd8-40c9-903f-9a36f05040b5%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/CABn15dZmXkDsvwytxMLUSFGyJH%2B_xSgzn_r6zUDq8Kn2L0kkqw%40mail.gmail.com.


[weewx-user] Re: Belchertown Graph Error

2020-05-17 Thread Andrew Milner
I think you have a mismatch between OutTempBatteryStatus in the chartcode 
and outTempBatteryStatus which is the name in the database.  Change the O 
to an o






On Sunday, 17 May 2020 16:07:45 UTC+3, Ron Sell wrote:
>
> Anyone see this error:
>
> Weewx 4.0:
> Belchertown 1.1
>
> The database has those fields:
>
> 107|windBatteryStatus|REAL|0||0
> 69|outTempBatteryStatus|REAL|0||0
>
> Chart Code:
> [[Battery]]
> title = Battery Status
> [[[OutTempBatteryStatus]]]
> name = Air Battery
> zIndex = 1
> color = blue
> [[[windBatteryStatus]]]
> name = Sky Battery
> color = gray
>
> Error Log:
> pi@raspberrypi:~ $ sudo wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
> Traceback (most recent call last):
>   File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
> obj.start()
>   File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
> self.run()
>   File "/usr/share/weewx/user/belchertown.py", line 1374, in run
> series_data = self.get_observation_data(binding, archive, 
> observation_type, minstamp, maxstamp, aggregate_type, aggregate_interval, 
> time_length, xAxis_groupby, xAxis_categories, mirrored_value, 
> weatherRange_obs_lookup)
>   File "/usr/share/weewx/user/belchertown.py", line 1827, in 
> get_observation_data
> raise Warning( "Error trying to use database binding %s to graph 
> observation %s. Error was: %s." % (binding, obs_lookup, e) )
> Warning: Error trying to use database binding wx_binding to graph 
> observation OutTempBatteryStatus. Error was: OutTempBatteryStatus.
>
>
>

-- 
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/61fb1bd4-afd8-40c9-903f-9a36f05040b5%40googlegroups.com.


[weewx-user] Belchertown Graph Error

2020-05-17 Thread Ron Sell
Anyone see this error:

Weewx 4.0:
Belchertown 1.1

The database has those fields:

107|windBatteryStatus|REAL|0||0
69|outTempBatteryStatus|REAL|0||0

Chart Code:
[[Battery]]
title = Battery Status
[[[OutTempBatteryStatus]]]
name = Air Battery
zIndex = 1
color = blue
[[[windBatteryStatus]]]
name = Sky Battery
color = gray

Error Log:
pi@raspberrypi:~ $ sudo wee_reports
Using configuration file /etc/weewx/weewx.conf
Generating for all time
Traceback (most recent call last):
  File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
obj.start()
  File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
self.run()
  File "/usr/share/weewx/user/belchertown.py", line 1374, in run
series_data = self.get_observation_data(binding, archive, 
observation_type, minstamp, maxstamp, aggregate_type, aggregate_interval, 
time_length, xAxis_groupby, xAxis_categories, mirrored_value, 
weatherRange_obs_lookup)
  File "/usr/share/weewx/user/belchertown.py", line 1827, in 
get_observation_data
raise Warning( "Error trying to use database binding %s to graph 
observation %s. Error was: %s." % (binding, obs_lookup, e) )
Warning: Error trying to use database binding wx_binding to graph 
observation OutTempBatteryStatus. Error was: OutTempBatteryStatus.


-- 
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/5670a91e-5726-4cd6-9877-858a6994592f%40googlegroups.com.


[weewx-user] weewx has been working for months but it's suddely offline

2020-05-17 Thread Sean Jahnig
Hi,

I have a weewx installation running on a RPi and connected to an acurite 5 
in 1 using SDR. It has been working well for a long time but suddenly now 
it is offline and i can't figure out why. I hadn't updated the RPi for a 
long time so i ran apt-get update and apt-get upgrade but no difference. 
The RPi is online and it can successfully ping google.com so there is 
internet connectivity.

I have run the below which manually runs the SDR driver and i do get a 
response from the sensor which proves it is working. The identifier is 0A0A 
which is correct in the weewx.conf file.

sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py 
--cmd="rtl_433 -M utc -F json -G"

You can see the log here with debug set to 1. 
https://www.dropbox.com/s/my6xu6wraba9u7c/weewx.log?dl=0

This is the link to the station which is now offline: 
https://www.windguru.cz/station/2146

When i run sudo service weewx status the below is what i get. It seems like 
everything is working except for the part where weewx 'generates a report' 
/ 'added a record', that doesn't seem to be happening.

*●* weewx.service - LSB: weewx weather system

   Loaded: loaded (/etc/init.d/weewx; generated)

   Active: *active (running)* since Sun 2020-05-17 15:59:38 +04; 10min ago

 Docs: man:systemd-sysv-generator(8)

  Process: 1784 ExecStart=/etc/init.d/weewx start (code=exited, 
status=0/SUCCESS)

Tasks: 9 (limit: 1599)

   Memory: 13.8M

   CGroup: /system.slice/weewx.service

   ├─1802 python2 /usr/share/weewx/weewxd --daemon 
--pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

   ├─1806 sudo rtl_433 -M utc -F json

   └─1813 rtl_433 -M utc -F json


May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: 
PWSweather: Posting not enabled.

May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: 
CWOP: Posting not enabled.

May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: 
WOW: Posting not enabled.

May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: 
AWEKAS: Posting not enabled.

May 17 15:59:39 raspberrypi weewxd[1802]: restx: WindGuru: service version 
is 0.1

May 17 15:59:39 raspberrypi weewxd[1802]: restx: WindGuru: Data will be 
uploaded for 10002

May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO __main__: 
Starting up weewx version 4.0.0

May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.engine: 
Using binding 'wx_binding' to database 'weewx.sdb'

May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.manager: 
Starting backfill of daily summaries

May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.engine: 
Starting main packet loop.


Does anyone have any suggestions?


Thanks,

Sean.

-- 
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/61c38fb9-3ada-43f9-9f6b-72c28cbf05f3%40googlegroups.com.


Re: [weewx-user] Real-time (or close) Wind Speed?

2020-05-17 Thread Greg Troxel
Tom K  writes:

> I am looking to measure wind speed so that I can monitor my
> retractable awning and Auto-close when the wind picks up. I need as
> close to real-time wind speed as possible. I don’t have a weather
> station yet, but was hoping that you could provide a recommendation.
> I see that an Acurite station can provide updates as often as every 18
> seconds - can I do better? I use Home Assistant for automation, so
> planning on feeding feeding wind speed into HA and then controlling
> the awning from there.

Based on your requirements, I think you should be setting up the mqtt
extension in weewx, and publishing loop packets, at least for wind.

I have a Davis Vantage Pro2, and it reports data every 2s.  However, not
every LOOP packet, as they call them, has every bit of data.  I think
wind is quite frequent, as your desire for rapid wind information is not
unusual.  Rain, on the other hand, is less frequent, as the tipping
bucket only tips so often.

There are many stations to choose from, and acurite is a popular
low-cost choice.  It seems to be one of the more reliable low-cost
stations.  Generally, people like the Davis equipment except that they
complain about how much it costs, and that you have to have separate
data logger, and occasionally slight USB flakiness.  But other than that
it's great.


I am not sure how your wind is and how real time you need, if you set
your thresholds right.  You'd have to look at high-time-resolution data
for your site for a while.

Keep in mind that weather standards call for your wind instrument to be
10m above ground in the clear, but that this is often too hard.
However, you just need to measure wind so you can infer conditions near
the awning and figure out what's too much in your judgement.



-- 
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/rmio8qm4w0h.fsf%40s1.lexort.com.


[weewx-user] Real-time (or close) Wind Speed?

2020-05-17 Thread Tom K
Hello everyone,

I am looking to measure wind speed so that I can monitor my retractable awning 
and Auto-close when the wind picks up. I need as close to real-time wind speed 
as possible. I don’t have a weather station yet, but was hoping that you could 
provide a recommendation.  I see that an Acurite station can provide updates as 
often as every 18 seconds - can I do better? I use Home Assistant for 
automation, so planning on feeding feeding wind speed into HA and then 
controlling the awning from there. 

Thanks in advance!

-- 
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/f2ca49e8-d297-4af6-946f-2a2e00b13e28%40googlegroups.com.