Re: [weewx-user] Purple-Air causes imagegenerator crash in 5.0.2 but not in 4

2024-04-30 Thread 'John Kline' via weewx-user
Thanks for trying it.  I’ve release v3.9.2 with the fix.On Apr 29, 2024, at 10:04 PM, Clay Jackson  wrote:This version works perfectly!On Monday, April 29, 2024 at 6:39:44 PM UTC-7 John Kline wrote:It’s my extension.  MySQL doesn’t like the select when sql_mode=only_full_group_by.clayj, please replace purple.py with the attached file.  If it works for you, I’ll release it as v3.9.2.



-- 
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/79503a55-1a42-43db-9122-3225604af037n%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/8DC9BA5D-7C85-46A0-B4B6-44A2654FC6DB%40johnkline.com.


Re: [weewx-user] Purple-Air causes imagegenerator crash in 5.0.2 but not in 4

2024-04-29 Thread 'John Kline' via weewx-user
It’s my extension.  MySQL doesn’t like the select when sql_mode=only_full_group_by.clayj, please replace purple.py with the attached file.  If it works for you, I’ll release it as v3.9.2.



-- 
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/2C5B0FC9-FD72-4FAF-B2E8-9C57D7D5B158%40johnkline.com.


purple.py
Description: Binary data
On Apr 29, 2024, at 4:48 PM, Tom Keffer  wrote:It looks like the "purple" extension is trying to aggregate by groups, but asking for a non-aggregated value for 'usUnits'. What extension is this? The purple air extension I see on the wiki uses the module "user.purpleair", not "user.purple".On Mon, Apr 29, 2024 at 4:37 PM Clay Jackson  wrote:I'm updating from WeeWx Version 4 to 5.0.2 and when I do, the sample dashboard for Purple causes imgagegenerator to crash - here's the output from syslog.Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  (1140, "In aggregated query without GROUP BY, _expression_ #2 of SELECT list contains nonaggregated column 'weewx.archive.usUnits'; this is incompatible with sql_mode=only_full_group_by")Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  Traceback (most recent call last):Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/weewx/xtypes.py", line 109, in get_seriesApr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  return xtype.get_series(obs_type, timespan, db_manager, aggregate_type,Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  TypeError: AQI.get_series() got an unexpected keyword argument 'SKIN_ROOT'Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine: Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  During handling of the above exception, another exception occurred:Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine: Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  Traceback (most recent call last):Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/weedb/mysql.py", line 53, in guarded_fnApr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  return fn(*args, **kwargs)Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/weedb/mysql.py", line 247, in executeApr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  self.cursor.execute(mysql_string, tuple(sql_tuple))Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/pymysql/cursors.py", line 153, in executeApr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  result = self._query(query)Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/pymysql/cursors.py", line 322, in _queryApr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  conn.query(q)Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/pymysql/connections.py", line 558, in queryApr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  self._affected_rows = self._read_query_result(unbuffered=unbuffered)Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/pymysql/connections.py", line 822, in _read_query_resultApr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  result.read()Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/pymysql/connections.py", line 1200, in readApr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  first_packet = self.connection._read_packet()Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine:  File "/home/weewx/weewx-venv/lib/python3.10/site-packages/pymysql/connections.py", line 772, in _read_packetApr 29 16:26:12 weewx python3[2282]: Traceback (most recent call last):Apr 29 16:26:12 weewx python3[2282]: File "/home/weewx/weewx-venv/lib/python3.10/site-packages/weewx/xtypes.py", line 109, in get_seriesApr 29 16:26:12 weewx python3[2282]: return xtype.get_series(obs_type, timespan, db_manager, aggregate_type,Apr 29 16:26:12 weewx python3[2282]: TypeError: AQI.get_series() got an unexpected keyword argument 'SKIN_ROOT'Apr 29 16:26:12 weewx python3[2282]: During handling of the above exception, another exception 

[weewx-user] Re: No DB or reports update

2024-04-22 Thread John Walker
Thanks for this.
So I changed owner to 'weewx' on /var/www/html/weewx folder and everything 
is working again now. Appreciate the help.

Only weird thing remaining is that on the webpage it has the below - with a 
WeeWX v5 upgrade should the skins not be updated as well?

WeeWX version
5.0.2
Skin
Seasons 4.9.1

On Monday, April 22, 2024 at 12:03:13 PM UTC-4 vince wrote:

> Another permission denied issue. I'm guessing you are mounting a NAS or 
> other network drive ?
>
> The weewx user needs permission to write to wherever it's trying to write 
> to.
>
>
> Apr 22 08:45:47 sparta weewxd[465042]: DEBUG 
> user.weatherlink_live.davis_broadcast: Stopped broadcast reception Apr 22 
> 08:45:47 sparta weewxd[465042]: CRITICAL __main__: Caught OSError: [Errno 
> 13] Permission denied: 
> '/srv/samba/raid1/public_shares/weewx/data-2024-04.csv' Apr 22 08:45:47 
> sparta weewxd[465042]: CRITICAL __main__:  Traceback (most recent call 
> last): Apr 22 08:45:47 sparta weewxd[465042]: CRITICAL __main__:  File 
> "/usr/share/weewx/weewxd.py", line 166, in main Apr 22 08:45:47 sparta 
> weewxd[465042]: CRITICAL __main__:  engine.run() Apr 22 08:45:47 sparta 
> weewxd[465042]: CRITICAL __main__:  File 
> "/usr/share/weewx/weewx/engine.py", line 206, in run Apr 22 08:45:47 sparta 
> weewxd[465042]: CRITICAL __main__:  
> self.dispatchEvent(weewx.Event(weewx.NEW_LOOP_PACKET, packet=packet)) Apr 
> 22 08:45:47 sparta weewxd[465042]: CRITICAL __main__:  File 
> "/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent Apr 22 
> 08:45:47 sparta weewxd[465042]: CRITICAL __main__:  callback(event) Apr 
> 22 08:45:47 sparta weewxd[465042]: CRITICAL __main__:  File 
> "/etc/weewx/bin/user/csv.py", line 63, in handle_new_loop Apr 22 08:45:47 
> sparta weewxd[465042]: CRITICAL __main__:  
> self.write_data(event.packet) Apr 22 08:45:47 sparta weewxd[465042]: 
> CRITICAL __main__:  File "/etc/weewx/bin/user/csv.py", line 85, in 
> write_data Apr 22 08:45:47 sparta weewxd[465042]: CRITICAL __main__:  
> with open(filename, flag) as f: Apr 22 08:45:47 sparta weewxd[465042]: 
> CRITICAL __main__:  PermissionError: [Errno 13] Permission denied: 
> '/srv/samba/raid1/public_shares/weewx/data-2024-04.csv' Apr 22 08:45:47 
> sparta weewxd[465042]: CRITICAL __main__:  Waiting 10 seconds then 
> retrying...
>
>
> On Monday, April 22, 2024 at 6:12:22 AM UTC-7 John Walker wrote:
>
>> Hi Gary - many thanks. I captured a log file from startup for 10+ mins - 
>> see attached.
>> Below is service status report after the log capture.
>> I do have a reports copy to a network share that isn't working due to 
>> some permissions error - that is in the log file too.
>>
>>
>> ● weewx.service - WeeWX
>>  Loaded: loaded (/etc/systemd/system/weewx.service; enabled; vendor 
>> preset: enabled)
>>  Active: active (running) since Mon 2024-04-22 08:44:05 EDT; 24min ago
>>Docs: https://weewx.com/docs
>>Main PID: 465042 (python3)
>>   Tasks: 3 (limit: 18955)
>>  Memory: 66.9M
>> CPU: 29.462s
>>  CGroup: /system.slice/weewx.service
>>  └─465042 python3 /usr/share/weewx/weewxd.py 
>> /etc/weewx/weewx.conf
>>
>> On Sunday, April 21, 2024 at 4:05:33 PM UTC-4 gjr80 wrote:
>>
>>> Reinstalling is a bit drastic without first seeing what the problem is. 
>>> Despite a lengthy log extract we did not see the full WeeWX startup (didn't 
>>> see anything covering the driver being loaded) nor did we see anything 
>>> after WeeWX startup. How about posting another log extract showing the full 
>>> WeeWX startup and a good 10-15 minutes after WeeWX has started (ie after 
>>> the 'Starting main packet loop' log entry).
>>>
>>> Gary
>>>
>>> On Monday 22 April 2024 at 01:54:50 UTC+10 jw1...@gmail.com wrote:
>>>
>>>> Hi,
>>>> Amid some updates and other problem solving I now have no updates 
>>>> happening to the database nor the /var/www/html/weewx reports.
>>>> I could have butchered the config it a bit - is there a safe (retaining 
>>>> database) way to reinstall? Weewx.conf and syslog excerpt below.
>>>> Thanks,
>>>> JW
>>>>
>>>>
>>>> *WEEWX.CONF (first couple sections)*
>>>>
>>>> # WEEWX CONFIGURATION FILE
>>>> #
>>>> # Copyright (c) 2009-2021 Tom Keffer 
>>>> # See the file LICENSE.txt for your rights.
>>>>
>>>>
>>>> #

[weewx-user] Re: Tempest WeatherFlow UV and Radiation

2024-04-22 Thread John Jacklin
Many thanks

On Monday 22 April 2024 at 17:09:26 UTC+1 vince wrote:

> Yes that's normal.   Look at any of the weatherflow-udp stations 
> registered on the weewx map and you'll see the same thing.
>
>

-- 
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/b9bbe006-3ec5-4f05-9cc5-be4c613483e2n%40googlegroups.com.


[weewx-user] Tempest WeatherFlow UV and Radiation

2024-04-22 Thread John Jacklin
I have just set up WeeWX using a Tempest WeatherFlow

https://wx-watch.co.uk/weewx/index.html

I used this driver

https://github.com/captain-coredump/weatherflow-udp?tab=readme-ov-file

I seems to work perfectly but the graphs for UV and Radiation are identical 
- is this correct??

Hers is my sensor map

[[sensor_map]]
outTemp = air_temperature.ST-STATIONID.obs_st
outHumidity = relative_humidity.ST-STATIONID.obs_st
pressure = station_pressure.ST-STATIONID.obs_st
lightning_strike_count = lightning_strike_count.ST-STATIONID.obs_st
lightning_distance = 
lightning_strike_avg_distance.ST-STATIONID.obs_st
outTempBatteryStatus = battery.ST-STATIONID.obs_st
windSpeed = wind_speed.ST-STATIONID.rapid_wind
windDir = wind_direction.ST-STATIONID.rapid_wind
UV = uv.ST-STATIONID.obs_st
rain = rain_accumulated.ST-STATIONID.obs_st
windBatteryStatus = battery.ST-STATIONID.obs_st
radiation = solar_radiation.ST-STATIONID.obs_st
lightningXXX = distance.ST-STATIONID.evt_strike
lightningYYY = energy.ST-STATIONID.evt_strike

Where STATIONID is obviously the ID of my station!!

-- 
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/4e97953f-339b-4fa8-9ac9-8b9d81e84abdn%40googlegroups.com.


[weewx-user] No DB or reports update

2024-04-21 Thread John Walker
Hi,
Amid some updates and other problem solving I now have no updates happening 
to the database nor the /var/www/html/weewx reports.
I could have butchered the config it a bit - is there a safe (retaining 
database) way to reinstall? Weewx.conf and syslog excerpt below.
Thanks,
JW


*WEEWX.CONF (first couple sections)*

# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2021 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 5.0.2

##


*SYSLOG EXCERPT*

Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.engine.StdTimeSynch
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdTimeSynch
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.engine.StdConvert
Apr 21 11:46:10 sparta weewxd[429125]: INFO weewx.engine: StdConvert target 
unit is 0x1
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdConvert
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.engine.StdCalibrate
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdCalibrate
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.engine.StdQC
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdQC
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.wxservices.StdWXCalculate
Apr 21 11:46:10 sparta weewxd[429125]: INFO weewx.wxservices: 
StdWXCalculate will use data binding wx_binding
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.manager: Daily summary 
version is 4.0
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.wxservices.StdWXCalculate
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
user.csv.CSV
Apr 21 11:46:10 sparta weewxd[429125]: INFO user.csv: service version is 
0.11
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service user.csv.CSV
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
user.ws.WsWXCalculate
Apr 21 11:46:10 sparta weewxd[429125]: INFO user.ws: WsWXCalculate version 
0.1.4
Apr 21 11:46:10 sparta weewxd[429125]: INFO user.ws: WsWXCalculate sunshine 
threshold: 120
Apr 21 11:46:10 sparta weewxd[429125]: INFO user.ws: pyephem was detected
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service user.ws.WsWXCalculate
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
user.mem.MemoryMonitor
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.manager: Daily summary 
version is 4.0
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service user.mem.MemoryMonitor
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdWXXTypes
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.wxxtypes.StdWXXTypes
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdPressureCooker
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.wxxtypes.StdPressureCooker
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdRainRater
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.wxxtypes.StdRainRater
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdDelta
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service weewx.wxxtypes.StdDelta
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
user.wsxtypes.StdWSXTypes
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Finished loading 
service user.wsxtypes.StdWSXTypes
Apr 21 11:46:10 sparta weewxd[429125]: DEBUG weewx.engine: Loading service 
weewx.engine.StdArchive
Apr 21 11:46:10 sparta weewxd[429125]: INFO weewx.engine: Archive will use 
data binding wx_binding
Apr 21 11:46:10 sparta weewxd[429125]: INFO weewx.engine: Record generation 
will be attempted in 'hardware'
Apr 21 11:46:10 sparta weewxd[429125]: INFO weewx.engine: Using archive 
interval of 300 seconds (specified 

Re: [weewx-user] Missing observations - wind & rain

2024-04-21 Thread John Walker
Hi - thanks Tom for the pointer. Turns out the recently enabled firewall on 
my server caused the problem.
For anyone that has similar 
issues: https://github.com/michael-slx/weewx-weatherlink-live/issues/43
Thanks,
JW

On Friday, April 19, 2024 at 8:22:36 AM UTC-4 Tom Keffer wrote:

> You might have better luck contacting the author of the extension.
>
> On Fri, Apr 19, 2024 at 4:59 AM John Walker  wrote:
>
>> Hi - would anyone have suggestions on where I could further to try and 
>> solve the below problem? I can't find anything in documentation that 
>> relates to the "not a broadcast packet" error.
>> Many thanks,
>> JW
>>
>> On Sat, Apr 13, 2024 at 2:02 PM John Walker  wrote:
>>
>>> Hi, a few days ago I started to lose wind speed, wind direction and rain 
>>> data. Everything else is coming through ok and the charts are all updating 
>>> fine. But the wind and rain ones are blank after a certain point. Syslog 
>>> excerpt at bottom, I did find some rows indicating 'not a broadcast packet' 
>>> and 'not in record' applying to wind/rain.
>>>
>>> About the time I started to lose the data I was installing another 
>>> server application, not related to weewx. Weewx is the latest version (see 
>>> below). And I just updated the weatherlink driver today (and before the log 
>>> file excerpt below) - it was fairly recent anyway, think beginning Feb on 
>>> last update.
>>>
>>> Any pointers on how to solve this? Possibly an issue at the device head 
>>> (which is remote)?
>>>
>>> Thanks - JW
>>>
>>> weewx:
>>>   Installed: 4.9.1-1
>>>   Candidate: 4.9.1-1
>>>   Version table:
>>>  *** 4.9.1-1 100
>>> 100 /var/lib/dpkg/status
>>>
>>> *SYSLOG (debug set to 1):*
>>>
>>> Apr 13 13:52:54 sparta weewx[96085] DEBUG 
>>> user.weatherlink_live.scheduler: 100 scheduler ticks until next push refresh
>>> Apr 13 13:52:54 sparta weewx[96085] DEBUG 
>>> user.weatherlink_live.scheduler: Next scheduler tick at 2024-04-13 17:53:04 
>>> Z
>>> Apr 13 13:52:55 sparta weewx[96085] WARNING 
>>> user.weatherlink_live.driver: No data since 1 iterations
>>> Apr 13 13:52:55 sparta weewx[96085] DEBUG user.weatherlink_live.driver: 
>>> Waiting for new packet
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG 
>>> user.weatherlink_live.scheduler: Scheduler tick
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG 
>>> user.weatherlink_live.scheduler: Notifying poll callback
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG urllib3.connectionpool: 
>>> Starting new HTTP connection (1): 192.168.1.6:80
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG urllib3.connectionpool: 
>>> http://192.168.1.6:80 "GET /v1/current_conditions HTTP/1.1" 200 None
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.packets: 
>>> Trying to create HTTP conditions packet
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG 
>>> user.weatherlink_live.data_host: Polled current conditions
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
>>> THMapping['1']: Mapped: outTemp=47.6
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
>>> THMapping['1']: Mapped: outHumidity=69.3
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
>>> THMapping['1']: Mapped: dewpoint=38.0
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
>>> THMapping['1']: Mapped: heatindex=47.5
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
>>> THMapping['1']: Mapped: wetbulb=42.3
>>>
>>>
>>> *Apr 13 13:53:00 sparta weewx[96085] DEBUG 
>>> user.weatherlink_live.mappers: RainMapping['1']: Mapping not responsible: 
>>> Not a broadcast packetApr 13 13:53:00 sparta weewx[96085] DEBUG 
>>> user.weatherlink_live.mappers: WindMapping['1']: Mapping not responsible: 
>>> Not a broadcast packet*Apr 13 13:53:00 sparta weewx[96085] DEBUG 
>>> user.weatherlink_live.mappers: WindChillMapping['1']: Mapped: windchill=47.0
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
>>> ThwMapping['1', 'appTemp']: Mapped: thw=46.9
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
>>> ThwMapping['1', 'appTemp']: Mapped: appTemp=46.9
>>> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
>>> TH

Re: [weewx-user] Missing observations - wind & rain

2024-04-19 Thread John Walker
Hi - would anyone have suggestions on where I could further to try and
solve the below problem? I can't find anything in documentation that
relates to the "not a broadcast packet" error.
Many thanks,
JW

On Sat, Apr 13, 2024 at 2:02 PM John Walker  wrote:

> Hi, a few days ago I started to lose wind speed, wind direction and rain
> data. Everything else is coming through ok and the charts are all updating
> fine. But the wind and rain ones are blank after a certain point. Syslog
> excerpt at bottom, I did find some rows indicating 'not a broadcast packet'
> and 'not in record' applying to wind/rain.
>
> About the time I started to lose the data I was installing another server
> application, not related to weewx. Weewx is the latest version (see below).
> And I just updated the weatherlink driver today (and before the log file
> excerpt below) - it was fairly recent anyway, think beginning Feb on last
> update.
>
> Any pointers on how to solve this? Possibly an issue at the device head
> (which is remote)?
>
> Thanks - JW
>
> weewx:
>   Installed: 4.9.1-1
>   Candidate: 4.9.1-1
>   Version table:
>  *** 4.9.1-1 100
> 100 /var/lib/dpkg/status
>
> *SYSLOG (debug set to 1):*
>
> Apr 13 13:52:54 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler:
> 100 scheduler ticks until next push refresh
> Apr 13 13:52:54 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler:
> Next scheduler tick at 2024-04-13 17:53:04 Z
> Apr 13 13:52:55 sparta weewx[96085] WARNING user.weatherlink_live.driver:
> No data since 1 iterations
> Apr 13 13:52:55 sparta weewx[96085] DEBUG user.weatherlink_live.driver:
> Waiting for new packet
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler:
> Scheduler tick
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler:
> Notifying poll callback
> Apr 13 13:53:00 sparta weewx[96085] DEBUG urllib3.connectionpool: Starting
> new HTTP connection (1): 192.168.1.6:80
> Apr 13 13:53:00 sparta weewx[96085] DEBUG urllib3.connectionpool:
> http://192.168.1.6:80 "GET /v1/current_conditions HTTP/1.1" 200 None
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.packets:
> Trying to create HTTP conditions packet
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.data_host:
> Polled current conditions
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THMapping['1']: Mapped: outTemp=47.6
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THMapping['1']: Mapped: outHumidity=69.3
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THMapping['1']: Mapped: dewpoint=38.0
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THMapping['1']: Mapped: heatindex=47.5
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THMapping['1']: Mapped: wetbulb=42.3
>
>
> *Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> RainMapping['1']: Mapping not responsible: Not a broadcast packetApr 13
> 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> WindMapping['1']: Mapping not responsible: Not a broadcast packet*Apr 13
> 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> WindChillMapping['1']: Mapped: windchill=47.0
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> ThwMapping['1', 'appTemp']: Mapped: thw=46.9
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> ThwMapping['1', 'appTemp']: Mapped: appTemp=46.9
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THIndoorMapping: Mapped: inTemp=68.1
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THIndoorMapping: Mapped: inHumidity=40.3
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THIndoorMapping: Mapped: inDewpoint=43.1
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> THIndoorMapping: Mapped: inHeatindex=66.1
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> BaroMapping: Mapped: pressure=29.255
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> BaroMapping: Mapped: altimeter=29.549
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers:
> BatteryStatusMapping['1']: Mapped: batteryStatus1=0
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler:
> 113 scheduler ticks until next push refresh
> Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler:
> Next scheduler tick at 2024-04-13 17:53:10 Z
> Apr 13 13:53:00 sparta weewx[96085] INFO user.weatherlink_live.driver

[weewx-user] Missing observations - wind & rain

2024-04-13 Thread John Walker
Hi, a few days ago I started to lose wind speed, wind direction and rain 
data. Everything else is coming through ok and the charts are all updating 
fine. But the wind and rain ones are blank after a certain point. Syslog 
excerpt at bottom, I did find some rows indicating 'not a broadcast packet' 
and 'not in record' applying to wind/rain.

About the time I started to lose the data I was installing another server 
application, not related to weewx. Weewx is the latest version (see below). 
And I just updated the weatherlink driver today (and before the log file 
excerpt below) - it was fairly recent anyway, think beginning Feb on last 
update.

Any pointers on how to solve this? Possibly an issue at the device head 
(which is remote)?

Thanks - JW

weewx:
  Installed: 4.9.1-1
  Candidate: 4.9.1-1
  Version table:
 *** 4.9.1-1 100
100 /var/lib/dpkg/status

*SYSLOG (debug set to 1):*

Apr 13 13:52:54 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler: 
100 scheduler ticks until next push refresh
Apr 13 13:52:54 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler: 
Next scheduler tick at 2024-04-13 17:53:04 Z
Apr 13 13:52:55 sparta weewx[96085] WARNING user.weatherlink_live.driver: 
No data since 1 iterations
Apr 13 13:52:55 sparta weewx[96085] DEBUG user.weatherlink_live.driver: 
Waiting for new packet
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler: 
Scheduler tick
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler: 
Notifying poll callback
Apr 13 13:53:00 sparta weewx[96085] DEBUG urllib3.connectionpool: Starting 
new HTTP connection (1): 192.168.1.6:80
Apr 13 13:53:00 sparta weewx[96085] DEBUG urllib3.connectionpool: 
http://192.168.1.6:80 "GET /v1/current_conditions HTTP/1.1" 200 None
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.packets: 
Trying to create HTTP conditions packet
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.data_host: 
Polled current conditions
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THMapping['1']: Mapped: outTemp=47.6
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THMapping['1']: Mapped: outHumidity=69.3
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THMapping['1']: Mapped: dewpoint=38.0
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THMapping['1']: Mapped: heatindex=47.5
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THMapping['1']: Mapped: wetbulb=42.3


*Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
RainMapping['1']: Mapping not responsible: Not a broadcast packetApr 13 
13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
WindMapping['1']: Mapping not responsible: Not a broadcast packet*Apr 13 
13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
WindChillMapping['1']: Mapped: windchill=47.0
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
ThwMapping['1', 'appTemp']: Mapped: thw=46.9
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
ThwMapping['1', 'appTemp']: Mapped: appTemp=46.9
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THIndoorMapping: Mapped: inTemp=68.1
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THIndoorMapping: Mapped: inHumidity=40.3
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THIndoorMapping: Mapped: inDewpoint=43.1
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
THIndoorMapping: Mapped: inHeatindex=66.1
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
BaroMapping: Mapped: pressure=29.255
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
BaroMapping: Mapped: altimeter=29.549
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.mappers: 
BatteryStatusMapping['1']: Mapped: batteryStatus1=0
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler: 
113 scheduler ticks until next push refresh
Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.scheduler: 
Next scheduler tick at 2024-04-13 17:53:10 Z
Apr 13 13:53:00 sparta weewx[96085] INFO user.weatherlink_live.driver: 
Emitting poll packet
*Apr 13 13:53:00 sparta weewx[96085] DEBUG user.weatherlink_live.service: 
WllWindGustService: Wind observations windSpeed:windDir not in record*

-- 
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/e7dbd772-a3ba-4ab9-b8ae-cf3ad6b3308dn%40googlegroups.com.


Re: [weewx-user] Re: Exclude list or Overwrite behaviour for RSync Report

2024-04-02 Thread 'John Kline' via weewx-user
The reason to have backward compatibility would be to not break people on a point release. On Apr 2, 2024, at 6:35 PM, vince  wrote:Agree that one way to do it would be ideal, unless there are backward compatibility reasons to leave the current switches 'also' valid.  I guess it would be possible to tear apart a hypothetical rsync_options="whatever here" string to not break folks, but I didn't want to write the code this time, just suggest where it might be doable to at least think about as a feature addition.On Tuesday, April 2, 2024 at 4:08:26 PM UTC-7 John Kline wrote:The problem with an rsync_options (similar to the existing ssh_options) is that the code already has rsync options specified individually (e.g., delete and compress).  It would be messy to have two ways to specify delete and compress.It might be best to add an explicit exclude option.  BTW, exclude can be specified multiple times, so the value should be an array.On Apr 2, 2024, at 11:56 AM, Chris Alemany <chri...@gmail.com> wrote:Hmm, both strategies have advantages. It'd be great if weewx had the ability to add in rsync options so that if you just wanted to do a single thing, exclude a directory, or maybe conform to a specific non-standard setting on the remote host, then you can easily do that in weewx.The extension is nice to have to create a full suite of rsync options so people can use it to backup stuff, move stuff, etc.I've created a GitHub issue/requesthttps://github.com/weewx/weewx/issues/951Thanks to you both.ChrisOn Tuesday, April 2, 2024 at 8:30:30 AM UTC-7 vince wrote:Seems complicated.  I was suggesting something like adding a general purpose 'rsync_options' variable in that section of weewx.conf, and adding the value  to the assembled rsync command in the run(self) routine in rsyncupload.py ?     Then the user could add any combination of the rsync options to the command if needed.   Perhaps something like the following (untested):pi@pi4:/tmp$ diff rsyncupload.py.orig rsyncupload.py -u--- rsyncupload.py.orig	2024-04-02 08:18:48.311469290 -0700+++ rsyncupload.py	2024-04-02 08:19:57.970078706 -0700@@ -46,6 +46,7 @@         self.delete = delete         self.port = port         self.ssh_options = ssh_options+        self.rsync_options = rsync_options   # <== new         self.compress = compress         self.log_success = log_success         self.log_failure = log_failure@@ -96,6 +97,7 @@         if self.timeout is not None:             cmd.extend(["--timeout=%s" % self.timeout])         cmd.extend(["-e"])+        cmd.extend([rsync_options])    # <=== new         cmd.extend([rsyncsshstring])         cmd.extend([rsynclocalspec])         cmd.extend([rsyncremotespec])And add a rsync_options = "whatever you want here" to the [[RSYNC]] section in weewx.conf ala:   [[RSYNC]]        delete = 0        skin = Rsync        enable = true        server = x.x.x.x         user = myremoteuser        path = /my/remote/path/here        log_success = true        log_failure = true        rsync_options = "-x -y -z whatever"       # <=== newDisclaimer - totally untested and no idea if there are security risks of doing it this way, but it would seem to be about as flexible as you can get toward supporting whatever rsync options the underlying os supports with a minimum of change to the existing uploaderOn Tuesday, April 2, 2024 at 1:17:58 AM UTC-7 Glenn McKechnie wrote:On Tue, 2 Apr 2024 at 15:00, Chris Alemany <chri...@gmail.com> wrote:Thanks for the hints Vince. I ended up looking through the old Wiki and came upon this page about backing up databases with the rsync report and how you can spit rsync into multiple skins.https://github.com/weewx/weewx/wiki/Using-the-RSYNC-skin-as-a-backup-solutionThat was a good solution for a while, until - like you - I wanted more.I eventually pulled the rsyncupload.py code from the main tree and stuffed it into a skin.The following was written a while ago. I still use it as is, but it's rough and untidy.  Really does need a clean up but I haven't and still don't have the time do that, so you get it warts and all...https://github.com/glennmckechnie/weewx-rsynctransferIt should install  *Gulp*, it should be self explanatory *Gulp* There are plenty of notes and examples in it that show it can handle the additional rsync command line options.my email address is in the code, there's the  issues tab on github and I always read this group.Cheers GlennVarious WeeWx addons athttps://github.com/glennmckechnie




-- 
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0d2bbda5-dc2c-4075-bcae-44b6b4c01063n%40googlegroups.com.




-- 
You received this message because you are subscribed to the Go

Re: [weewx-user] Re: Exclude list or Overwrite behaviour for RSync Report

2024-04-02 Thread 'John Kline' via weewx-user
I should add that the way I solved this problem is to put the files outside of the reporting path (/home/weewx/public_html for me).  In that way, they aren’t swept up in the rsync report.On Apr 2, 2024, at 6:08 PM, John Kline  wrote:The problem with an rsync_options (similar to the existing ssh_options) is that the code already has rsync options specified individually (e.g., delete and compress).  It would be messy to have two ways to specify delete and compress.It might be best to add an explicit exclude option.  BTW, exclude can be specified multiple times, so the value should be an array.On Apr 2, 2024, at 11:56 AM, Chris Alemany  wrote:Hmm, both strategies have advantages. It'd be great if weewx had the ability to add in rsync options so that if you just wanted to do a single thing, exclude a directory, or maybe conform to a specific non-standard setting on the remote host, then you can easily do that in weewx.The extension is nice to have to create a full suite of rsync options so people can use it to backup stuff, move stuff, etc.I've created a GitHub issue/requesthttps://github.com/weewx/weewx/issues/951Thanks to you both.ChrisOn Tuesday, April 2, 2024 at 8:30:30 AM UTC-7 vince wrote:Seems complicated.  I was suggesting something like adding a general purpose 'rsync_options' variable in that section of weewx.conf, and adding the value  to the assembled rsync command in the run(self) routine in rsyncupload.py ?     Then the user could add any combination of the rsync options to the command if needed.   Perhaps something like the following (untested):pi@pi4:/tmp$ diff rsyncupload.py.orig rsyncupload.py -u--- rsyncupload.py.orig	2024-04-02 08:18:48.311469290 -0700+++ rsyncupload.py	2024-04-02 08:19:57.970078706 -0700@@ -46,6 +46,7 @@         self.delete = delete         self.port = port         self.ssh_options = ssh_options+        self.rsync_options = rsync_options   # <== new         self.compress = compress         self.log_success = log_success         self.log_failure = log_failure@@ -96,6 +97,7 @@         if self.timeout is not None:             cmd.extend(["--timeout=%s" % self.timeout])         cmd.extend(["-e"])+        cmd.extend([rsync_options])    # <=== new         cmd.extend([rsyncsshstring])         cmd.extend([rsynclocalspec])         cmd.extend([rsyncremotespec])And add a rsync_options = "whatever you want here" to the [[RSYNC]] section in weewx.conf ala:   [[RSYNC]]        delete = 0        skin = Rsync        enable = true        server = x.x.x.x         user = myremoteuser        path = /my/remote/path/here        log_success = true        log_failure = true        rsync_options = "-x -y -z whatever"       # <=== newDisclaimer - totally untested and no idea if there are security risks of doing it this way, but it would seem to be about as flexible as you can get toward supporting whatever rsync options the underlying os supports with a minimum of change to the existing uploaderOn Tuesday, April 2, 2024 at 1:17:58 AM UTC-7 Glenn McKechnie wrote:On Tue, 2 Apr 2024 at 15:00, Chris Alemany <chri...@gmail.com> wrote:Thanks for the hints Vince. I ended up looking through the old Wiki and came upon this page about backing up databases with the rsync report and how you can spit rsync into multiple skins.https://github.com/weewx/weewx/wiki/Using-the-RSYNC-skin-as-a-backup-solutionThat was a good solution for a while, until - like you - I wanted more.I eventually pulled the rsyncupload.py code from the main tree and stuffed it into a skin.The following was written a while ago. I still use it as is, but it's rough and untidy.  Really does need a clean up but I haven't and still don't have the time do that, so you get it warts and all...https://github.com/glennmckechnie/weewx-rsynctransferIt should install  *Gulp*, it should be self explanatory *Gulp* There are plenty of notes and examples in it that show it can handle the additional rsync command line options.my email address is in the code, there's the  issues tab on github and I always read this group.Cheers GlennVarious WeeWx addons athttps://github.com/glennmckechnie




-- 
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/0d2bbda5-dc2c-4075-bcae-44b6b4c01063n%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/5152BA43-B4F4-4620-891D-96D1F4ACE54E%40johnkline.com.


Re: [weewx-user] Re: Exclude list or Overwrite behaviour for RSync Report

2024-04-02 Thread 'John Kline' via weewx-user
The problem with an rsync_options (similar to the existing ssh_options) is that the code already has rsync options specified individually (e.g., delete and compress).  It would be messy to have two ways to specify delete and compress.It might be best to add an explicit exclude option.  BTW, exclude can be specified multiple times, so the value should be an array.On Apr 2, 2024, at 11:56 AM, Chris Alemany  wrote:Hmm, both strategies have advantages. It'd be great if weewx had the ability to add in rsync options so that if you just wanted to do a single thing, exclude a directory, or maybe conform to a specific non-standard setting on the remote host, then you can easily do that in weewx.The extension is nice to have to create a full suite of rsync options so people can use it to backup stuff, move stuff, etc.I've created a GitHub issue/requesthttps://github.com/weewx/weewx/issues/951Thanks to you both.ChrisOn Tuesday, April 2, 2024 at 8:30:30 AM UTC-7 vince wrote:Seems complicated.  I was suggesting something like adding a general purpose 'rsync_options' variable in that section of weewx.conf, and adding the value  to the assembled rsync command in the run(self) routine in rsyncupload.py ?     Then the user could add any combination of the rsync options to the command if needed.   Perhaps something like the following (untested):pi@pi4:/tmp$ diff rsyncupload.py.orig rsyncupload.py -u--- rsyncupload.py.orig	2024-04-02 08:18:48.311469290 -0700+++ rsyncupload.py	2024-04-02 08:19:57.970078706 -0700@@ -46,6 +46,7 @@         self.delete = delete         self.port = port         self.ssh_options = ssh_options+        self.rsync_options = rsync_options   # <== new         self.compress = compress         self.log_success = log_success         self.log_failure = log_failure@@ -96,6 +97,7 @@         if self.timeout is not None:             cmd.extend(["--timeout=%s" % self.timeout])         cmd.extend(["-e"])+        cmd.extend([rsync_options])    # <=== new         cmd.extend([rsyncsshstring])         cmd.extend([rsynclocalspec])         cmd.extend([rsyncremotespec])And add a rsync_options = "whatever you want here" to the [[RSYNC]] section in weewx.conf ala:   [[RSYNC]]        delete = 0        skin = Rsync        enable = true        server = x.x.x.x         user = myremoteuser        path = /my/remote/path/here        log_success = true        log_failure = true        rsync_options = "-x -y -z whatever"       # <=== newDisclaimer - totally untested and no idea if there are security risks of doing it this way, but it would seem to be about as flexible as you can get toward supporting whatever rsync options the underlying os supports with a minimum of change to the existing uploaderOn Tuesday, April 2, 2024 at 1:17:58 AM UTC-7 Glenn McKechnie wrote:On Tue, 2 Apr 2024 at 15:00, Chris Alemany  wrote:Thanks for the hints Vince. I ended up looking through the old Wiki and came upon this page about backing up databases with the rsync report and how you can spit rsync into multiple skins.https://github.com/weewx/weewx/wiki/Using-the-RSYNC-skin-as-a-backup-solutionThat was a good solution for a while, until - like you - I wanted more.I eventually pulled the rsyncupload.py code from the main tree and stuffed it into a skin.The following was written a while ago. I still use it as is, but it's rough and untidy.  Really does need a clean up but I haven't and still don't have the time do that, so you get it warts and all...https://github.com/glennmckechnie/weewx-rsynctransferIt should install  *Gulp*, it should be self explanatory *Gulp* There are plenty of notes and examples in it that show it can handle the additional rsync command line options.my email address is in the code, there's the  issues tab on github and I always read this group.Cheers GlennVarious WeeWx addons athttps://github.com/glennmckechnie




-- 
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/0d2bbda5-dc2c-4075-bcae-44b6b4c01063n%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/AE72C34C-BB70-4EDE-83CD-03BF9877BA24%40johnkline.com.


Re: [weewx-user] Re: Change to daylight saving time stops data update

2024-04-01 Thread 'John Kline' via weewx-user
> If the key is to not mess with the console time near the DST boundary, why not just arrange for> clock synchronization to only happen once a day at noon?It is not the key.  You have to get unlucky to check the time during the window.  The main problem is when time is set back one hour (leaving DST).  I’ve found the archive record code creating a timestamp from Vantage time gets it wrong in the “fall back” hour—thinking we’re still in DST, thus getting duplicates when trying to insert archive records.On Apr 1, 2024, at 11:02 AM, Tom Keffer  wrote:If the key is to not mess with the console time near the DST boundary, why not just arrange for clock synchronization to only happen once a day at noon?On Monday, April 1, 2024 at 6:34:46 AM UTC-7 jo...@johnkline.com wrote:I’ve successfully fixed the time change issue on a fork of the vantage driver:chaunceygardiner/weewx-vantagenext: VantageNext is a WeeWX driver based on the Vantage driver that ships with WeeWX.github.comIt assumes a one hour change for daylight savings and one is required to enter DST enter and exit times in the VantageNext section of weewx.conf.During the time change window, set time is a no-op (since one cannot specify whether the time is in DST or not).  Also, during the window, get time will auto correct if the time is about 1 hour off.  Lastly, when the driver converts the archive records time, it is auto-adjusted if about an hour off.I don’t recommend switching to this driver as the vantage driver in weewx is better supported; but perhaps a similar approach could be taken.  It is tricky because it is hard to test this stuff. On Apr 1, 2024, at 8:00 AM, Simon Duane  wrote:From what I've read, it involves an interaction between a Weewx service which adjusts the VP2 console clock to eliminate drift  - by default, it checks every 5 hours and applies the correction when the error is bigger than 5 seconds. I would suggest that if the error is close to 1 hour rather than a little more than 5 seconds, then the correction should simply not be applied, because of the risk of this happening. Fixing it on the next cycle will be good enough.It happened to my Weewx v 4.9.1 + VP2 (for the first time) yesterday too and, because I have that archive parameter set to hardware, clearing the datalogger memory meant I lost about a day's data.On Sunday 31 March 2024 at 23:56:23 UTC+1 Stephen wrote:I have two Davis Vantage Pro 2 weather stations at different locations. Both stations stopped updating their web pages at 2.00am last night, the moment daylight saving started.I'm running Weewx v5.0.1 at both locations.  Both Vantage Pro2 consoles are configured to automatically change to DST.There is an old thread from 2017 about this problem here https://groups.google.com/g/weewx-user/c/rM2IDREAWiI/m/oloGcj7aAAAJ.Taking the advice in that thread I've got one of the stations working again by executing  weectl device --dump.  I've left the other station as it is at the moment.This has never happened before, but I wasn't running v5.0.1 this time last year.Any idea what's going on?



-- 
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/09e0d95f-ec44-4782-989f-d4ef3217ddadn%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/241ad3cb-213d-44d3-937a-bea2dabbb441n%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/EB142EE0-83B8-43DF-A251-5574AC3EACDC%40johnkline.com.


Re: [weewx-user] weewx-purple error: no fresh concentrations to insert

2024-03-27 Thread 'John Kline' via weewx-user
I’ve released purple v3.9.1.  It considers readings stale at the max of 120s and 3 * poll_secs.You can put your poll_secs back to 120 after you install v3.9.1.On Mar 27, 2024, at 3:29 PM, John Kline  wrote:It’s your long poll interval interacting with my check to see how fresh the concentration is.  Change poll_secs in the Purple section of weewx.conf to something shorter.  Let’s try 30s and report back.In the meantime, I’ll look to change the check for freshness.  It doesn’t interact well with 120s poll interval.On Mar 27, 2024, at 3:15 PM, Charlie Fortner  wrote:ProblemI'm getting  Found no fresh concentrations to insert errors thrown by weewx-purple and the data is spotty:Did I change anything? I don't think so. It was working for months and months and then it seems to have stopped. I rebooted the purple air sensor several times.I'm fairly certain that the connection to the purple air sensor is OK. My home assistant reads from the same sensor and its data is continuous.SystemWeewx 4.10 running on a Debian VMWith weewx-purple extension version 3.9PurpleAir PA II Flex sensorThe log is attached.The pertinent section of weewx.config:[Purple]    poll_secs = 120    [[Proxy1]]    enable = False    hostname = proxy1    port = 8000    timeout = 5    [[Proxy2]]    enable = False    hostname = proxy2    port = 8000    timeout = 5    [[Proxy3]]    enable = False    hostname = proxy3    port = 8000    timeout = 5    [[Proxy4]]    enable = False    hostname = proxy4    port = 8000    timeout = 5    [[Sensor1]]    enable = True hostname = purpleair-c2a3.lan    #hostname = 192.168.2.173    port = 80    timeout = 10    [[Sensor2]]    enable = False    hostname = purple-air2    port = 80    timeout = 66I'd welcome any ideas about what's going on here.Charlie-- Atlanta, GA



-- 
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/d28d830d-a63e-441f-a34d-f8a0266f5ce9%40app.fastmail.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/8BAC26C6-47B7-458F-ABAD-20AD7416EC38%40johnkline.com.


Re: [weewx-user] weewx-purple error: no fresh concentrations to insert

2024-03-27 Thread 'John Kline' via weewx-user
It’s your long poll interval interacting with my check to see how fresh the concentration is.  Change poll_secs in the Purple section of weewx.conf to something shorter.  Let’s try 30s and report back.In the meantime, I’ll look to change the check for freshness.  It doesn’t interact well with 120s poll interval.On Mar 27, 2024, at 3:15 PM, Charlie Fortner  wrote:ProblemI'm getting  Found no fresh concentrations to insert errors thrown by weewx-purple and the data is spotty:Did I change anything? I don't think so. It was working for months and months and then it seems to have stopped. I rebooted the purple air sensor several times.I'm fairly certain that the connection to the purple air sensor is OK. My home assistant reads from the same sensor and its data is continuous.SystemWeewx 4.10 running on a Debian VMWith weewx-purple extension version 3.9PurpleAir PA II Flex sensorThe log is attached.The pertinent section of weewx.config:[Purple]    poll_secs = 120    [[Proxy1]]    enable = False    hostname = proxy1    port = 8000    timeout = 5    [[Proxy2]]    enable = False    hostname = proxy2    port = 8000    timeout = 5    [[Proxy3]]    enable = False    hostname = proxy3    port = 8000    timeout = 5    [[Proxy4]]    enable = False    hostname = proxy4    port = 8000    timeout = 5    [[Sensor1]]    enable = True hostname = purpleair-c2a3.lan    #hostname = 192.168.2.173    port = 80    timeout = 10    [[Sensor2]]    enable = False    hostname = purple-air2    port = 80    timeout = 66I'd welcome any ideas about what's going on here.Charlie-- Atlanta, GA



-- 
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/d28d830d-a63e-441f-a34d-f8a0266f5ce9%40app.fastmail.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/494CA903-AD6E-4C28-BB5D-E5B87F3525F3%40johnkline.com.


[weewx-user] Re: Weewx install error

2024-03-25 Thread John Lowry
Thanks !
(sheepish look, operator malfunction...)


On Monday, March 25, 2024 at 2:16:03 PM UTC-4 vince wrote:

> Lets see the snippet for longitude from weewx.conf please...
>
> On Monday, March 25, 2024 at 10:47:04 AM UTC-7 John Lowry wrote:
>
>> Converting string to float in install.
>>
>> HW: RPI5
>> SW: error on both RaspOS (bookworm) and Ubuntu
>>
>> During install, the user is prompted for lat/long of the weather 
>> station.  
>> The installation fails with the following error output:
>>
>> File "/usr/share/weewx/weectllib/station_actions.py", line 205, in 
>> config_config
>> config_latlon(config_dict, latitude=latitude, longitude=longitude, 
>> no_prompt=no_prompt)
>>   File "/usr/share/weewx/weectllib/station_actions.py", line 345, in 
>> config_latlon
>> config_dict['Station']['longitude'] = float(final_longitude)
>>   ^^
>> ValueError: could not convert string to float: '0.00048.830545'
>>
>> The value I entered was 48.830545, not 0.000etc
>>
>> Any suggestions highly 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/c94ae67a-b8ab-4591-8919-6b16f6397c7cn%40googlegroups.com.


[weewx-user] Weewx install error

2024-03-25 Thread John Lowry
Converting string to float in install.

HW: RPI5
SW: error on both RaspOS (bookworm) and Ubuntu

During install, the user is prompted for lat/long of the weather station.  
The installation fails with the following error output:

File "/usr/share/weewx/weectllib/station_actions.py", line 205, in 
config_config
config_latlon(config_dict, latitude=latitude, longitude=longitude, 
no_prompt=no_prompt)
  File "/usr/share/weewx/weectllib/station_actions.py", line 345, in 
config_latlon
config_dict['Station']['longitude'] = float(final_longitude)
  ^^
ValueError: could not convert string to float: '0.00048.830545'

The value I entered was 48.830545, not 0.000etc

Any suggestions highly 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/6f7130de-387f-42c0-a322-8bf86cd02941n%40googlegroups.com.


Re: [weewx-user] v5 pip - interceptor in sniff mode permissions question

2024-03-20 Thread John Smith
I dont know why weewx isnt started as root and once up and running drop
privledges. Itd solve a number of these issues.

On Thu, 21 Mar 2024, 06:46 vince,  wrote:

> I'm fiddling around trying to learn interceptor and how to set it up for
> v5 and have it at least listening without errors as user 'pi' as long as
> I'm listening on an unprivileged port.
>
> But 'sniff' mode requires being able to get into promiscuous mode it seems
> and then I'm hitting permission issues. I use the 'pip' installation for
> weewx but I'd expect the dpkg would have the same issues since weewx now
> runs unprivileged.
>
> I did find some cryptic google hits suggesting that I can give the python
> interpreter permission to do so ala "sudo setcap cap_net_raw+eip
> /usr/bin/python3.11"  which seems to permit weewxd to sniff for packets,
> but that seems like a security risk isn't it ?
>
> Is there a preferred way to get the unprivileged weewxd user the ability
> to sniff for packets if you have to run interceptor in that mode ???
>
> My pip3 list includes:
>
> PackageVersion
> -- ---
> libpcap1.11.0b8
> pypcap 1.3.0
> (others omitted for brevity)
>
> My Interceptor stanza looks like:
> [Interceptor]
> # This section is for the network traffic interceptor driver.
>
> # The driver to use:
> driver = user.interceptor
>
> # Specify the hardware device to capture. Options include:
> #   acurite-bridge - acurite internet bridge, smarthub, or access
> #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
> #   lw30x - oregon scientific LW301/LW302
> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
> #   ecowitt-client - any hardware that uses the ecowitt protocol
> #   wu-client - any hardware that uses the weather underground protocol
> device_type = ecowitt-client
> iface = wlan0
>
> # listen
> #mode = listen
> #port = 8000
>
> # or sniff
>mode = sniff
>pcap_filter = src 192.168.1.201 and dst port 8001
>
> --
> 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/38403d42-3bb5-4003-9786-308c39309ec9n%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/CAGTinV4Kf7cOdwJfskLti91ArCUf%3DbPixynQN9aV9_t6y5qevA%40mail.gmail.com.


Re: [weewx-user] Fedora Weewx RPM install

2024-03-06 Thread John

Not withstanding all of that below Is there a weewx-5.0.2 source rpm (.srpm)
anywhere public?

I'm a Mageia user who's been installing the Fedora rpms for years (2009) 
without

having dependency issues and I'm keen to condition the tradition :-)

Cheers

John in NZ


On 7/03/24 04:32, Tom Keffer wrote:

See issue #940 <https://github.com/weewx/weewx/issues/940>.

On Wed, Mar 6, 2024 at 3:57 AM Mark Jenks  wrote:

Good morning!

I was going to do PIP for the new 5.x install, instead of using
the setup.py like I have for years.
Then I saw the RPM, and figured I was take a look at that, except
the rpm doesn't work for Fedora.
Fedora is not Enterprise Linux, so you can not install EPEL-Repo
for it, but all packages that are in the EPEL, are already avail
for Fedora.

Looking at the RPM, epel-release is a dependency which is required
by the RPM.  So either you create a new RPM for Fedora only, or
the dependency needs to be removed.

-Mark

#
dnf install weewx
Last metadata expiration check: 0:25:37 ago on Wed 06 Mar 2024
05:30:57 AM CST.
Dependencies resolved.

 Problem: cannot install the best candidate for the job
  - nothing provides epel-release needed by
weewx-5.0.2-1.el9.noarch from weewx


rpm -qpR weewx-5.0.2-1.el9.noarch.rpm
/bin/sh
/bin/sh
/bin/sh
/usr/bin/getent
/usr/sbin/groupadd
/usr/sbin/useradd
*epel-release*
python3
python3-cheetah
python3-configobj
python3-pillow
python3-pyserial
python3-pyusb
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
-- 
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/b8af8921-dcb7-4bfa-9e21-dfdbfb26682cn%40googlegroups.com

<https://groups.google.com/d/msgid/weewx-user/b8af8921-dcb7-4bfa-9e21-dfdbfb26682cn%40googlegroups.com?utm_medium=email_source=footer>.

--
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/CAPq0zEAf7aEay_sUddjZeR-wMwrL5BR5T0N%3DfLfiyo7Dnhy7fQ%40mail.gmail.com 
<https://groups.google.com/d/msgid/weewx-user/CAPq0zEAf7aEay_sUddjZeR-wMwrL5BR5T0N%3DfLfiyo7Dnhy7fQ%40mail.gmail.com?utm_medium=email_source=footer>.


--
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/6ec8ffc2-52d1-4708-b970-3c67180797d8%40gmail.com.


Re: [weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread John Smith
Did you try running weewxd manually on the command line?

On Mon, 4 Mar 2024 at 01:27, Invisible Man 
wrote:

> I found partially why: the upgrade procedure didn't pick up my
> /etc/default/weewx, just did a backup and created a new one.
>
> WEEWX_PYTHON=python3
> WEEWX_BINDIR=/usr/share/weewx
> WEEWX_CFG=/etc/weewx/weewx.conf
> WEEWX_BIN=/usr/bin/weewxd
>
> And now it's a horror movie to debug the rest :( I wish I hadn't
> upgraded...
>
> On Sunday, March 3, 2024 at 3:09:27 PM UTC+1 Invisible Man wrote:
>
>> Ok, but I have very few logs using journalctl -u weewx.service, whereas I
>> used to have lots of debug logs.
>>
>> mars 03 14:47:39 vegan systemd[1]: Stopped LSB: weewx weather system.
>> mars 03 14:47:39 vegan systemd[1]: Starting LSB: weewx weather system...
>> mars 03 14:47:39 vegan systemd[1]: Started LSB: weewx weather system.
>>
>> And my weewx database used to be located in /home/weewx/archive/weewx.db.
>> And it looks like it hasn't been updated since. Something is wrong like
>> it's not using the correct configuration at all.
>>
>> /home/weewx/archive $ ls -lh weewx.sdb
>> -rw-r--r-- 1 weewx root 119M mars   3 14:30 weewx.sdb
>>
>> It's 15:00. Last update to weewx.sdb is 14:30. Impossible.
>>
>> On Sunday, March 3, 2024 at 3:05:31 PM UTC+1 John Smith wrote:
>>
>>> Logs were ditched in favour of journald because the weewx v5 no longer
>>> runs as root
>>>
>>> jounralctl -f -u weewx.service
>>>
>>> On Mon, 4 Mar 2024 at 01:01, Invisible Man  wrote:
>>>
>>>> I used to redirect the weewx logs which were normally going to
>>>> /var/log/syslog in /var/tmp/log/weewx.log using /etc/rsyslog.d
>>>>
>>>> :programname,isequal,"weewx" /var/tmp/log/weewx.log
>>>> :programname,isequal,"weewx" ~
>>>>
>>>> I upgraded to 5.0.2, asked to keep my personal old configuration, but
>>>> there are no longer any logs going to /var/tmp/log/weewx.log.
>>>> There is no /var/log/weewx either. And /var/log/syslog doesn't have
>>>> weewx logs.
>>>> I do have logs with journalctl -u weewx.
>>>>
>>>> Where are my logs??
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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+...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/weewx-user/9d507bdb-fb53-4808-a761-10288af5d8d4n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/weewx-user/9d507bdb-fb53-4808-a761-10288af5d8d4n%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
> 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/0ca14dff-9751-43a2-890d-faeb47502bd2n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/0ca14dff-9751-43a2-890d-faeb47502bd2n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAGTinV6kQ0r4cDQn_g%2BewMgKD2CnC7qdHipumyVzB241ePq63g%40mail.gmail.com.


Re: [weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread John Smith
Logs were ditched in favour of journald because the weewx v5 no longer runs
as root

jounralctl -f -u weewx.service

On Mon, 4 Mar 2024 at 01:01, Invisible Man 
wrote:

> I used to redirect the weewx logs which were normally going to
> /var/log/syslog in /var/tmp/log/weewx.log using /etc/rsyslog.d
>
> :programname,isequal,"weewx" /var/tmp/log/weewx.log
> :programname,isequal,"weewx" ~
>
> I upgraded to 5.0.2, asked to keep my personal old configuration, but
> there are no longer any logs going to /var/tmp/log/weewx.log.
> There is no /var/log/weewx either. And /var/log/syslog doesn't have weewx
> logs.
> I do have logs with journalctl -u weewx.
>
> Where are my logs??
>
>
>
>
>
> --
> 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/9d507bdb-fb53-4808-a761-10288af5d8d4n%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/CAGTinV7_17uYBwZrzZN3ZiyNfeyZnKgy%3DuaMih8kyp9zZRsK3Q%40mail.gmail.com.


Re: [weewx-user] Reinstalling weewx

2024-03-01 Thread John Smith
Pretty sure you can boot from usb on a rpi3b

https://www.instructables.com/Booting-Raspberry-Pi-3-B-With-a-USB-Drive/

On Sat, 2 Mar 2024 at 03:44, Bill Petheram 
wrote:

> Vantage Pro2 connected with USB.
>
> On Friday, March 1, 2024 at 4:38:21 PM UTC Tom Keffer wrote:
>
>> What kind of hardware?
>>
>> On Fri, Mar 1, 2024 at 8:36 AM Bill Petheram 
>> wrote:
>>
>>> I wasn't being clear.
>>>
>>> There is no way for preventing records being read from the hardware and
>>> so they get lost.
>>>
>>> I did ry not connecting the hardware but then weewx doesn't start
>>> properly.
>>>
>>> Bil
>>>
>>>
>>> On Sunday, February 25, 2024 at 9:51:00 PM UTC Neville Davis wrote:
>>>
 I have a Pi4 with external SSD and I did exactly what Tom has suggested
 without any problems.

 I have done this every time I have had a new hardware config to ensure
 all is well.

 Nev

 On Monday, February 26, 2024 at 1:02:08 AM UTC+10 Tom Keffer wrote:

> Move a temporary database into position, then set it aside when you're
> satisfied.
>
> On Sun, Feb 25, 2024 at 3:39 AM Bill Petheram 
> wrote:
>
>> I had to reinstall weewx due to a bad system upgrade on a Raspberry
>> Pi with an external SSD.
>>
>> I wanted to check my installation was OK. I found that weewx started
>> to read data from my station before I was sure everything was setup
>> properly.
>>
>> It would be nice to be able to turnoff data download at startup to
>> check that the installation works OK and files are in the correct
>> positions. Then turn on data loading.
>>
>> This I guess is less of a problem on Rpi 4 as you can boot from USB.
>> I am using Rpi 3B so I have to use symbolic links.
>>
>> --
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/38bba562-b306-4d76-86f6-7ebc31bad1bfn%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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/ec2c7968-5801-4b15-a80f-a386b3aac967n%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/b6925f28-8a42-4f33-bbb9-4d6509585b78n%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/CAGTinV6tz%3DF063YLm0TUFLnavrma6%3DBKsSN%2BbHcu3kaVU4KKjA%40mail.gmail.com.


Re: [weewx-user] No HTML generation after upgrade from 5.0.0 to 5.0.1

2024-02-08 Thread John Smith
chown -R weewx: '/var/www/rumoclock.dk/web/weewx/

On Thu, 8 Feb 2024 at 18:56, 'neu...@bnjpro.dk' via weewx-user <
weewx-user@googlegroups.com> wrote:

> I did a normal apt update, apt upgrade. But after having been running
> perfectly with 5.0.0 I now don't get html renewal.
> I have here a snippet of the logfile indicating a few errors, of which I
> think the permission error is the worst, and the one causing the problem.
> But I don't see any file of that name in the claimed directory.
>
> I do not update the conf files, because they work just fine and I don't
> want to use time to reconfigure all over again everytime there is an
> upgrade. And they worked fine with version 5.0.0, so no need to.
>
> Any ideas on what is happening?
>
>
> Log snippet:
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: Caught
> unrecoverable exception in generator
> 'weewx.cheetahgenerator.CheetahGenerator'
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  [Errno 13] Permission denied: '/var/www/
> rumoclock.dk/web/weewx/index.html.tmp'
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  Traceback (most recent call last):
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  File "/usr/share/weewx/weewx/reportengine.py", line 220, in run
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>obj.start()
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  File "/usr/share/weewx/weewx/reportengine.py", line 409, in start
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>self.run()
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>ngen = self.generate(gen_dict[section_name], section_name, self.gen_ts)
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>ngen += self.generate(section[subsection], subsection, gen_ts)
> Feb  8 08:33:00 frej weewxd[754]: Traceback (most recent call last):
> Feb  8 08:33:00 frej weewxd[754]:   File
> "/usr/share/weewx/weewx/reportengine.py", line 220, in run
> Feb  8 08:33:00 frej weewxd[754]: obj.start()
> Feb  8 08:33:00 frej weewxd[754]:   File
> "/usr/share/weewx/weewx/reportengine.py", line 409, in start
> Feb  8 08:33:00 frej weewxd[754]: self.run()
> Feb  8 08:33:00 frej weewxd[754]:   File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run
> Feb  8 08:33:00 frej weewxd[754]: ngen =
> self.generate(gen_dict[section_name], section_name, self.gen_ts)
> Feb  8 08:33:00 frej weewxd[754]:   File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate
> Feb  8 08:33:00 frej weewxd[754]: ngen +=
> self.generate(section[subsection], subsection, gen_ts)
> Feb  8 08:33:00 frej weewxd[754]:   File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate
> Feb  8 08:33:00 frej weewxd[754]: ngen +=
> self.generate(section[subsection], subsection, gen_ts)
> Feb  8 08:33:00 frej weewxd[754]:   File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 371, in generate
> Feb  8 08:33:00 frej weewxd[754]: with open(tmpname, mode='wb') as fd:
> Feb  8 08:33:00 frej weewxd[754]: PermissionError: [Errno 13] Permission
> denied: '/var/www/rumoclock.dk/web/weewx/index.html.tmp'
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>ngen += self.generate(section[subsection], subsection, gen_ts)
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 371, in generate
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>with open(tmpname, mode='wb') as fd:
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  PermissionError: [Errno 13] Permission denied: '/var/www/
> rumoclock.dk/web/weewx/index.html.tmp'
> Feb  8 08:33:00 frej weewxd[754]: ERROR weewx.reportengine: 
>  Generator terminated
> Feb  8 08:33:00 frej weewxd[754]: DEBUG weewx.manager: Daily summary
> version is 4.0
> Feb  8 08:33:00 frej weewxd[754]: INFO weewx.imagegenerator: Generated 10
> images for report SeasonsReport in 0.67 seconds
> Feb  8 08:33:00 frej weewxd[754]: INFO weewx.reportengine: Copied 0 files
> to /var/www/rumoclock.dk/web/weewx
> Feb  8 08:33:00 frej weewxd[754]: DEBUG weewx.reportengine: Running report
> 'SmartphoneReport'
> Feb  8 08:33:00 frej weewxd[754]: DEBUG weewx.reportengine: Found
> configuration file 

Re: [weewx-user] updated to 5.0.1 still no joy

2024-02-07 Thread John Smith
On Thu, 8 Feb 2024 at 02:12, Tom Keffer  wrote:

> Something to try: edit the weewx service file and change permissions back
> to root. The service file should be located at
> /lib/systemd/system/weewx.service. Comment out the User and Group lines.
> When you're done, it will look something like this:
>
> [Service]
>
> ExecStart=weewxd /etc/weewx/weewx.conf
>
> StandardOutput=null
>
> StandardError=journal+console
>
> RuntimeDirectory=weewx
>
> RuntimeDirectoryMode=775
>
> # User=weewx
>
> # Group=weewx
>
> Then restart weewxd.
>
> Let us know if that makes a difference.
>

Why not start as root then drop privileges, it would solve a lot of the
permission problems people are having

-- 
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/CAGTinV5zBAmBD2DQrJMz9JsM4dui%3D%3Dzt%3DAXitaAB_kE9SDFvJA%40mail.gmail.com.


Re: [weewx-user] Where to put format to round data in Standard skin

2024-02-04 Thread John Smith
On Mon, 5 Feb 2024 at 04:07, bgra...@umw.edu  wrote:

> The format (I think) should be:
> StringFormats
> cpm = %.0f
>

Shouldn't that be %0.1f?

-- 
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/CAGTinV6rOhWk2iMmBNNYpc_hdnkhNA5Uotr8jZaBffg8PiMGdw%40mail.gmail.com.


Re: [weewx-user] weewx.drivers.vantage: Socket error while opening port 22222

2024-01-21 Thread John Smith
On Mon, 22 Jan 2024 at 08:13, Ed Surowiec  wrote:

> I am having trouble getting weewx to connect to my WeatherLink Live
> ethernet box.  I am able to connect to the WeatherLink Live using a browser
> and also using netcat to port 2 from the raspberry pi I have weewx
> installed on.  Here is the error.  Any help would be appreciated.
>
>
>
> Jan 21 13:51:26 rpi-blue weewxd[12964]: INFO weewx.engine: Loading station
> type Vantage (weewx.drivers.vantage)
>
> Jan 21 13:51:26 rpi-blue weewxd[12964]: ERROR weewx.drivers.vantage:
> Socket error while opening port 2 to ethernet host 10.0.1.180.
>
> Jan 21 13:51:26 rpi-blue weewxd[12964]: ERROR weewx.engine: Import of
> driver failed: [Errno 111] Connection refused ()
>

It looks like you are connecting to the wrong IP or it's not reachable on
the LAN

-- 
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/CAGTinV6daa-0aSGtrAi%2BhThvY9oHwXUuVmi1ToUnNoK2S30p6g%40mail.gmail.com.


[weewx-user] Re: WeeWX 5 on a Mac

2024-01-19 Thread John Jacklin
Many thanks for your help 

I have install WeeWx and it seems to be running Ok

However if I open a terminal and type
weectrl  extension --help

I get 
zsh: command not found weectl
On Friday 19 January 2024 at 14:36:54 UTC michael.k...@gmx.at wrote:

> The Ecowitt Gateway Driver ist just "yet another extension" and installed 
> like any other. Simply refer to the documentation. 
> https://weewx.com/docs/5.0/utilities/weectl-extension/ 
> I don't know the SFTP driver, but I am pretty sure this also applies for 
> installing the SFTP driver.
> John Jacklin schrieb am Freitag, 19. Januar 2024 um 15:12:52 UTC+1:
>
>> I would like to have another go at setting up WeeWX on a Mac (running 
>> Ventura)
>>
>> I have read how to install WeeWX on using the instruction in the 
>> documentation and this seems straightforward .
>>
>> I would need to install the SFTP drivers and the Ecowitt Gateway Drivers 
>> and I am not sure how to go about this with WeeWX 5
>>
>> Many 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/c7e3a5bb-8dab-4fc5-9d40-ba9fabe7e1efn%40googlegroups.com.


[weewx-user] WeeWX 5 on a Mac

2024-01-19 Thread John Jacklin
I would like to have another go at setting up WeeWX on a Mac (running 
Ventura)

I have read how to install WeeWX on using the instruction in the 
documentation and this seems straightforward .

I would need to install the SFTP drivers and the Ecowitt Gateway Drivers 
and I am not sure how to go about this with WeeWX 5

Many 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/14d237da-5782-4b5b-b245-cb34b5fb44bfn%40googlegroups.com.


Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-19 Thread John Smith
On Thu, 18 Jan 2024 at 13:26, Tom Keffer  wrote:

> You say that the "spikes" occur after power outages. I'm thinking the
> value for "dayRain" also changes.
>

Maybe he should get a UPS and put a big battery on it so it doesn't die
during blackouts.

-- 
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/CAGTinV7We1N7vOWPK7YZuERZwvdyNZv7_-CHMaWVo3kMEWS%3DJw%40mail.gmail.com.


Re: [weewx-user] Re: Weewx and Meteobridge - website update

2024-01-19 Thread John Smith
Depends on the skin you are using, and installation method, you could do a
search for index.html.tmpl and add it to the head section

On Thu, 18 Jan 2024 at 11:56, Jim Wilkerson  wrote:

> When you say to add the meta refresh to the "top of the template", which
> configuration file are you referring to please?
>
> Thanks..
>
> On Tuesday, January 9, 2024 at 9:22:27 AM UTC-5 gary@gmail.com wrote:
>
>> What skin are you using?
>>
>> On Sunday, January 7, 2024 at 1:36:16 PM UTC-5 bhouseski wrote:
>>
>>> Recently I was able to get Weewx running on a Raspberry Pi 4B, pulling
>>> data from a Vantage Pro2 connected to a D-Link DIR-505 loaded with
>>> Meteobridge (vantage is connected to the Meteobridge via USB).  All is well
>>> except I cannot get the website to autoload new data (I have to keep
>>> hitting refresh on my web browser).  I have played around with the archive
>>> interval, but have had no success.
>>>
>>> any idea's how to make this work?
>>>
>> --
> 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/b73d8ddc-0118-4b68-bf60-802838802898n%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/CAGTinV6POf2uJMfw_Yd%2BdDPAbf-NsvM08LT-zgvkvCOodnFU1A%40mail.gmail.com.


Re: [weewx-user] Importing data from awair sensor

2024-01-12 Thread John Smith
On Fri, 12 Jan 2024 at 22:41, sting ray  wrote:

> Any advice how to import and display data from awair element sensors?
> These are intended for indoor aqi monitoring but appear to function in
> covered outdoor locations like a back porch.
>

If no one else replies with a better answer you could look at
https://github.com/glennmckechnie/weewx-uradmon which takes json values on
a uradmon and injects it into a DB and then has a skin to display graphs.

-- 
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/CAGTinV6LHoL6fqkVLk%3D9nz4Jsu%2Bf8yu8FeR-cuYfrfJeoreCog%40mail.gmail.com.


Re: [weewx-user] Weewx and Meteobridge - website update

2024-01-07 Thread John Smith
You need to add a meta refresh to the top of the template




On Mon, 8 Jan 2024 at 05:36, bhouseski  wrote:

> Recently I was able to get Weewx running on a Raspberry Pi 4B, pulling
> data from a Vantage Pro2 connected to a D-Link DIR-505 loaded with
> Meteobridge (vantage is connected to the Meteobridge via USB).  All is well
> except I cannot get the website to autoload new data (I have to keep
> hitting refresh on my web browser).  I have played around with the archive
> interval, but have had no success.
>
> any idea's how to make this work?
>
> --
> 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/599d5fa4-74f4-4cdb-93ac-9882021c2c91n%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/CAGTinV5GdjYw8ikEfZLw%2BUXyK-Xw6w_sgzpNESQdqBgkTG8OKg%40mail.gmail.com.


[weewx-user] Re: Adding Rain Radar

2024-01-05 Thread John Jacklin

Sorry - the code from here - https://widgets.meteox.com/en-gb
On Friday 5 January 2024 at 10:32:06 UTC John Jacklin wrote:

> I am running the latest WeeWX with the standard skin.
>
> I wish to add a rain radar using this code
>
> How do I add it to the skin.conf.
>
> Just pasting in the code does not work.
>

-- 
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/2d91624f-c951-42d1-b703-ae06ac6e5019n%40googlegroups.com.


[weewx-user] Adding Rain Radar

2024-01-05 Thread John Jacklin
I am running the latest WeeWX with the standard skin.

I wish to add a rain radar using this code

How do I add it to the skin.conf.

Just pasting in the code does not work.

-- 
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/462400e7-4a4b-48cc-8056-fd9d2b1cfbf6n%40googlegroups.com.


Re: [weewx-user] Graph Section for previous year

2024-01-02 Thread John Smith
On Wed, 3 Jan 2024 at 07:42, Kevin Crivelli 
wrote:

> Not like "last 12 months" but "last year". I'd like to have a graph
> section for that. I'm sure it's very easy but I can't put my finger on it
>

I tried to do this for images, but my patch was rejected.

As for html that can be done:

$last_year.outTemp.max etc

-- 
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/CAGTinV6uPS2RLZEvy%3DfbtwBATmWAeP_0jT%2Bkgei90P0r7%3DUeeQ%40mail.gmail.com.


[weewx-user] python not found

2023-12-31 Thread John Zastrow
Got my first weather station for Christmas (Ambient 2902d). I've waded 
through docs and gotten data streaming to Weather Underground. I'd like to 
get data going into my local MariaDB (MySQL) database, and to CWOP.  I'm 
trying the weemx install into a Virtual Machine running Ubuntu server 
22.4.3 using the .deb approach. Couple of questions:

1. Is Interceptor still the best way to get data off the station into my 
local environment?  GitHub - matthewwall/weewx-interceptor: weewx driver 
that intercepts web traffic from internet 'bridge' devices such as Acurite 
Access, ObserverIP, OS LW30x, LaCross GW1000U, FineOffset GW1000 


2. Executing wee_extension to install interceptor complains about python 
not being available. What is the accepted way of addressing this? Aliasing 
Python2 -> Python3 seems wrong. jcz@weewx:~$ echo $PATH
/usr/share/weewx:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
jcz@weewx:~$ wee_extension
/usr/bin/env: ‘python’: No such file or directory 


TIA. Any suggestions about anything would be appreciated. Bracing for more 
troubleshooting.

-- 
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/5a822117-927a-4621-8d82-3bed98788191n%40googlegroups.com.


Re: [weewx-user] Wind Run in RTGD with SteelSeries Gauges

2023-12-29 Thread 'John Kline' via weewx-user



> On Dec 29, 2023, at 4:30 AM, 'Rory Gillies' via weewx-user 
>  wrote:
> 
> I also noticed that after a while (around 10 minutes but sometimes more) the 
> interface stops updating.

The default is to timeout after 20m unless you have passed the correct page 
update password (defaults to its-me).

Are you passing it?
http://=its-me

-- 
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/40650746-820A-4AF6-91A5-7AE8DABFB582%40johnkline.com.


Re: [weewx-user] CWOP data stopped showing up

2023-12-20 Thread 'John Kline' via weewx-user
Jim,Here’s another view of showing records are getting through.  It does show the dew point no longer being reported as of yesterday.APRS/CWOP weather report from N1ADJ – aprs.fi – live APRS mapaprs.fiOn Dec 20, 2023, at 11:33 AM, David Barto  wrote:I’m going to chime in with a “me too” on this. Strange.I’ve restarted Weewx to no effect, and all other reporting (Wunderground, PWS, my local site) are fine.     DavidOn Dec 20, 2023, at 11:04 AM, Jim Ancona  wrote:Hi,I've been happily running Weewx for a number of years. I have a Davis Vantage Pro2 and I'm running Weewx on an old Raspberry Pi 512MB Model B running Raspbian GNU/Linux 12 (bookworm). We've had power outages here this week, so the Pi has lost power and restarted multiple times. When it came back up this morning, I noticed that results didn't start showing up on my CWOP page at http://www.findu.com/cgi-bin/wxpage.cgi?call=n1adj. Here is the log from startup to the first CWOP report:Dec 20 13:21:29 weather systemd[1]: Started weewx.service - WeeWX weather system.Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Initializing weewx version 4.10.2Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Using Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Located at /usr/bin/python3Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Platform Linux-6.1.0-rpi6-rpi-v6-armv6l-with-glibc2.36Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Locale is 'en_US.UTF-8'Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Using configuration file /etc/weewx/weewx.confDec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Debug is 1Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG __main__: Initializing engineDec 20 13:21:32 weather python3[4296]: weewx[4296] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG weewx.drivers.vantage: Driver version is 3.5.2Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG weewx.drivers.vantage: Option loop_request=1Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.drivers.vantage: Successfully woke up Vantage consoleDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.drivers.vantage: Hardware type is 16Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.drivers.vantage: ISS ID is 1Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynchDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynchDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading service weewx.engine.StdConvertDec 20 13:21:33 weather python3[4296]: weewx[4296] INFO weewx.engine: StdConvert target unit is 0x1Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvertDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrateDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrateDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading service weewx.engine.StdQCDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Finished loading service weewx.engine.StdQCDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculateDec 20 13:21:33 weather python3[4296]: weewx[4296] INFO weewx.wxservices: StdWXCalculate will use data binding wx_bindingDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.manager: Daily summary version is 4.0Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculateDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypesDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypesDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCookerDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCookerDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRaterDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRaterDec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: Loading 

[weewx-user] Starting weewx

2023-11-25 Thread JOHN CHENIS
I installed weewx but when i add this ( var/www/html/weewx/index.html)
to my google windows I get google search and not START/STOP.
What am I doling wrong?  Please help.
Thanks, John

-- 
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/16d0a94f-df63-424a-b374-a56232666b12n%40googlegroups.com.


Re: [weewx-user] Forecast extension for NWS failing

2023-09-23 Thread 'John Kline' via weewx-user
No issue here on 4.10.2 with that NWS config.  Sep 23 17:57:17 judygirldog64 weewx[809073] INFO user.forecast: MainThread: NWS: forecast version 3.4.0b12Sep 23 17:57:17 judygirldog64 weewx[809073] INFO user.forecast: MainThread: NWS: interval=10800 max_age=604800 lid=CAZ043 lid_desc=Miramar-San Diego CA foid=SGXSep 23 17:57:17 judygirldog64 weewx[809073] INFO user.forecast: MainThread: XTide: forecast version 3.4.0b12Sep 23 17:57:17 judygirldog64 weewx[809073] INFO user.forecast: MainThread: XTide: interval=1209600 max_age=2419200 location='Palo Alto Yacht Harbor, San Francisco Bay, California' duration=2419200Sep 23 18:00:03 judygirldog64 weewx[809073] INFO user.forecast: NWSThread: NWS: downloading forecast from 'http://forecast.weather.gov/product.php?site=NWS=PFM=txt=SGX'Sep 23 18:00:03 judygirldog64 weewx[809073] INFO user.forecast: XTideThread: XTide: generating tides from 2023-09-23 00:00:00 PDT (1695452400) to 2023-10-21 00:00:00 PDT (1697871600)Sep 23 18:00:03 judygirldog64 weewx[809073] INFO user.forecast: NWSThread: NWS: got 40 forecast records for Miramar-San Diego CA 32.87N 117.14W Elev. 482 ftSep 23 18:00:04 judygirldog64 weewx[809073] INFO user.forecast: NWSThread: NWS: saved 40 forecast recordsSep 23 18:00:04 judygirldog64 weewx[809073] INFO user.forecast: NWSThread: NWS: deleted forecasts prior to 1694912404Sep 23 18:00:04 judygirldog64 weewx[809073] INFO user.forecast: XTideThread: XTide: saved 108 forecast recordsSep 23 18:00:04 judygirldog64 weewx[809073] INFO user.forecast: XTideThread: XTide: deleted forecasts prior to 1693098004I think the next step is to do a proper bug report with a sanitized weewx.conf and a log from startup through hitting the issue.On Sep 23, 2023, at 5:46 PM, David Barto  wrote:Weewx.conf:    [[NWS]]
        lid = "CAZ043"
        foid = "SGX"
        lid_desc = "Miramar-San Diego CA"On Sep 23, 2023, at 5:44 PM, 'John Kline' via weewx-user  wrote:Send exactly what’s in the NWS section and I’ll try it.On Sep 23, 2023, at 5:12 PM, David Barto  wrote:4.10.2, fully up to date as far as I’m aware.This was working, and when I transferred to the new MacMini, I brought over all the config settings, added in the forecast information and only the NWS is failing. Wunderground worksAeris worksCould it be something in the code itself? "not enough arguments for format string” makes me think that there is a python code error. (*)	David* Not a python expert.On Sep 22, 2023, at 1:59 PM, 'John Kline' via weewx-user  wrote:What version of WeeWX?On Sep 22, 2023, at 1:52 PM, David Barto  wrote:All the bindings appear correct as noted.Stopped, removed, and started weewx as suggested.Error persists. (Dang)	DavidOn Sep 22, 2023, at 11:49 AM, 'John Kline' via weewx-user  wrote:It looks like you are trying to store a forecast in the weewx database.  What do you have for a binding in the [Forecast] section of weewx.conf?  It should look like this:data_binding = forecast_bindingAlso, under [DataBindings] in weewx.conf, you should have:    [[forecast_binding]]    manager = weewx.manager.Manager    schema = user.forecast.schema    table_name = archive    database = forecast_sqliteIf all looks correct, stop weewx, delete the forecast.sdb file in the /archive directory and start weewx.  Do you still have the issue?JohnOn Sep 22, 2023, at 10:52 AM, David Barto  wrote:I upgraded my MacMini to a newer version and installed from scratch.Getting this error for the NWS forecast:2023-09-22 02:45:16  weewx[820] ERROR user.forecast: NWSThread: NWS: forecast failure: not enough arguments for format stringThe forecast skin I used was the one Tom recommended: https://github.com/chaunceygardiner/weewx-forecastSuggestions?   David2023-09-22 02:45:16  weewx[820] DEBUG weewx.manager: Daily summary version is 4.02023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'CAZ043-221200'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'MIRAMAR-SAN DI'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label '32.87N 117.14W'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'DATE'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'DATE'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: forecast matrix: {'lid': 'CAZ043', 'desc': 'Miramar-San Diego CA', 'location': '32.87N 117.14W Elev. 482 ft', 'issued

Re: [weewx-user] Forecast extension for NWS failing

2023-09-23 Thread 'John Kline' via weewx-user
Send exactly what’s in the NWS section and I’ll try it.On Sep 23, 2023, at 5:12 PM, David Barto  wrote:4.10.2, fully up to date as far as I’m aware.This was working, and when I transferred to the new MacMini, I brought over all the config settings, added in the forecast information and only the NWS is failing. Wunderground worksAeris worksCould it be something in the code itself? "not enough arguments for format string” makes me think that there is a python code error. (*)	David* Not a python expert.On Sep 22, 2023, at 1:59 PM, 'John Kline' via weewx-user  wrote:What version of WeeWX?On Sep 22, 2023, at 1:52 PM, David Barto  wrote:All the bindings appear correct as noted.Stopped, removed, and started weewx as suggested.Error persists. (Dang)	DavidOn Sep 22, 2023, at 11:49 AM, 'John Kline' via weewx-user  wrote:It looks like you are trying to store a forecast in the weewx database.  What do you have for a binding in the [Forecast] section of weewx.conf?  It should look like this:data_binding = forecast_bindingAlso, under [DataBindings] in weewx.conf, you should have:    [[forecast_binding]]    manager = weewx.manager.Manager    schema = user.forecast.schema    table_name = archive    database = forecast_sqliteIf all looks correct, stop weewx, delete the forecast.sdb file in the /archive directory and start weewx.  Do you still have the issue?JohnOn Sep 22, 2023, at 10:52 AM, David Barto  wrote:I upgraded my MacMini to a newer version and installed from scratch.Getting this error for the NWS forecast:2023-09-22 02:45:16  weewx[820] ERROR user.forecast: NWSThread: NWS: forecast failure: not enough arguments for format stringThe forecast skin I used was the one Tom recommended: https://github.com/chaunceygardiner/weewx-forecastSuggestions?   David2023-09-22 02:45:16  weewx[820] DEBUG weewx.manager: Daily summary version is 4.02023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'CAZ043-221200'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'MIRAMAR-SAN DI'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label '32.87N 117.14W'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'DATE'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'DATE'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: forecast matrix: {'lid': 'CAZ043', 'desc': 'Miramar-San Diego CA', 'location': '32.87N 117.14W Elev. 482 ft', 'issued_ts': 1695328920, 'ts': [169533, 1695340800, 1695351600, 1695362400, 1695373200, 1695384000, 1695394800, 1695405600, 1695416400, 1695427200, 1695438000, 1695448800, 1695459600, 1695470400, 1695481200, 1695492000, 1695502800, 1695513600, 1695524400, 1695535200, 1695546000, 1695556800, 1695578400, 169560, 1695621600, 1695643200, 1695664800, 1695686400, 1695708000, 1695729600, 1695751200, 1695772800, 1695794400, 1695816000, 1695837600, 1695859200, 1695880800, 1695902400, 1695924000, 1695945600], 'hour': ['14', '17', '20', '23', '02', '05', '08', '11', '14', '17', '20', '23', '02', '05', '08', '11', '14', '17', '20', '23', '02', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', '17'], 'duration': [10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 10800], 'temp': ['70', '69', '64', '63', '62', '61', '62', '69', '71', '70', '65', '63', '63', '62', '63', '72', '74', '71', '63', '61', '60', '59', '71', '72', '60', '58', '72', '73', '61', '59', '71', '72', '62', '60', '73', '74', '63', '61', '72', '72'], 'dewpoint': ['60', '60', '60', '59', '59', '58', '59', '59', '59', '59', '59', '60', '60', '60', '61', '61', '61', '61', '60', '59', '59', '58', '61', '61', '59', '58', '60', '60', '59', '59', '60', '61', '59', '58', '61', '62', '61', '60', '62', '62'], 'humidity': ['71', '73', '87', '87', '90', '90', '90', '70', '66', '68', '81', '90', '90', '93', '93', '68', '64', '71', '90', '93', '96', '96', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None], 'windDir': ['W', 'W', 'W', 'NW', 'N', 'N', 'N', 'NW', 'NW', 'NW', 'NW', 'NW', 'NW', 'N', 'N', 'NW', 'NW', 'NW', 'NW', 'NW', 'N', 'N', None, 'NW', None

Re: [weewx-user] Forecast extension for NWS failing

2023-09-22 Thread 'John Kline' via weewx-user
What version of WeeWX?On Sep 22, 2023, at 1:52 PM, David Barto  wrote:All the bindings appear correct as noted.Stopped, removed, and started weewx as suggested.Error persists. (Dang)	DavidOn Sep 22, 2023, at 11:49 AM, 'John Kline' via weewx-user  wrote:It looks like you are trying to store a forecast in the weewx database.  What do you have for a binding in the [Forecast] section of weewx.conf?  It should look like this:data_binding = forecast_bindingAlso, under [DataBindings] in weewx.conf, you should have:    [[forecast_binding]]    manager = weewx.manager.Manager    schema = user.forecast.schema    table_name = archive    database = forecast_sqliteIf all looks correct, stop weewx, delete the forecast.sdb file in the /archive directory and start weewx.  Do you still have the issue?JohnOn Sep 22, 2023, at 10:52 AM, David Barto  wrote:I upgraded my MacMini to a newer version and installed from scratch.Getting this error for the NWS forecast:2023-09-22 02:45:16  weewx[820] ERROR user.forecast: NWSThread: NWS: forecast failure: not enough arguments for format stringThe forecast skin I used was the one Tom recommended: https://github.com/chaunceygardiner/weewx-forecastSuggestions?   David2023-09-22 02:45:16  weewx[820] DEBUG weewx.manager: Daily summary version is 4.02023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'CAZ043-221200'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'MIRAMAR-SAN DI'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label '32.87N 117.14W'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'DATE'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label 'DATE'2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore label ''2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: forecast matrix: {'lid': 'CAZ043', 'desc': 'Miramar-San Diego CA', 'location': '32.87N 117.14W Elev. 482 ft', 'issued_ts': 1695328920, 'ts': [169533, 1695340800, 1695351600, 1695362400, 1695373200, 1695384000, 1695394800, 1695405600, 1695416400, 1695427200, 1695438000, 1695448800, 1695459600, 1695470400, 1695481200, 1695492000, 1695502800, 1695513600, 1695524400, 1695535200, 1695546000, 1695556800, 1695578400, 169560, 1695621600, 1695643200, 1695664800, 1695686400, 1695708000, 1695729600, 1695751200, 1695772800, 1695794400, 1695816000, 1695837600, 1695859200, 1695880800, 1695902400, 1695924000, 1695945600], 'hour': ['14', '17', '20', '23', '02', '05', '08', '11', '14', '17', '20', '23', '02', '05', '08', '11', '14', '17', '20', '23', '02', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', '17'], 'duration': [10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 10800], 'temp': ['70', '69', '64', '63', '62', '61', '62', '69', '71', '70', '65', '63', '63', '62', '63', '72', '74', '71', '63', '61', '60', '59', '71', '72', '60', '58', '72', '73', '61', '59', '71', '72', '62', '60', '73', '74', '63', '61', '72', '72'], 'dewpoint': ['60', '60', '60', '59', '59', '58', '59', '59', '59', '59', '59', '60', '60', '60', '61', '61', '61', '61', '60', '59', '59', '58', '61', '61', '59', '58', '60', '60', '59', '59', '60', '61', '59', '58', '61', '62', '61', '60', '62', '62'], 'humidity': ['71', '73', '87', '87', '90', '90', '90', '70', '66', '68', '81', '90', '90', '93', '93', '68', '64', '71', '90', '93', '96', '96', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None], 'windDir': ['W', 'W', 'W', 'NW', 'N', 'N', 'N', 'NW', 'NW', 'NW', 'NW', 'NW', 'NW', 'N', 'N', 'NW', 'NW', 'NW', 'NW', 'NW', 'N', 'N', None, 'NW', None, 'NW', None, 'NW', None, 'NW', None, 'SW', None, 'W', None, 'S', None, 'S', None, 'S'], 'windSpeed': ['9', '9', '5', '3', '2', '2', '3', '4', '8', '10', '5', '5', '6', '6', '4', '6', '10', '10', '8', '5', '5', '4', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None], 'clouds': ['B1', 'B1', 'B1', 'OV', 'B2', 'OV', 'OV', 'OV', 'B2', 'B2', 'B2', 'B2', 'B2', 'B1', 'B1', 'SC', 'SC', 'SC', 'SC', 'B1', 'B1', 'B1', 'B1', 'FW', 'FW', 'B1', 'B1', 'FW', 'FW', 'B1', 'B1', 'FW', 'FW', 'SC', 'B1', 'FW', 'FW', 'SC', 'SC', 'FW

Re: [weewx-user] Forecast extension for NWS failing

2023-09-22 Thread 'John Kline' via weewx-user
It looks like you are trying to store a forecast in the weewx database.  What 
do you have for a binding in the [Forecast] section of weewx.conf?  It should 
look like this:

data_binding = forecast_binding

Also, under [DataBindings] in weewx.conf, you should have:

[[forecast_binding]]
manager = weewx.manager.Manager
schema = user.forecast.schema
table_name = archive
database = forecast_sqlite

If all looks correct, stop weewx, delete the forecast.sdb file in the 
/archive directory and start weewx.  Do you still have the issue?

John

> On Sep 22, 2023, at 10:52 AM, David Barto  wrote:
> 
> I upgraded my MacMini to a newer version and installed from scratch.
> 
> Getting this error for the NWS forecast:
> 2023-09-22 02:45:16  weewx[820] ERROR user.forecast: NWSThread: NWS: forecast 
> failure: not enough arguments for format string
> 
> The forecast skin I used was the one Tom recommended: 
> https://github.com/chaunceygardiner/weewx-forecast
> 
> Suggestions?
> 
>David
> 
> 
> 2023-09-22 02:45:16  weewx[820] DEBUG weewx.manager: Daily summary version is 
> 4.0
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label 'CAZ043-221200'
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label 'MIRAMAR-SAN DI'
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label '32.87N 117.14W'
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label ''
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label 'DATE'
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label ''
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label ''
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label ''
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label 'DATE'
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label ''
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
> label ''
> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: forecast 
> matrix: {'lid': 'CAZ043', 'desc': 'Miramar-San Diego CA', 'location': '32.87N 
> 117.14W Elev. 482 ft', 'issued_ts': 1695328920, 'ts': [169533, 
> 1695340800, 1695351600, 1695362400, 1695373200, 1695384000, 1695394800, 
> 1695405600, 1695416400, 1695427200, 1695438000, 1695448800, 1695459600, 
> 1695470400, 1695481200, 1695492000, 1695502800, 1695513600, 1695524400, 
> 1695535200, 1695546000, 1695556800, 1695578400, 169560, 1695621600, 
> 1695643200, 1695664800, 1695686400, 1695708000, 1695729600, 1695751200, 
> 1695772800, 1695794400, 1695816000, 1695837600, 1695859200, 1695880800, 
> 1695902400, 1695924000, 1695945600], 'hour': ['14', '17', '20', '23', '02', 
> '05', '08', '11', '14', '17', '20', '23', '02', '05', '08', '11', '14', '17', 
> '20', '23', '02', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', 
> '17', '23', '05', '11', '17', '23', '05', '11', '17'], 'duration': [10800, 
> 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 
> 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 21600, 
> 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 
> 21600, 21600, 21600, 21600, 21600, 10800], 'temp': ['70', '69', '64', '63', 
> '62', '61', '62', '69', '71', '70', '65', '63', '63', '62', '63', '72', '74', 
> '71', '63', '61', '60', '59', '71', '72', '60', '58', '72', '73', '61', '59', 
> '71', '72', '62', '60', '73', '74', '63', '61', '72', '72'], 'dewpoint': 
> ['60', '60', '60', '59', '59', '58', '59', '59', '59', '59', '59', '60', 
> '60', '60', '61', '61', '61', '61', '60', '59', '59', '58', '61', '61', '59', 
> '58', '60', '60', '59', '59', '60', '61', '59', '58', '61', '62', '61', '60', 
> '62', '62'], 'humidity': ['71', '73', '87', '87', '90', '90', '90', '70', 
> '66', '68', '81', '90', '90', '93', '93', '68', '64', '71', '90', '93', '96', 
> '96', None, None, None, None, None, None, None, None, None, None, None, None, 
> None, None, None, None, None, None], 'windDir': ['W', 'W', 'W', 'NW', 'N', 
> 'N', 'N', 'NW', 'NW', 'NW', 'NW', 'NW', 'NW', 'N', 'N', 'NW', 'NW', 'NW', 
> 'NW', 'NW', 'N', 'N', None, 'NW', None, 'NW', None, 'NW', None, 'NW', None, 
> 'SW', None, 'W', None, 'S', None, 'S', None, 'S'], 'windSpeed': ['9', '9', 
> '5', '3', '2', '2', '3', '4', '8', '10', '5', '5', '6', '6', '4', '6', '10', 
> '10', '8', '5', '5', '4', None, None, None, None, None, None, None, None, 
> None, None, None, None, None, None, None, None, None, None], 'clouds': ['B1', 
> 'B1', 'B1', 'OV', 'B2', 'O

Re: [weewx-user] Re: Weewx-rain24h addon

2023-09-18 Thread 'John Kline' via weewx-user
There is no need to use all that space when most loop packets will have zero rain.I just record the rainfall (non-zero rain in a loop packet) as a list of debits.  On each loop packet, I look at the top of the list to see if any have matured (24 hours later).  If so, I decrement rainfall by the amount in the entry and delete that entry.On Sep 18, 2023, at 9:00 AM, Geoff Cusick  wrote:So you’re maintaining a circular buffer of (24h/loop packet interval) rainfall samples.  Is that right?GWeb: http://www.cusick.org.ukOn 18 Sep 2023, at 16:53, 'John Kline' via weewx-user  wrote:I wrote this extension; although, I no longer use it because I have generalized the functionality to work on any observation and for any time length in my weewx-loopdata extension.What you are missing is that the plug-in operates at the loop packet level.  Other than loading from the database at start up, with archive interval precision, it does not read the database.  Rather, it keeps track of any rain recorded in loop packets such that they can be decremented from rain 24 hours later.  For example, if .01 rain occurs 87s into an archive interval; and another .01 rain occurs 20s later; the 24 hour rain will decrement (i.e., the rain24 value injected into the loop packets) when each .01 occurrence falls out of the 24 hour window; not when the archive record in the database is older than 24 hours.Of course, this is all meaningless if you are just going to use it in reports that are only generated on the archive interval; but the for insane (I resemble that remark) who want to see 24 hour rain decrement at loop interval precision on their weather sites that update on every loop packet, it is useful.JohnOn Sep 18, 2023, at 8:26 AM, Geoff Cusick  wrote:Seems a bit of a roundabout way to provide data that’s already easily available - presumably retrieving the 24h rain sum from the database, then injecting it back into the loop packets.  I’m obviously missing something.GWeb: http://www.cusick.org.ukOn 18 Sep 2023, at 16:18, kufuu  wrote:https://github.com/chaunceygardiner/weewx-rain24hOn Monday, September 18, 2023 at 7:02:06 AM UTC-4 gjr80 wrote:You might have to help us out here, what or where is the 'weewx-rain24h add on'. My quick google failed to find such an extension.GaryOn Monday, 18 September 2023 at 02:06:12 UTC+10 toef...@gmail.com wrote:I installed the weewx-rain24h add on and was wondering how to get he 24hr rain totals to display on the season skin desktop ?



-- 
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/RHdDkdSTN68/unsubscribe.
To unsubscribe from this group and all its topics, 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/9dca3a07-38df-4606-b412-a3c040159944n%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/93806518-A6D9-40B9-AA6B-6DC7C268951E%40gmail.com.




-- 
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/RHdDkdSTN68/unsubscribe.
To unsubscribe from this group and all its topics, 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/899373C3-8626-4DDF-AC9C-D7AE48600646%40johnkline.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/8ACFE559-1D1F-447F-9A6E-23A2E633E467%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/8B90242A-C8CA-4CB6-A2B7-6ED03B8942D6%40johnkline.com.


Re: [weewx-user] Re: Weewx-rain24h addon

2023-09-18 Thread 'John Kline' via weewx-user
I wrote this extension; although, I no longer use it because I have generalized the functionality to work on any observation and for any time length in my weewx-loopdata extension.What you are missing is that the plug-in operates at the loop packet level.  Other than loading from the database at start up, with archive interval precision, it does not read the database.  Rather, it keeps track of any rain recorded in loop packets such that they can be decremented from rain 24 hours later.  For example, if .01 rain occurs 87s into an archive interval; and another .01 rain occurs 20s later; the 24 hour rain will decrement (i.e., the rain24 value injected into the loop packets) when each .01 occurrence falls out of the 24 hour window; not when the archive record in the database is older than 24 hours.Of course, this is all meaningless if you are just going to use it in reports that are only generated on the archive interval; but the for insane (I resemble that remark) who want to see 24 hour rain decrement at loop interval precision on their weather sites that update on every loop packet, it is useful.JohnOn Sep 18, 2023, at 8:26 AM, Geoff Cusick  wrote:Seems a bit of a roundabout way to provide data that’s already easily available - presumably retrieving the 24h rain sum from the database, then injecting it back into the loop packets.  I’m obviously missing something.GWeb: http://www.cusick.org.ukOn 18 Sep 2023, at 16:18, kufuu  wrote:https://github.com/chaunceygardiner/weewx-rain24hOn Monday, September 18, 2023 at 7:02:06 AM UTC-4 gjr80 wrote:You might have to help us out here, what or where is the 'weewx-rain24h add on'. My quick google failed to find such an extension.GaryOn Monday, 18 September 2023 at 02:06:12 UTC+10 toef...@gmail.com wrote:I installed the weewx-rain24h add on and was wondering how to get he 24hr rain totals to display on the season skin desktop ?



-- 
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/RHdDkdSTN68/unsubscribe.
To unsubscribe from this group and all its topics, 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/9dca3a07-38df-4606-b412-a3c040159944n%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/93806518-A6D9-40B9-AA6B-6DC7C268951E%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/899373C3-8626-4DDF-AC9C-D7AE48600646%40johnkline.com.


RE: [weewx-user] Re: weewx with rtl-davis - Installation Assistance?

2023-09-12 Thread John Argue
The problem is definitely the battery.  I didn’t have it installed because I 
was testing and they’re not cheap.  But – no battery – but supercap charged and 
valid messages being received - fails every time.  Put battery in and suddenly 
you get the packet being decoded (which it wasn’t before – you just got the 
data packet and no decoding)  bat_iss : 0  - wondering if this is issue in 
driver?

 

John

 

From: weewx-user@googlegroups.com  On Behalf Of 
Lorin Tremblay
Sent: September 7, 2023 11:58 PM
To: weewx-user 
Subject: Re: [weewx-user] Re: weewx with rtl-davis - Installation Assistance?

 

Don’t remember, but tried without it, still does the same thing and it always 
restart in the morning……

On Thursday, September 7, 2023 at 11:22:57 PM UTC-4 vince wrote:

Why are you setting -ex 200 ?

The defaults worked fine for me for multiple days with a VP2 (one ISS), FWIW.

 

On Thursday, September 7, 2023 at 8:16:53 PM UTC-7 Lorin Tremblay wrote:


It happens every night for me…

On Tuesday, September 5, 2023 at 7:48:45 AM UTC-4 Lorin Tremblay wrote:

Having the same issue about once a day for 4-6 hours

 

Sep  5 07:34:18 WeeWx-APRS270 weewx[610] INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Sep  5 07:34:18 WeeWx-APRS270 weewx[610] INFO user.rtldavis: shutdown process 
/home/pi/bin/rtldavis -ex 200 -tf US -tr 1
Sep  5 07:34:18 WeeWx-APRS270 weewx[610] INFO user.rtldavis: rtldavis with pid 
1847 killed
Sep  5 07:34:18 WeeWx-APRS270 weewx[610] CRITICAL __main__: Caught 
WeeWxIOError: rtldavis process stalled
Sep  5 07:34:18 WeeWx-APRS270 weewx[610] CRITICAL __main__:   Waiting 
60 seconds then retrying...

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/bGiQPuOljqs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
weewx-user+unsubscr...@googlegroups.com 
<mailto:weewx-user+unsubscr...@googlegroups.com> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f1deaaff-562d-4a6b-bf8a-10afc8dd5ed7n%40googlegroups.com
 
<https://groups.google.com/d/msgid/weewx-user/f1deaaff-562d-4a6b-bf8a-10afc8dd5ed7n%40googlegroups.com?utm_medium=email_source=footer>
 .

-- 
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/00e301d9e5db%2436254130%24a26fc390%24%40xplornet.ca.


Re: [weewx-user] Specific Report Generation Periods

2023-08-27 Thread John Smith
$since($hour=9,$today=False).rain.sum.formatted

On Sun, 27 Aug 2023 at 03:45, carter.hu...@gmail.com <
carter.humphrey...@gmail.com> wrote:

> Yup, that is what I'm looking for. Can $since($hour=7) be used since the
> previous day though?
>
> On Friday, August 25, 2023 at 4:31:41 PM UTC-7 Tom Keffer wrote:
>
>> Is this what you're thinking? https://github.com/weewx/weewx/issues/91
>>
>> On Fri, Aug 25, 2023 at 9:58 AM carter.hu...@gmail.com <
>> carter.hu...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm wondering if there is a way to have a report have a specific end
>>> time. For example, I'd like to create a 24 hour data summary ending at 7 am
>>> LT each day, rather than each day from midnight to midnight.
>>>
>>> I figured using a span and setting a specific report generation time
>>> would work, but that wouldn't back-fill any missing reports.
>>>
>>> Any ideas?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/a5be1096-8846-46d5-8694-378c3f2dbd79n%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/bd0d1761-8c7a-433d-b4cb-ab6f9a97bdb4n%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/CAGTinV6-zoAKzGj1DZAfLYvhMvD0%2Baw9cuKaR5PTmJCk4KrQ%3Dg%40mail.gmail.com.


RE: [weewx-user] Re: weewx with rtl-davis - Installation Assistance?

2023-08-10 Thread John Argue
Not yet – busy in summer but have acquired a raspberry pi 4 and will try it 
with the script as soon as things settle down a bit.

 

From: weewx-user@googlegroups.com  On Behalf Of 
Rob Fissel
Sent: August 5, 2023 8:54 AM
To: weewx-user 
Subject: [weewx-user] Re: weewx with rtl-davis - Installation Assistance?

 

Did you have any luck with this? I'm facing a similar problem. 

On Saturday, April 1, 2023 at 10:38:15 AM UTC-4 arg...@xplornet.ca 
  wrote:

I have tried installing rtldavis on both a pi3+ and a debian 11 proxmox vm.  I 
have no problems with receiving packets from a Davis Vue - packets are 
consistently received every 3 seconds or so and look correct.  However - on 
both machines I get the same error (which you would expect - consistently 
wrong)!!

 

weewx doesn't appear to process the packets from the rtldavis driver and errors 
out every 150 seconds with  the following error:

 

 INFO weewx.engine: Main loop exiting. Shutting engine down.

debian weewx[10816] INFO user.rtldavis: shutdown process 
/home/pi/work/bin/rtldavis -tf US -tr 1
debian weewx[10816] INFO user.rtldavis: rtldavis with pid 11073 killed
 debian weewx[10816] CRITICAL __main__: Caught WeeWxIOError: rtldavis process 
stalled

 

Has anyone successfully installed rtldavis recently and can help with this 
issue?

 

I used vince skahans install script modified to use golang-1.15 - see attached.

I set LD_LIBRARY_PATH to the librtlsdr.so instance

weewx.conf points to rtldavis as station type.

user pi is member of sudoers 

I have also included the syslog of the installation, the install script and 
weewx.conf

 

I am not a proficient user of Debian - any suggestions gratefully received.

 

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/bGiQPuOljqs/unsubscribe.
To unsubscribe from this group and all its topics, 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/08137d3c-da45-4821-aeec-92b9f9fd5cd4n%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/01d9cb84%245b4a5520%2411deff60%24%40xplornet.ca.


Re: [weewx-user] Re: Connecting to new Davis Console model 6313

2023-08-08 Thread 'John Kline' via weewx-user
Previously, one had to spend an extra $225 for the USB data logger.  Now, one has to buy an Envoy ($235) and the USB data logger.I suppose the worry is that Davis will stop selling the previous console and the envoy.On Aug 8, 2023, at 4:07 PM, Greg from Oz  wrote:Looks like I won't be buying one of those!That is nearly as bad as paying subscription to use software.On Wednesday, 9 August 2023 at 02:55:32 UTC+10 Bob Rose wrote:I am in the same boat. I dropped a note to Davis support, and they confirmed that there is no local data available on the 6313. To get you data back you will need to purchase it back from Davis.On Sunday, July 30, 2023 at 7:14:36 PM UTC-7 vince wrote:Secondary might be poorly worded.  I think somebody suggested on wxforum.net the folks with old consoles could still talk to new sensors via their old dataloggers as always, and 'also' set up the new 6313 gateway/console to listen to the sensor's channel and feed Davis etc. if so inclined.  So you could get the new console with data that way while still running the old console we're all familiar with.I also noted in the manual a bit back that the new console lasts under a day through a power outage, while the old consoles last many days.   Manual is at (here) and the wxforum.net Davis group has lots of discussion about the new console.  Doesn't seem like too many people are happy so far.On Sunday, July 30, 2023 at 12:49:39 PM UTC-7 John Kline wrote:Davis still sells the old console and logger.Vince, I’m not sure what primary and secondary means.  They are all independent of one another.On Jul 30, 2023, at 11:41 AM, vince <vince...@gmail.com> wrote:I believe there are some posts suggesting the old console as the primary one and the new one as a secondary works well if you can leverage your old console and logger. You might want to give that a try.On Sunday, July 30, 2023 at 11:37:51 AM UTC-7 paul bennett wrote:Thanks, Vince.Indeed, WXForum agrees that the new 6313 console has no provision for a 3rd party API, either through the WiFi or the USB interface.  I wonder how long my old console will hold up...On Saturday, July 29, 2023 at 7:40:47 PM UTC-6 vince wrote:Did you set the ip address of the console ?  Lets see your driver stanza.You might ask on wxforum.net in the Davis forum there.  My hazy reading in the past about the new console makes me wonder if it's even possible with the new Console/logger product.On Saturday, July 29, 2023 at 3:40:14 PM UTC-7 paul bennett wrote:My 12-year old Vantage Pro 2 got destroyed by hail recently, so the insurance company bought me a new one. I now have the updated Davis 6313 console that connects via WiFi.  Unfortunately, I don't see how to interface the new console to weewx. The old console had the USB logger, which worked fine.I tried changing the interface type from "serial" to "ethernet" in weewx.conf, but it complains it can't connect to port 2. Which is no doubt true. Is it just a different port, or is it something far worse?Thanks,-paul bennett-



-- 
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f4a44662-5f3d-45e2-be10-19149c329df1n%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/cf4914e0-4150-4d39-b2c6-d6289fc8n%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/101B1C99-1D23-4303-BE87-B29EE2340DC1%40johnkline.com.


Re: [weewx-user] Re: Connecting to new Davis Console model 6313

2023-07-30 Thread 'John Kline' via weewx-user
Davis still sells the old console and logger.Vince, I’m not sure what primary and secondary means.  They are all independent of one another.On Jul 30, 2023, at 11:41 AM, vince  wrote:I believe there are some posts suggesting the old console as the primary one and the new one as a secondary works well if you can leverage your old console and logger. You might want to give that a try.On Sunday, July 30, 2023 at 11:37:51 AM UTC-7 paul bennett wrote:Thanks, Vince.Indeed, WXForum agrees that the new 6313 console has no provision for a 3rd party API, either through the WiFi or the USB interface.  I wonder how long my old console will hold up...On Saturday, July 29, 2023 at 7:40:47 PM UTC-6 vince wrote:Did you set the ip address of the console ?  Lets see your driver stanza.You might ask on wxforum.net in the Davis forum there.  My hazy reading in the past about the new console makes me wonder if it's even possible with the new Console/logger product.On Saturday, July 29, 2023 at 3:40:14 PM UTC-7 paul bennett wrote:My 12-year old Vantage Pro 2 got destroyed by hail recently, so the insurance company bought me a new one. I now have the updated Davis 6313 console that connects via WiFi.  Unfortunately, I don't see how to interface the new console to weewx. The old console had the USB logger, which worked fine.I tried changing the interface type from "serial" to "ethernet" in weewx.conf, but it complains it can't connect to port 2. Which is no doubt true. Is it just a different port, or is it something far worse?Thanks,-paul bennett-



-- 
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/f4a44662-5f3d-45e2-be10-19149c329df1n%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/B5AB59C3-9231-4778-9FB1-29CA889941E5%40johnkline.com.


Re: [weewx-user] Re: Connecting to new Davis Console model 6313

2023-07-29 Thread 'John Kline' via weewx-user
I was going to say you need to buy the older console (or the cheaper envoy) and another USB data logger; but don’t you still have your console and data logger from your old VP2?  You can have more than one console listening to your VP2.On Jul 29, 2023, at 6:40 PM, vince  wrote:Did you set the ip address of the console ?  Lets see your driver stanza.You might ask on wxforum.net in the Davis forum there.  My hazy reading in the past about the new console makes me wonder if it's even possible with the new Console/logger product.On Saturday, July 29, 2023 at 3:40:14 PM UTC-7 paul bennett wrote:My 12-year old Vantage Pro 2 got destroyed by hail recently, so the insurance company bought me a new one. I now have the updated Davis 6313 console that connects via WiFi.  Unfortunately, I don't see how to interface the new console to weewx. The old console had the USB logger, which worked fine.I tried changing the interface type from "serial" to "ethernet" in weewx.conf, but it complains it can't connect to port 2. Which is no doubt true. Is it just a different port, or is it something far worse?Thanks,-paul bennett-



-- 
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/368d0aae-39af-4788-8612-fd0884dde301n%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/6A8546B5-AD35-4F4D-B493-572A2B08E9CA%40johnkline.com.


Re: [weewx-user] Re: Error with weewx-airlink

2023-07-17 Thread 'John Kline' via weewx-user
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           no such column: pm2_5On Jul 17, 2023, at 6:12 AM, Yves Martin  wrote:wview_extended is correct here.I'm able to show the data on my main page but I've still theses errors...YMLe lundi 17 juillet 2023 à 09 h 01 min 24 s UTC-4, John Kline a écrit :Please note in the description for this extension:“weewx-airlink requires the wview_extended in WeeWX 4 that contains pm1_0, pm2_5 and pm10_0 columns.“On Jul 17, 2023, at 5:57 AM, michael.k...@gmx.at <michael.k...@gmx.at> wrote:weedb.NoColumnError: no such column: pm2_5Yves Martin schrieb am Montag, 17. Juli 2023 um 14:52:24 UTC+2:Hi,I've installe the module weewx-airlink (https://github.com/chaunceygardiner/weewx-airlink) for the Davis Air Quality, but I have this error :Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.imagegenerator: Generated 18 images for report Bootstrap in 19.46 secondsJul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewxJul 17 08:48:44 weewx4-raspi weewx[24741] INFO user.historygenerator: historygenerator.py: Generated 7 tables in 1.20 secondsJul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 10 files for report Bootstrap in 5.12 secondsJul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 1 files for report lastrain in 0.06 secondsJul 17 08:48:48 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 1 files for report AirLinkReport in 0.06 secondsJul 17 08:48:48 weewx4-raspi weewx[24741] INFO user.airlink: get_scalar called where record does not contain pm2_5.  This is unexpected.Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           no such column: pm2_5Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           Traceback (most recent call last):Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/xtypes.py", line 101, in get_seriesJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               aggregate_interval, **option_dict)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           TypeError: get_series() got an unexpected keyword argument 'SKIN_ROOT'Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           During handling of the above exception, another exception occurred:Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           Traceback (most recent call last):Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weedb/sqlite.py", line 39, in guarded_fnJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               return fn(*args, **kwargs)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weedb/sqlite.py", line 233, in executeJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               return sqlite3.Cursor.execute(self, *args, **kwargs)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           sqlite3.OperationalError: no such column: pm2_5Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           During handling of the above exception, another exception occurred:Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           Traceback (most recent call last):Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/reportengine.py", line 197, in runJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               obj.start()Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/reportengine.py", line 385, in startJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               self.run()Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/imagegenerator.py", line 42, in runJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               self.gen_images(self.gen_ts)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/imagegenerator.py", line 109, in gen_imagesJul 17 08:48:48 weewx4-ra

Re: [weewx-user] Re: Error with weewx-airlink

2023-07-17 Thread 'John Kline' via weewx-user
Please note in the description for this extension:“weewx-airlink requires the wview_extended in WeeWX 4 that contains pm1_0, pm2_5 and pm10_0 columns.“On Jul 17, 2023, at 5:57 AM, michael.k...@gmx.at  wrote:weedb.NoColumnError: no such column: pm2_5Yves Martin schrieb am Montag, 17. Juli 2023 um 14:52:24 UTC+2:Hi,I've installe the module weewx-airlink (https://github.com/chaunceygardiner/weewx-airlink) for the Davis Air Quality, but I have this error :Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.imagegenerator: Generated 18 images for report Bootstrap in 19.46 secondsJul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewxJul 17 08:48:44 weewx4-raspi weewx[24741] INFO user.historygenerator: historygenerator.py: Generated 7 tables in 1.20 secondsJul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 10 files for report Bootstrap in 5.12 secondsJul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 1 files for report lastrain in 0.06 secondsJul 17 08:48:48 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 1 files for report AirLinkReport in 0.06 secondsJul 17 08:48:48 weewx4-raspi weewx[24741] INFO user.airlink: get_scalar called where record does not contain pm2_5.  This is unexpected.Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           no such column: pm2_5Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           Traceback (most recent call last):Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/xtypes.py", line 101, in get_seriesJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               aggregate_interval, **option_dict)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           TypeError: get_series() got an unexpected keyword argument 'SKIN_ROOT'Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           During handling of the above exception, another exception occurred:Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           Traceback (most recent call last):Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weedb/sqlite.py", line 39, in guarded_fnJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               return fn(*args, **kwargs)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weedb/sqlite.py", line 233, in executeJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               return sqlite3.Cursor.execute(self, *args, **kwargs)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           sqlite3.OperationalError: no such column: pm2_5Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           During handling of the above exception, another exception occurred:Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:           Traceback (most recent call last):Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/reportengine.py", line 197, in runJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               obj.start()Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/reportengine.py", line 385, in startJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               self.run()Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/imagegenerator.py", line 42, in runJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               self.gen_images(self.gen_ts)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/imagegenerator.py", line 109, in gen_imagesJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               self.image_dict[timespan][plotname])Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:             File "/usr/share/weewx/weewx/imagegenerator.py", line 249, in gen_plotJul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:               **option_dict)Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         

[weewx-user] Display WS90 Signal Strength

2023-06-16 Thread John Jacklin
I have been dipping in and out of WeeWX for a while. I have it running with 
a Ecowitt Wittboy and a WS90. At the moment it is uploading to here

https://wx-watch.co.uk/weewx/

I have it all setup but I can figure out a way to show the signal status of 
the WS90 in the Sensor Status area.

Please keep in mind my skill levels on this sort of thing are very low and 
unless the instructions are very simplistic I probably will not be able to 
follow them!! Sorry...

-- 
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/12621054-fab3-4d86-a468-4fdb0f992375n%40googlegroups.com.


[weewx-user] WeeWX on a Mac Mini

2023-06-12 Thread John Jacklin
I have WeeWX happily running on a Raspberry Pi with an Ecowitt Wittboy.

I want to release the Pi for other projects so I followed these instructions

https://weewx.com/docs/latest/macos.htm and got it running  on a Mac Mini 
using the Simulator driver.

I want to use the GW1000 driver and SFTP for uploads. On the Pi I would 
download the appropriate packages and then do a 

sudo  wee_extension --install=gw1000-0.5.0b5.tar.gz

and

sudo wee_extension --install weewx-sftp.zip

How do I do this on A Mac

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/3eda96f9-717b-4be0-9a4c-8458178649ccn%40googlegroups.com.


[weewx-user] La Crosse V42 Pro

2023-03-26 Thread John Hartmus II
Has anyone been able to use WEEWX to receive data from the La Crosse V42 
Pro weather station sensors.  The sensors are model number LTV-WSDR1 
and LTV-TH5i.  They both transmit on 915 MHz, according to their specs.  I 
have not been able to find any reference to this model or these sensors in 
the documentation.

Thanks,
John Hartmus II

-- 
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/c1fdfdd3-8335-46bf-bc87-7083164549c3n%40googlegroups.com.


Re: [weewx-user] Re: Backing up weewx.sdb

2023-03-13 Thread 'John Kline' via weewx-user
You might find these shell script fragments helpful.  If you call retry_backup_copy With arguments of the database to backup (weewx.sdb) and a destination file to backup to, the code will check to see if the cksum changed during the copy and also run an integrity check on the copy.  If the cksum changed or the integrity check fails, the copy is retried.make_backup_copy() {        db="$1"        tmp_db_copy="$2"        check_sum="`/usr/bin/cksum $db | cut -d ' ' -f 1`"        cp "$db" $tmp_db_copy        check_sum_after="`/usr/bin/cksum $db | cut -d ' ' -f 1`"        if [ "$check_sum" != "$check_sum_after" ]; then                echo "$db changed during cp!"                return 1        fi        integrity_check="`echo "pragma integrity_check;" | sqlite3 "$tmp_db_copy"`"        if [ "$integrity_check" != "ok" ]; then                echo "$tmp_db_copy failed integrity check!"                return 2        fi        return 0}retry_backup_copy() {    db="$1"    tmp_db_copy="$2"    retval=99    attempts=0    while [ "$retval" -ne 0 ]; do            attempts="`/usr/bin/expr $attempts + 1`"            if [ "$retval" -ne 99 ]; then                    echo "make_backup_copy attempt $attempts"            fi            make_backup_copy "$db" "$tmp_db_copy"            retval="$?"    done}On Mar 13, 2023, at 4:38 AM, michael.k...@gmx.at  wrote:I have an archive_interval of 300s, the database is usually updated within the first 20s after each 5th minute. The cron jobs that backup my sdb files run at minute 1 of every hour/day/week. I've never came across any problems, which doesn't mean this way to work will work always that smoothly. But: having an hourly backup, a daily backup, and a weekly backup done this way, chances are, I'll find a working copy anywhere :)Jonathan Ryshpan schrieb am Montag, 13. März 2023 um 08:29:00 UTC+1:My weewx database, which is on OaklandWeather,  is shared via nfs with my main system, on which key files and folders are backed up daily using rsnapshot.  The files being backed up include weewx.sdb. I have just noted this in the WeeWx User Manual:
Do not make the copy of the SQLite database while in the middle of a transaction! Schedule the backup for
immediately after an archive record is written, and then make sure the backup completes before the next
archive record arrives. Alternatively, stop WeeWX, perform the backup, then restart WeeWX.
What are the bad consequences of backing up during a transaction? Is there just one corrupt entry, or is the whole backup corrupt? Does anyone know a way to control the backup process so that this particular file in not copied during a transaction?-- Many Thanks - Jonathan Ryshpan 

	The best is the enemy of the good -- Voltaire





-- 
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/2be69d2d-c287-449a-aaa4-825b998118edn%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/007A23DB-8E01-4FA4-9717-B052A3C95E63%40johnkline.com.


Re: [weewx-user] WeeWX-Forecast 3.4.0b12 - Zambretti Update Issue

2023-02-10 Thread 'John Kline' via weewx-user
Zambretti generates a forecast once a day.# Zambretti Forecaster## The zambretti forecast is based upon recent weather conditions.  Supposedly# it is about 90% to 94% accurate.  It is simply a table of values based upon# the current barometric pressure, pressure trend, winter/summer, and wind# direction.  Apparently it is most accurate when used at 09:00 to provide# the forecast for the day.## The forecast is generated using data from a period of time prior to 09:00.# The forecast will be the same no matter what time of day it is requested, as# long as there are data for the period prior to 09:00.  A request for forecast# before 09:00 will return the previous day forecast.  If the forecast has# already been generated, it will not be re-generated.On Feb 10, 2023, at 6:36 AM, 'Rory Gillies' via weewx-user  wrote:Hi,I'm running WeeWX 4.8 on a RPi with Debian Bullseye (WeeWX installed via DEB package). I am using the chaunceygardiner version of weewx-forecast 3.4.0b12 with a SQLite forecast database.The forecast extension works fine with the exception of the Zambretti thread which is what I want. I have configured Aeris and it downloads the forecast every 30 minutes, however the Zambretti code is calculated once after restarting the weewx service, and then one again within the interval. After that it is not calculated again or showing up in the syslog until the weewx service is restarted.Here are the relevant sections of weewx.conf:[DataBindings]
    [[wx_binding]]
    [[forecast_binding]]
        manager = weewx.manager.Manager
        schema = user.forecast.schema
        table_name = archive
        database = forecast_sqlite[Databases]    [[forecast_sqlite]]        database_name = forecast.sdb        database_type = SQLite[Engine]    [[Services]]        archive_services = weewx.engine.StdArchive, user.forecast.ZambrettiForecast, user.forecast.AerisForecast[Forecast]    data_binding = forecast_binding    interval = 1800    [[Zambretti]]        hemisphere = NORTH    [[Aeris]]        client_id = xxx        client_secret = xxxAnd the skin.conf that I'm running (NeoWX Material):[CheetahGenerator]    search_list_extensions = user.historygenerator.MyXSearch, user.forecast.ForecastVariablesAnd the index.html.tmpl where the Zambretti forecast is called:                                #if $forecast.zambretti.code == 'A'                #if $current.radiation.raw > 0                                #else                                #end if              #else if $forecast.zambretti.code == 'B'                #if $current.radiation.raw > 0                                #else                                #end if              #else if $forecast.zambretti.code == 'C'                            #else if $forecast.zambretti.code == 'D'                            #else if $forecast.zambretti.code == 'E'                            #else if $forecast.zambretti.code == 'F'                            #else if $forecast.zambretti.code == 'G'                            #else if $forecast.zambretti.code == 'H'                            #else if $forecast.zambretti.code == 'I'                            #else if $forecast.zambretti.code == 'J'                            #else if $forecast.zambretti.code == 'K'                            #else if $forecast.zambretti.code == 'L'                            #else if $forecast.zambretti.code == 'M'                            #else if $forecast.zambretti.code == 'N'                            #else if $forecast.zambretti.code == 'O'                            #else if $forecast.zambretti.code == 'P'                            #else if $forecast.zambretti.code == 'Q'                            #else if $forecast.zambretti.code == 'R'                            #else if $forecast.zambretti.code == 'S'                            #else if $forecast.zambretti.code == 'T'                            #else if $forecast.zambretti.code == 'U'                            #else if $forecast.zambretti.code == 'V'                            #else if $forecast.zambretti.code == 'W'                            #else if $forecast.zambretti.code == 'X'                            #else if $forecast.zambretti.code == 'Y'                            #else if $forecast.zambretti.code == 'Z'                            #end if                                $forecast.label('Zambretti', $forecast.zambretti.code)## display Zambretti code for debug          $forecast.zambretti.code                              Issued at           $forecast.zambretti.issued_ts.format($Extras.Formatting.datetime_today)                  And here is the syslog after starting the weewx service:Feb 10 09:09:00 weather systemd[1]: Starting LSB: weewx weather system...Feb 10 09:09:01 weather weewx[674112] INFO __main__: Initializing weewx version 4.8.0Feb 10 09:09:01 weather weewx[674112] INFO __main__: Using Python 3.9.2 (default, Feb 28 2021, 17:03:44) #012[GCC 10.2.1 20210110]Feb 10 09:09:01 weather weewx[674112] INFO 

Re: [weewx-user] Re: weewx server?

2023-01-07 Thread John W. Springman III
I have a couple domain names from google domains for the couple websites I 
have.  The raspberry pi just runs weewx to upload my weather station to 
some of the options on there and the pi also has a broadcastify scanner 
feed that I have on there.   

On Friday, January 6, 2023 at 8:25:18 AM UTC-5 Cameron D wrote:

> Are you saying that you have a registered domain name (and that is as far 
> as you have gone), or that you have a web server that is already 
> successfully serving other pages to the public internet? 
>  What exactly is that raspberry pi doing?  If it is serving web pages, is 
> it the same machine that is running weewx?
>
> On Friday, 6 January 2023 at 6:35:21 pm UTC+10 kb3...@gmail.com wrote:
>
>> Lots of info.  Thanks.  I  have a website domain already and use a 
>> raspberry pi for this.  I apparently just can't seem to get it to show 
>> other than on the local network.  
>>
>> On Thursday, January 5, 2023 at 12:13:20 PM UTC-5 pannetron wrote:
>>
>>> If you host a public website from a personal Linux server, as I do, look 
>>> into using fail2ban as a way to detect and block some bad actor bots.  My 
>>> implementation currently has about 2500 IPs blocked because they were 
>>> looking for typical webserver security flaws.
>>>
>>> On Wednesday, January 4, 2023 at 11:11:49 AM UTC-7 do...@dougjenkins.com 
>>> wrote:
>>>
 Glad some of you find this useful.

 I have been using this method since it came out this summer (July 
 2022). I run my infrastructure (Web Server, WeeWX, MQTT, MariaDB) as 
 containers in one stack in its own network all in Docker. I do this to 
 limit what the cloudflare tunnel can access on my network (just WeeWx 
 stuff). All of this works in docker in one stack and one YAML file!

 Like Tom Lawerence mentioned in the video I attached, you have to put 
 Cloudflare in your "circle of trust" as you are depending on them for both 
 the client and server/edge side of the tunnel. You have to make that 
 determination on your own if you are comfortable with that.

 As other methods mentioned here, they are all great alternatives. I was 
 not aware adafriut offered a dashboard to present your data. That can be a 
 good alternative than going through the hassle of hosting a full website 
 for your station.

 If I get a free moment in a few weeks, I can post a step-by-step 
 article on onboarding your WeeWX weather station as a public website using 
 Cloudflare. I think it can help a lot of users who struggle with the 
 network & security setup.

 DDJ

 On Wed, Jan 4, 2023 at 12:49 PM vince  wrote:

> On Tuesday, January 3, 2023 at 6:41:01 PM UTC-8 do...@dougjenkins.com 
> wrote:
>
>> If you are willing to roll up your sleeves and get technical, serving 
>> your website at home can be done safely and securely without changing 
>> your 
>> firewall. There are some steps to do, but at the end it will save you 
>> money 
>> and it will give you some real-world IT experience.
>>
>>
> Very cool - thanks for the pointer to the video.  I hadn't previously 
> figured out the Zero Trust terminology enough to try the tunnel stuff. 
> I'll 
> have to try the tunnel thing too 
>
> For the original poster, Doug's steps 1-3 are very easy.  I'd 
> previously done that using Google Domains ($12/year).
>
> Note - you probably still want to possibly harden your weewx webserver 
> a bit.  There are zillions of bots trying to attack web servers 
> 'especially' all things WordPress.  If you go just with a vanilla weewx 
> setup you're likely in very good shape straight out of the box.  Cool 
> cheap 
> option for sure.
>
> -- 
> 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+...@googlegroups.com.
>
 To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/56afd382-a9ba-49e7-831f-2813872d6db0n%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/bd763a53-1904-477f-960f-dcbf8c110ad5n%40googlegroups.com.


Re: [weewx-user] Re: weewx server?

2023-01-06 Thread John W. Springman III
Lots of info.  Thanks.  I  have a website domain already and use a 
raspberry pi for this.  I apparently just can't seem to get it to show 
other than on the local network.  

On Thursday, January 5, 2023 at 12:13:20 PM UTC-5 pannetron wrote:

> If you host a public website from a personal Linux server, as I do, look 
> into using fail2ban as a way to detect and block some bad actor bots.  My 
> implementation currently has about 2500 IPs blocked because they were 
> looking for typical webserver security flaws.
>
> On Wednesday, January 4, 2023 at 11:11:49 AM UTC-7 do...@dougjenkins.com 
> wrote:
>
>> Glad some of you find this useful.
>>
>> I have been using this method since it came out this summer (July 2022). 
>> I run my infrastructure (Web Server, WeeWX, MQTT, MariaDB) as containers in 
>> one stack in its own network all in Docker. I do this to limit what the 
>> cloudflare tunnel can access on my network (just WeeWx stuff). All of this 
>> works in docker in one stack and one YAML file!
>>
>> Like Tom Lawerence mentioned in the video I attached, you have to put 
>> Cloudflare in your "circle of trust" as you are depending on them for both 
>> the client and server/edge side of the tunnel. You have to make that 
>> determination on your own if you are comfortable with that.
>>
>> As other methods mentioned here, they are all great alternatives. I was 
>> not aware adafriut offered a dashboard to present your data. That can be a 
>> good alternative than going through the hassle of hosting a full website 
>> for your station.
>>
>> If I get a free moment in a few weeks, I can post a step-by-step article 
>> on onboarding your WeeWX weather station as a public website using 
>> Cloudflare. I think it can help a lot of users who struggle with the 
>> network & security setup.
>>
>> DDJ
>>
>> On Wed, Jan 4, 2023 at 12:49 PM vince  wrote:
>>
>>> On Tuesday, January 3, 2023 at 6:41:01 PM UTC-8 do...@dougjenkins.com 
>>> wrote:
>>>
 If you are willing to roll up your sleeves and get technical, serving 
 your website at home can be done safely and securely without changing your 
 firewall. There are some steps to do, but at the end it will save you 
 money 
 and it will give you some real-world IT experience.


>>> Very cool - thanks for the pointer to the video.  I hadn't previously 
>>> figured out the Zero Trust terminology enough to try the tunnel stuff. I'll 
>>> have to try the tunnel thing too 
>>>
>>> For the original poster, Doug's steps 1-3 are very easy.  I'd previously 
>>> done that using Google Domains ($12/year).
>>>
>>> Note - you probably still want to possibly harden your weewx webserver a 
>>> bit.  There are zillions of bots trying to attack web servers 'especially' 
>>> all things WordPress.  If you go just with a vanilla weewx setup you're 
>>> likely in very good shape straight out of the box.  Cool cheap option for 
>>> sure.
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/56afd382-a9ba-49e7-831f-2813872d6db0n%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/fb5949ed-7a16-4c63-90e7-fa0c84e86781n%40googlegroups.com.


Re: [weewx-user] weewx.4.6.0 : since.py : KeyError: 'trend'

2023-01-03 Thread John Smith
Thanks for the reminder, I updated the inigo extension to fix it's copy of
since.py

On Tue, 3 Jan 2023 at 08:38, Derek Harding 
wrote:

> I can't find a copy of since.py anywhere on my installations (I have two
> weather stations in different locations). Both of them only have
> inigo-since.py.
> I'm running raspberry pi's with version 4.7.0 and 4.9.1
> Can someone suggest into which directory I should place Glen's version of
> since.py?
>
> On Thursday, 6 October 2022 at 02:58:33 UTC+13 Greg from Oz wrote:
>
>> Thanks Glenn your copy of since.py works with version 4.8.0.
>> https://weather.ubeaut.work/
>>
>> On Sunday, 2 October 2022 at 21:54:49 UTC+11 Glenn McKechnie wrote:
>>
>>> Looks like I'm still using this once - with WeeWX 4.6.0
>>> See attached
>>>
>>> On 02/10/2022, Greg from Oz  wrote:
>>> > Hi,
>>> >
>>> > Is there a copy of the since.py that works with the later versions of
>>> > weewx?
>>> > I cannot find a working copy of it anywhere.
>>> > I tried adding the bits that Tom suggested but obviously I didn't do
>>> it
>>> > correctly and it didn't work.
>>> >
>>> > Thanks
>>> >
>>> > On Monday, 7 February 2022 at 09:45:55 UTC+11 Glenn McKechnie wrote:
>>> >
>>> >> Thanks Tom, for the explanation and the quick fix. It's applied and
>>> >> working.
>>> >>
>>> >> I'll mull over your explanation, bits of it make sense - I'll need
>>> >> more time for the rest ;-)
>>> >>
>>> >> Thanks again.
>>> >>
>>> >> On 07/02/2022, Tom Keffer  wrote:
>>> >> > The problem here is a little technical, so bear with me.
>>> >> >
>>> >> > The way things work normally is that the default configuration for
>>> the
>>> >> > Cheetah generator includes a TimeBinder in the search list. Because
>>> a
>>> >> > TimeBinder includes an attribute 'trend', the tag $trend works.
>>> >> >
>>> >> > The problem is that the extension since.py also includes a
>>> TimeBinder,
>>> >> but
>>> >> > one that has not been properly initialized. It needs a keyword
>>> argument
>>> >> > "trend".
>>> >> >
>>> >> > Why did it work before, but not now? Because the order of
>>> evaluation of
>>> >> >
>>> >> the
>>> >> > search list changed. Before, it searched built-in objects first,
>>> then
>>> >> user
>>> >> > extensions. V4.6 does it the other way around: it searches user
>>> >> extensions
>>> >> > first, then the built-ins. This is to allow overriding the behavior
>>> of
>>> >> the
>>> >> > built-in search list, which the since.py extension inadvertently
>>> did.
>>> >> > So,
>>> >> > when evaluating the tag $trend, the custom, not properly
>>> initialized,
>>> >> > version of TimeBinder is hit first, and the built-in version is
>>> never
>>> >> seen.
>>> >> > This re-ordering should have been mentioned in the Upgrade Guide.
>>> >> >
>>> >> > There are two ways to fix:
>>> >> >
>>> >> > 1. Properly initialize the instance of TimeBinder in since.py.
>>> >> > 2. Change the logic of since.py. Frankly, I don't know why it
>>> returns a
>>> >> > TimeBinder at all. It's way more complicated than it needs to be,
>>> and
>>> >> > has
>>> >> > the side effect that it's basically overriding all of the tags,
>>> >> > including
>>> >> > such mundane tags as $day, $week, etc. It gets away with this
>>> because
>>> >> > its
>>> >> > semantics are identical for these other tags.
>>> >> >
>>> >> > If you want a quick fix, do option #1. Here's the delta
>>> >> >
>>> >> >
>>> >> > --- since.py 2022-02-06 04:59:19.0 -0800
>>> >> > ***
>>> >> > *** 160,169 
>>> >> >
>>> >> > formatter=self.formatter,
>>> >> >
>>> >> > converter=self.converter)
>>> >> >
>>> >> > tspan_binder = NewBinder(db_lookup,
>>> >> > ! timespan.stop,
>>> >> > ! self.generator.formatter,
>>> >> > ! self.generator.converter)
>>> >> >
>>> >> > t2 = time.time()
>>> >> > logdbg2("Since SLE executed in %0.3f seconds" % (t2-t1))
>>> >> > --- 160,176 
>>> >> >
>>> >> > formatter=self.formatter,
>>> >> >
>>> >> > converter=self.converter)
>>> >> >
>>> >> > + try:
>>> >> > + trend_dict = self.generator.skin_dict['Units']['Trend']
>>> >> > + except KeyError:
>>> >> > + trend_dict = {'time_delta': 10800,
>>> >> > + 'time_grace': 300}
>>> >> > +
>>> >> > tspan_binder = NewBinder(db_lookup,
>>> >> > ! timespan.stop,
>>> >> > ! self.generator.formatter,
>>> >> > ! self.generator.converter,
>>> >> > ! trend=trend_dict)
>>> >> >
>>> >> > t2 = time.time()
>>> >> > logdbg2("Since SLE executed in %0.3f seconds" % (t2-t1))
>>> >> >
>>> >> > But, really, since.py should be fixed so that it doesn't override
>>> >> > default
>>> >> > behavior.
>>> >> >
>>> >> > -tk
>>> >> >
>>> >> >
>>> >> >
>>> >> > On Sat, Feb 5, 2022 at 10:21 PM Glenn McKechnie <
>>> glenn.m...@gmail.com>
>>> >> > wrote:
>>> >> >
>>> >> >> Just a heads up to anyone out there that uses since.py (used to
>>> shift
>>> >> >> the rain window)
>>> >> >> and has upgraded to weewx.4.6.0
>>> >> >>
>>> >> >> I went through the process (I needed the new lang option) and for
>>> the
>>> >> >> life of me couldn't work out why 

Re: [weewx-user] Windchill Text Value / Graph Discrepancy

2023-01-03 Thread 'John Kline' via weewx-user
> Tom and Gary confirmed that the VP2 hardware generated values for windchill are only available in the LOOP2 packets.I’m not sure why you think that is relevant.  The question is, whether software or hardware generated, do the loop packets have windchill.  I confirmed they do contain windchill (for my VP2) before my initial reply.On Jan 3, 2023, at 6:06 AM, Steve Schindler  wrote:Thanks for the suggestion but I don't think that's the issue with my setup.  In a previous discussion (https://groups.google.com/g/weewx-user/c/roOG0u8YPX4/m/Tc4vWnznAgAJ), Tom and Gary confirmed that the VP2 hardware generated values for windchill are only available in the LOOP2 packets.---tke...@gmail.comJul 24, 2020, 8:21:48 PMto weewx-userGeez, Gary, you're right! So, you would also have to specify LOOP2 packets. See the section [Vantage] in the User's Guide.[Vantage]  loop_request = 2-tkOn Fri, Jul 24, 2020 at 5:13 PM gjr80  wrote:Windchill is only in included in the Davis LOOP2 packet, it’s not in the LOOP packet or archive record (the defaults) from the console. So unless you have set WeeWX to use the LOOP2 packet WeeWX will never see windchill from the console, irrespective of StdWXCalculate settings.Gary---And the User's Guide states "Not all stations support LOOP2 data. You need firmware version 1.90 or later."So I don't think the loop_hilo parameter will affect the windchill value with my setup.On Saturday, December 31, 2022 at 1:07:01 PM UTC-5 jo...@johnkline.com wrote:Tom and friends will know for sure, but I believe the low you are seeing (at 07:31) is from the archive_day_windchill table.You likely have the following in your weewx.conf    # Whether to include LOOP data in hi/low statistics    loop_hilo = TrueThis tells weewx (well, it tells it to do exactly what the comment says).  Note: vantage loop packets do indeed include windchill.The archive table (produced from vantage archive records) does not include this low and the graphs are produced from archive records.I don’t think you are seeing anything *wrong*.Note: these highs and lows in the daily stats get wiped out if you run wee_database —rebuild-daily (which is unfortunate).On Dec 31, 2022, at 9:21 AM, Steve Schindler  wrote:During the recent cold weather, I noticed a discrepancy between the windchill minimum value in the table and the value/time shown on the graph. For 12-24-22, the
Low Wind Chill in the Since Midnight table is 23.6F at 07:31, but the
graph doesn't reflect that value. It shows a low of about 27F at
about 8:00. For 12-25-22, the temperature discrepancy is about the same
but time difference is greater. See the screenshots below. All other values (temp, humidity, wind) agree between the table and the graphs.
I'm using a Davis VP2 with firmware version 1.82 so WeeWX is
calculating the windchill value. Any thoughts on what's happening and how it can be corrected?
I'm in Florida so my troubleshooting/testing opportunities are limited to when a cold front passes through. However, I suspect that heat index has the same
problem and, if so, I'll have plenty of time to work on that that this summer.
:-)12-2412-25



-- 
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/183e065c-2fc6-4b2b-aaff-99ec35fa8ca1n%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/70448a2d-6bfb-4e85-9e56-97f489dbf515n%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/EB664955-0E7E-4ACC-B782-B77D93EC7C7C%40johnkline.com.


[weewx-user] weewx server?

2023-01-03 Thread John W. Springman III
I was able to get the local network page of my weewx station but how do you 
see this from the public ip?

[image: Screenshot 2023-01-03 at 07-22-00 KB3AWQ Williamsport PA(1).png]


-- 
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/d4fadc5b-788e-473e-87dd-e5abc717ea39n%40googlegroups.com.


Re: [weewx-user] Windchill Test Value / Graph Discrepancy

2022-12-31 Thread 'John Kline' via weewx-user
Tom and friends will know for sure, but I believe the low you are seeing (at 07:31) is from the archive_day_windchill table.You likely have the following in your weewx.conf    # Whether to include LOOP data in hi/low statistics    loop_hilo = TrueThis tells weewx (well, it tells it to do exactly what the comment says).  Note: vantage loop packets do indeed include windchill.The archive table (produced from vantage archive records) does not include this low and the graphs are produced from archive records.I don’t think you are seeing anything *wrong*.Note: these highs and lows in the daily stats get wiped out if you run wee_database —rebuild-daily (which is unfortunate).On Dec 31, 2022, at 9:21 AM, Steve Schindler  wrote:During the recent cold weather, I noticed a discrepancy between the windchill minimum value in the table and the value/time shown on the graph. For 12-24-22, the
Low Wind Chill in the Since Midnight table is 23.6F at 07:31, but the
graph doesn't reflect that value. It shows a low of about 27F at
about 8:00. For 12-25-22, the temperature discrepancy is about the same
but time difference is greater. See the screenshots below. All other values (temp, humidity, wind) agree between the table and the graphs.
I'm using a Davis VP2 with firmware version 1.82 so WeeWX is
calculating the windchill value. Any thoughts on what's happening and how it can be corrected?
I'm in Florida so my troubleshooting/testing opportunities are limited to when a cold front passes through. However, I suspect that heat index has the same
problem and, if so, I'll have plenty of time to work on that that this summer.
:-)12-2412-25



-- 
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/183e065c-2fc6-4b2b-aaff-99ec35fa8ca1n%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/6C13C1D9-CCAC-4AAE-B7CB-B3B5B040B7BA%40johnkline.com.


Re: [weewx-user] Working drivers for TWI, Vaisala WXT, Peet Bros Ultimeter

2022-11-16 Thread 'John Kline' via weewx-user
Hi Dale,

Where are you located?

> On Nov 16, 2022, at 7:59 PM, DR  wrote:
> 
> After many years and a comfortable implementation of the Rainwise IP-100 
> driver, my Rainwise station has died, seems currently unfixable.  Despite 
> loosing most of the summer trying to get the ISS to transmit again, I've lost 
> all taht time and have to look for other inputs.
> 
> Looking through the Wiki, I see there may be three other station types for 
> which there are drivers which I might try.
> 
> 
> I have a Vaisala WXT520, a Texas Weather Instruments, and a Peet Bros 
> Ultimeter which I might try.
> 
> Having followed the messages here, I know there were updates to Python 3, 
> which required some modifications to the drivers that are on GitHub, and then 
> a recent upgrade in WeeWx itself.
> 
> 
> My question is to current users of WeeWx, do you have a station working with 
> the latest WeeWx, the latest Python and any of the three drivers mentioned 
> here?
> 
> 
> If there is success, I will focus on trying to get my WeeWx working again.
> 
> 
> I know the ultimate would be to learn enough Python to implement my own 
> driver and be able to fix it, but quite honestly, after a several month 
> illness, I find that my previous understanding which I was proud of now has 
> become fuzzy and a personal expectation to rev my mental processes up may 
> take longer than I want to be without a WeeWx running, so I'm looking for the 
> most likely path to success, and then get back on trying to get things 
> working with understanding Python.
> 
> 
> I appreciate any comments that might steer me to one of these three mentioned 
> drivers to see if I should even start down a particular path with a station 
> type.
> 
> 
> Oh, one last question:  I had some notes on a sort of universal driver which 
> was mentioned as a starting point for someone wishing to begin to learn how 
> things work.  If I recall, it took a text file of the station's readings and 
> converted it into a LOOP type input for WeeWx to ingest.  One 'only' needed 
> to get data from the weather station, format it into a list or dictionary, 
> and then give it to WeeWx.  I have been through the developer's guide and 
> hardware guide and the wiki but for the life of me cannot see the name of 
> that referenced.  Have I triggered enough recognition that someone might tell 
> me the name of the driver and I'll go study that again to start.
> 
> Thank youDale
> 
> 
> -- 
> 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/3fffddf3-df46-5491-c6f0-5fde01fb64c4%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/4BE74D10-E52F-4FDE-983D-20FE1C73FE9B%40johnkline.com.


Re: [weewx-user] Re: Rsync Help or User Help :o)

2022-11-15 Thread 'John Kline' via weewx-user
A trailing slash means copy the contents of the directory.Note that WeeWX code will add the slash if it is a directory.  See code snippet below.weewx/rsyncupload.py at master · weewx/weewxgithub.com        # If the source path ends with a slash, rsync interprets        # that as a request to copy all the directory's *contents*,        # whereas if it doesn't, it copies the entire directory.        # We want the former, so make it end with a slash.        # Note: Don't add the slash if local_root isn't a directory        if self.local_root.endswith(os.sep) or not os.path.isdir(self.local_root):            rsynclocalspec = self.local_root        else:            rsynclocalspec = self.local_root + os.sepOn Nov 15, 2022, at 7:33 AM, cric...@pobox.com  wrote:A couple of points about the trailing slashes.  A trailing slash means copy the contents of the directory.  The --archivemeans copy everything below the specified directory.  Not including a trailing slash means copy this directory and with--archive, everything below it.  It's not a matter of rsync not working because of the slashes, it just does two similar, butdifferent things.  The man pages for rsync are pretty good.As for the ssh keys, I'm pretty sure you can just copy the ~fiaranch/.ssh/id_rsa to ~root/.ssh.  No need to create root-specifickey pair and copy the public server's .ssh directory.  Oh, one other thing that's really important:The .ssh directory permissions are critical.  The directory itself must be chmod 0700.  The files inside it should be chmod 0600.This is true for all the .ssh directories on both ends of the connection.My setup is a little different; I rsync to another local machine that runs a web server.  Then I've got a separate script forpublishing the weewx (and a few other sites) to a public host, since the various href's need to be updated.On Tuesday, November 15, 2022 at 5:25:11 AM UTC-7 Greg Troxel wrote:
"gszla...@gmail.com"  writes:

> 1. Vince is correct. WeeWX runs as root and RSA generation must be done as 
> root.

I was sure Vince was correct to start with :-) but I think running weewx
as root is the wrong thing to do.   I run it as a non-root user, and
really there should be a dedicated weewx user that has permissions to do
what it needs (read the serial port, write the db, access credentials
for upload) and no more.

But this is really "how best to configure weewx on operating system X",
which is orthogonal to "how should I made weewx on system X already
configured as Y work".




-- 
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/a69561f5-048a-4e2f-bc8f-e009a9cc2911n%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/E14937D0-EDC4-4C7B-9500-D716F41C09B4%40johnkline.com.


Re: [weewx-user] Re: Bug with Pi OS 64 and Raspberry Zero 2w

2022-10-01 Thread 'John Kline' via weewx-user
I only run 64 bit on my Raspberry Pi 4s because lots/most software is no longer 
sufficiently tested on 32bits.  Even is WeeWX is well tested on 32-bits, there 
is so much more that is running, and being updated, on the Pi.  As such, I 
would not push back on that IN MOST CASES.

But this is a case where you probably shouldn’t be running it.  I *think* the 
Pi Zero only has 512MB of RAM.  What all is running on the Pi Zero?  I expect 
it might be slow (there are plenty of reports of that), but I’m surprised there 
are crashes.

> On Oct 1, 2022, at 11:46 AM, vince  wrote:
> 
> Are you trying to run a full desktop on the zero?
> And why would you run a 64 bit os on a box with 1 GB of RAM anyway ?
> 
>> On Saturday, October 1, 2022 at 11:36:42 AM UTC-7 michael.k...@gmx.at wrote:
>> I'm using weewx on a Raspberry Pi 4B with Rasperry Pi OS 64 bit without any 
>> issues.
>> 
>> remy.l...@gmail.com schrieb am Samstag, 1. Oktober 2022 um 18:44:06 UTC+2:
>>> Good morning all.
>>> I have been using weewx for 3 years with pi os 32B without any problem with 
>>> a pi zero w then 2w.
>>> Since I switched to version 64B, I have had lots of incomprehensible 
>>> crashes with the pi not responding and having to reset. weewx is not in 
>>> question.
>>> I tried to increase the swap, to switch to a 3A power supply, to go back to 
>>> the non-gl drivers, nothing helped! 
>>> 
>>> Have you noticed this kind of thing in 64 bits? is there a way to fix the 
>>> problem? thank you..
> 
> -- 
> 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/f2f85b75-b169-4a44-b189-e424684e93dbn%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/2286884E-7C9B-4A8C-B874-1CCF4B5F8F84%40johnkline.com.


Re: [weewx-user] Re: Posting data towards wunderground fails after migration to bullseye

2022-09-20 Thread 'John Kline' via weewx-user
I think *all* stations are showing as offline since yesterday around noon 
Pacific time.

> On Sep 20, 2022, at 7:17 AM, 'Michael Waldor' via weewx-user 
>  wrote:
> 
> 
> Sorry for my posting - the data is sent, received, and displayed by 
> wunderground. I was confused by the first fields from wunderground even 
> claiming that my station is offline. Guess that's a cookie problem with the 
> wunderground page.
> 
> Regards, Michael
> 
> 
> Michael Waldor schrieb am Dienstag, 20. September 2022 um 16:11:37 UTC+2:
>> Yesterday I've upgraded my raspberry pi3 to use the current bullseye. Thus I 
>> had to reinstall all my programs including weewx. Now weewx is using the 
>> current release 4.8.0 (formerly I was on 4.7.0) with the patched version of 
>> wh23xx driver. Everything is working, but my posts towards wunderground are 
>> not received. There is no error message within my logs (journalctl), even if 
>> checking with debug=2. I see the usual message 
>> 
>> Sep 19 13:51:31 imurr9 python3[561]: weewx[561] INFO weewx.restx: 
>> Wunderground-P
>> WS: Data for station IMURR9 will be posted
>> ...
>> Sep 20 15:50:28 imurr9 python3[5876]: weewx[5876] DEBUG weewx.restx: 
>> Ambient: ur
>> l: 
>> https://weatherstation.wunderground.com/weatherstation/updateweatherstation.p
>> hp?action=updateraw=IMURR9=XXX=weewx-4.8.0=30.2
>> 43=2022-09-20%2013%3A50%3A00=0.00=45.7=0.00
>> midity=054=62.6=318.22=3.25=244=3.1&
>> windspeedmph=1.8
>> 
>> But since I did the update ,no data are received by wunderground. Of course 
>> I've set the "correct" password/API-key from wunderground (working within 
>> buster & weewx-4.7.0).
>> 
>> I can even sent the given URL from above using firefox (with proper 
>> password), get a success, but no data are visible within wunderground.
>> 
>> Any indeas?
>> 
>> Regards, Michael
> 
> -- 
> 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/e3b7c392-780f-46fa-8a88-c36f92d9577an%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/CC7B5502-EC5B-4F73-AF52-F1E820C0BA14%40johnkline.com.


Re: [weewx-user] Lose connection to data until reboot

2022-09-20 Thread 'John Kline' via weewx-user
You still have the problem that something is eating all of your memory.

Assuming you got the process ID correct, something(s) else will be killed. 

> On Sep 20, 2022, at 3:40 AM, Johnnie Walker  wrote:
> 
> 
> Hi John/Tom - many thanks to you both.
> 
> On the server instance: running on normal PC hardware, 16GB RAM, Ubuntu 
> Server (think 20.04). I wrote "-1000" to /proc/PROC_ID/oom_score_adj - and 
> we'll see what happens from here. Server mainly used for internal websites, 
> also runs Ubiquiti Unifi Controller.
> 
> Tom - I had thought I needed the WLL to serve data to weewx over the LAN, so 
> figured [WeatherLinkLive] in weewx.conf. Have just now checked the file and I 
> have both [Vantage] and [WeatherLinkLive] sections configured. It sounds as 
> if I could remove the WeatherLink one? Am remembering I used a plugin 
> initially to link to the WLL, maybe that's obsolete now.
> 
> Both sections copied in below from conf file.
> 
> Thanks - JW
> 
> 
> [Vantage]
> # This section is for the Davis Vantage series of weather stations.
> 
> # Connection type: serial or ethernet
> #  serial (the classic VantagePro)
> #  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
> type = ethernet
> 
> # If the connection type is serial, a port must be specified:
> #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
> # /dev/ttyUSB0 is a common USB port name
> # /dev/ttyS0   is a common serial port name
> #   BSD:
> # /dev/cuaU0   is a common serial port name
> port = /dev/ttyUSB0
> 
> # If the connection type is ethernet, an IP Address/hostname is required:
> host = 192.168.1.210
> 
> ##
> # The rest of this section rarely needs any attention.
> # You can safely leave it "as is."
> ##
> 
> # Serial baud rate (usually 19200)
> baudrate = 19200
> 
> # TCP port (when using the WeatherLinkIP)
> tcp_port = 2
> 
> # TCP send delay (when using the WeatherLinkIP):
> tcp_send_delay = 0.5
> 
> # The type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both
> loop_request = 1
> 
> # The id of your ISS station (usually 1). If you use a wind meter 
> connected
> # to a anemometer transmitter kit, use its id
> iss_id = 1
> 
> # How long to wait for a response from the station before giving up (in
> # seconds; must be greater than 2)
> timeout = 4
> 
> # How long to wait before trying again (in seconds)
> wait_before_retry = 1.2
> 
> # How many times to try before giving up:
> max_tries = 4
> 
> # Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
> model_type = 2
> 
> # The driver to use:
> driver = weewx.drivers.vantage
> 
> ..
> 
> [WeatherLinkLive]
> driver = user.weatherlink_live
> host = 192.168.1.210
> polling_interval = 10
> mapping = th:1, th_indoor, baro, rain:1, wind:1, thw:1, thsw:1, 
> windchill:1
> 
> 
> On Mon, Sep 19, 2022 at 9:38 PM Tom Keffer  wrote:
>> I agree with John that this is an out-of-memory problem, but I wonder why 
>> you are getting the offset in humidity during the down time. Is this an 
>> artifact of using WeatherLinkLive? Indeed, why are you using WLL? Why not 
>> just go to the VP2 directly?
>> 
>> On Mon, Sep 19, 2022 at 6:25 PM 'John Kline' via weewx-user 
>>  wrote:
>>> Correction, the file is /proc//oom-score-adj
>>> 
>>>> On Sep 19, 2022, at 6:23 PM, John Kline  wrote:
>>>> 
>>>> 
>>>> It doesn’t look like you are losing the connection to your Vantage Pro2.  
>>>> Rather, the kernel is killing WeeWX because you’re running of of memory.
>>>> 
>>>> You could write -1000 to the /proc//oom-kill-adj 
>>>> file to keep it from killing WeeWX, but then something else will be killed 
>>>> to free up memory.
>>>> 
>>>> What are you running WeeWX on?  How much memory?  What else is running?
>>>> 
>>>>> On Sep 19, 2022, at 6:10 PM, Johnnie Walker  wrote:
>>>>> 
>>>>> Hi,
>>>>> I'd had a recurring issue for some months that the weewx service loses 
>>>>> connection to my Davis Vantage Pro2 / WeatherLink. Basic solution has 
>>>>> been to reboot which brings things back into action, although I lose the 
>>>>> data for the period during which the problem occurred. Shows up as breaks 
>>>>> 

Re: [weewx-user] Lose connection to data until reboot

2022-09-19 Thread 'John Kline' via weewx-user
Correction, the file is /proc//oom-score-adj

> On Sep 19, 2022, at 6:23 PM, John Kline  wrote:
> 
> 
> It doesn’t look like you are losing the connection to your Vantage Pro2.  
> Rather, the kernel is killing WeeWX because you’re running of of memory.
> 
> You could write -1000 to the /proc//oom-kill-adj file 
> to keep it from killing WeeWX, but then something else will be killed to free 
> up memory.
> 
> What are you running WeeWX on?  How much memory?  What else is running?
> 
>>> On Sep 19, 2022, at 6:10 PM, Johnnie Walker  wrote:
>>> 
>> Hi,
>> I'd had a recurring issue for some months that the weewx service loses 
>> connection to my Davis Vantage Pro2 / WeatherLink. Basic solution has been 
>> to reboot which brings things back into action, although I lose the data for 
>> the period during which the problem occurred. Shows up as breaks in the 
>> charts (for example):
>> 
>> I have some breaks that are 1-2 days or more if I was on travel and didn't 
>> realize until I returned.
>> I just took time to search /var/log/syslog for the instance that happened 
>> today - log is copied in below. And it looks like an out of memory error, so 
>> the process is killed. (Log is grep'd for "weewx" , I copied in the log info 
>> grep'd "oom" further below). The log entries around 16:12 and after are when 
>> I rebooted the server.
>> I installed weewx well over 2 years ago so can't recollect how I installed. 
>> I can post the weewx.conf file if needed.
>> Could anyone give me a pointer on how to fix, and is there a way to patch up 
>> the missing data sections?
>> Thanks very much - JW
>> 
>> "weewx"
>> 
>> Sep 19 15:38:31 sparta weewx[1081] INFO user.weatherlink_live: Emitting poll 
>> packet
>> Sep 19 15:38:31 sparta weewx[1081] INFO user.weatherlink_live: Emitting push 
>> (broadcast) packet
>> Sep 19 15:38:38 sparta weewx[1081] message repeated 4 times: [ INFO 
>> user.weatherlink_live: Emitting push (broadcast) packet]
>> Sep 19 15:38:41 sparta weewx[1081] INFO user.weatherlink_live: Emitting poll 
>> packet
>> Sep 19 15:38:41 sparta weewx[1081] INFO user.weatherlink_live: Emitting push 
>> (broadcast) packet
>> Sep 19 15:38:51 sparta weewx[1081] message repeated 4 times: [ INFO 
>> user.weatherlink_live: Emitting push (broadcast) packet]
>> Sep 19 15:38:51 sparta weewx[1081] INFO user.weatherlink_live: Emitting poll 
>> packet
>> Sep 19 15:38:53 sparta weewx[1081] INFO user.weatherlink_live: Emitting push 
>> (broadcast) packet
>> Sep 19 15:39:01 sparta weewx[1081] message repeated 3 times: [ INFO 
>> user.weatherlink_live: Emitting push (broadcast) packet]
>> Sep 19 15:39:01 sparta weewx[1081] INFO user.weatherlink_live: Emitting poll 
>> packet
>> Sep 19 15:39:02 sparta kernel: [1192066.955832] 
>> oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=23c2c8bc241e51af783d9abaf3b8008403f4099db600e63a6284359bda22502e,mems_allowed=0,global_oom,task_memcg=/system.slice/weewx.service,task=python3,pid=1081,uid=0
>> Sep 19 16:12:45 sparta systemd[1]: Starting LSB: weewx weather system...
>> Sep 19 16:12:45 sparta weewx[907]:  * Starting weewx weather system weewx
>> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Initializing weewx version 
>> 4.8.0
>> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Using Python 3.8.10 
>> (default, Jun 22 2022, 20:18:18) #012[GCC 9.4.0]
>> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Platform 
>> Linux-5.4.0-125-generic-x86_64-with-glibc2.29
>> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Locale is 'C.UTF-8'
>> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Using configuration file 
>> /etc/weewx/weewx.conf
>> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Debug is 0
>> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: PID file is 
>> /var/run/weewx.pid
>> Sep 19 16:12:46 sparta weewx[1090] INFO weewx.engine: Loading station type 
>> WeatherLinkLive (user.weatherlink_live)
>> Sep 19 16:12:46 sparta weewx[907]:...done.
>> Sep 19 16:12:46 sparta systemd[1]: Started LSB: weewx weather system.
>> 
>> "oom"
>> 
>> Sep 19 15:39:02 sparta kernel: [1192066.955659] python3 invoked oom-killer: 
>> gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
>> Sep 19 15:39:02 sparta kernel: [1192066.955672]  
>> oom_kill_process.cold+0xb/0x10
>> Sep 19 15:39:02 sparta kernel: [1192066.955745] [  pid  ]   uid  tgid 
>> total_vm  rss pgtables_bytes swapents oom_score_adj name
>> Sep 19 15:39:02 sparta kernel: [1192066.9558

Re: [weewx-user] Lose connection to data until reboot

2022-09-19 Thread 'John Kline' via weewx-user
It doesn’t look like you are losing the connection to your Vantage Pro2.  
Rather, the kernel is killing WeeWX because you’re running of of memory.

You could write -1000 to the /proc//oom-kill-adj file to 
keep it from killing WeeWX, but then something else will be killed to free up 
memory.

What are you running WeeWX on?  How much memory?  What else is running?

> On Sep 19, 2022, at 6:10 PM, Johnnie Walker  wrote:
> 
> Hi,
> I'd had a recurring issue for some months that the weewx service loses 
> connection to my Davis Vantage Pro2 / WeatherLink. Basic solution has been to 
> reboot which brings things back into action, although I lose the data for the 
> period during which the problem occurred. Shows up as breaks in the charts 
> (for example):
> 
> I have some breaks that are 1-2 days or more if I was on travel and didn't 
> realize until I returned.
> I just took time to search /var/log/syslog for the instance that happened 
> today - log is copied in below. And it looks like an out of memory error, so 
> the process is killed. (Log is grep'd for "weewx" , I copied in the log info 
> grep'd "oom" further below). The log entries around 16:12 and after are when 
> I rebooted the server.
> I installed weewx well over 2 years ago so can't recollect how I installed. I 
> can post the weewx.conf file if needed.
> Could anyone give me a pointer on how to fix, and is there a way to patch up 
> the missing data sections?
> Thanks very much - JW
> 
> "weewx"
> 
> Sep 19 15:38:31 sparta weewx[1081] INFO user.weatherlink_live: Emitting poll 
> packet
> Sep 19 15:38:31 sparta weewx[1081] INFO user.weatherlink_live: Emitting push 
> (broadcast) packet
> Sep 19 15:38:38 sparta weewx[1081] message repeated 4 times: [ INFO 
> user.weatherlink_live: Emitting push (broadcast) packet]
> Sep 19 15:38:41 sparta weewx[1081] INFO user.weatherlink_live: Emitting poll 
> packet
> Sep 19 15:38:41 sparta weewx[1081] INFO user.weatherlink_live: Emitting push 
> (broadcast) packet
> Sep 19 15:38:51 sparta weewx[1081] message repeated 4 times: [ INFO 
> user.weatherlink_live: Emitting push (broadcast) packet]
> Sep 19 15:38:51 sparta weewx[1081] INFO user.weatherlink_live: Emitting poll 
> packet
> Sep 19 15:38:53 sparta weewx[1081] INFO user.weatherlink_live: Emitting push 
> (broadcast) packet
> Sep 19 15:39:01 sparta weewx[1081] message repeated 3 times: [ INFO 
> user.weatherlink_live: Emitting push (broadcast) packet]
> Sep 19 15:39:01 sparta weewx[1081] INFO user.weatherlink_live: Emitting poll 
> packet
> Sep 19 15:39:02 sparta kernel: [1192066.955832] 
> oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=23c2c8bc241e51af783d9abaf3b8008403f4099db600e63a6284359bda22502e,mems_allowed=0,global_oom,task_memcg=/system.slice/weewx.service,task=python3,pid=1081,uid=0
> Sep 19 16:12:45 sparta systemd[1]: Starting LSB: weewx weather system...
> Sep 19 16:12:45 sparta weewx[907]:  * Starting weewx weather system weewx
> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Initializing weewx version 
> 4.8.0
> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Using Python 3.8.10 
> (default, Jun 22 2022, 20:18:18) #012[GCC 9.4.0]
> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Platform 
> Linux-5.4.0-125-generic-x86_64-with-glibc2.29
> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Locale is 'C.UTF-8'
> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Using configuration file 
> /etc/weewx/weewx.conf
> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: Debug is 0
> Sep 19 16:12:46 sparta weewx[1003] INFO __main__: PID file is 
> /var/run/weewx.pid
> Sep 19 16:12:46 sparta weewx[1090] INFO weewx.engine: Loading station type 
> WeatherLinkLive (user.weatherlink_live)
> Sep 19 16:12:46 sparta weewx[907]:...done.
> Sep 19 16:12:46 sparta systemd[1]: Started LSB: weewx weather system.
> 
> "oom"
> 
> Sep 19 15:39:02 sparta kernel: [1192066.955659] python3 invoked oom-killer: 
> gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
> Sep 19 15:39:02 sparta kernel: [1192066.955672]  
> oom_kill_process.cold+0xb/0x10
> Sep 19 15:39:02 sparta kernel: [1192066.955745] [  pid  ]   uid  tgid 
> total_vm  rss pgtables_bytes swapents oom_score_adj name
> Sep 19 15:39:02 sparta kernel: [1192066.955832] 
> oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=23c2c8bc241e51af783d9abaf3b8008403f4099db600e63a6284359bda22502e,mems_allowed=0,global_oom,task_memcg=/system.slice/weewx.service,task=python3,pid=1081,uid=0
> Sep 19 15:39:02 sparta kernel: [1192066.955996] Out of memory: Killed process 
> 1081 (python3) total-vm:21086716kB, anon-rss:14282388kB, file-rss:0kB, 
> shmem-rss:0kB, UID:0 pgtables:36056kB oom_score_adj: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 
> 

Re: [weewx-user] Re: Help with GW1000 Driver

2022-08-19 Thread John Jacklin

Yes indeed I have - this is how I have been able to get so far! (Just got 
the radiation sorted) But still need to sort the Connectivity and Voltages!

On Friday, 19 August 2022 at 15:09:14 UTC+1 lang@googlemail.com wrote:

> Did you read the driver wiki at https://github.com/gjr80/weewx-gw1000/wiki 
> ?
>
> You should find most if not all answers to your questions there 
> Am 19.08.2022 um 15:45 schrieb John Jacklin:
>
> Sorry - two more questions!! 
>
> I have just noticed Radiation is N/A as well.
>
> Also is it possible to add a AQI graph?
>
> Thanks
>
> On Friday, 19 August 2022 at 14:29:38 UTC+1 John Jacklin wrote:
>
>> I have been running WeeWX with a Davis WLL and a Vantage Pro 2. 
>>
>> https://wx-watch.co.uk/weewxu/
>>
>> I recently got a Ecowitt Wittboy with extra sensors and decided to try 
>> the GW1000 driver.
>> I installed WeeWX and copied the config and data from the above setup 
>> across. Then I installed the GW1000 and then edited to names of my extra 
>> sensors. A couple of questions (simple answers please as I am not very good 
>> at this)
>>
>> Under Sensor Status and Connectivity it is showing Signal Quality N/A - 
>> this I presume is left over from the Davis WLL setup. Can the GW1000 driver 
>> show signal quality and if so how - if not how can I stop it displaying 
>> this.
>>
>> Also Console Battery and Console Voltage (again left over from the WLL I 
>> presume) are N/A - can I show the voltage go the Wittboy Sensors and if so 
>> how or again how do I remove it 
>>
>> https://wx-watch.co.uk/weewx/
>>
>> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/cb087668-8301-4815-9225-5b04dcffab71n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/cb087668-8301-4815-9225-5b04dcffab71n%40googlegroups.com?utm_medium=email_source=footer>
> .
>
>

-- 
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/1fe1bd88-6811-48df-83a4-d90db379e554n%40googlegroups.com.


[weewx-user] Re: Help with GW1000 Driver

2022-08-19 Thread John Jacklin
Sorry - two more questions!!

I have just noticed Radiation is N/A as well.

Also is it possible to add a AQI graph?

Thanks

On Friday, 19 August 2022 at 14:29:38 UTC+1 John Jacklin wrote:

> I have been running WeeWX with a Davis WLL and a Vantage Pro 2.
>
> https://wx-watch.co.uk/weewxu/
>
> I recently got a Ecowitt Wittboy with extra sensors and decided to try the 
> GW1000 driver.
> I installed WeeWX and copied the config and data from the above setup 
> across. Then I installed the GW1000 and then edited to names of my extra 
> sensors. A couple of questions (simple answers please as I am not very good 
> at this)
>
> Under Sensor Status and Connectivity it is showing Signal Quality N/A - 
> this I presume is left over from the Davis WLL setup. Can the GW1000 driver 
> show signal quality and if so how - if not how can I stop it displaying 
> this.
>
> Also Console Battery and Console Voltage (again left over from the WLL I 
> presume) are N/A - can I show the voltage go the Wittboy Sensors and if so 
> how or again how do I remove it 
>
> https://wx-watch.co.uk/weewx/
>
> 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/cb087668-8301-4815-9225-5b04dcffab71n%40googlegroups.com.


[weewx-user] Help with GW1000 Driver

2022-08-19 Thread John Jacklin
I have been running WeeWX with a Davis WLL and a Vantage Pro 2.

https://wx-watch.co.uk/weewxu/

I recently got a Ecowitt Wittboy with extra sensors and decided to try the 
GW1000 driver.
I installed WeeWX and copied the config and data from the above setup 
across. Then I installed the GW1000 and then edited to names of my extra 
sensors. A couple of questions (simple answers please as I am not very good 
at this)

Under Sensor Status and Connectivity it is showing Signal Quality N/A - 
this I presume is left over from the Davis WLL setup. Can the GW1000 driver 
show signal quality and if so how - if not how can I stop it displaying 
this.

Also Console Battery and Console Voltage (again left over from the WLL I 
presume) are N/A - can I show the voltage go the Wittboy Sensors and if so 
how or again how do I remove it 

https://wx-watch.co.uk/weewx/

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/8767cf51-54ca-442c-9da8-fedf201b1d13n%40googlegroups.com.


Re: [weewx-user] Re: cannot read localization file

2022-08-18 Thread 'John Kline' via weewx-user
Another workaround that *should* work is to remove the following line from 
weewx.conf:
lang = en
A workaround that only works if your language is ‘en’.
The code in reportengine only looks for the file if lang is specified.

I don’t have a lang = en line in my weewx.conf and have no such messages in the 
log for my enabled Rsync skin.

> On Aug 18, 2022, at 12:17 PM, Karen K  wrote:
> 
> I guess it is not necessary to specify a language for rsync. May be there a 
> "lang = en" line direct under [StdReport]. A work around could be to create 
> an empty file with the name that is missing.
> 
> vince schrieb am Donnerstag, 18. August 2022 um 20:58:28 UTC+2:
>> In 4.8.0 I'm seeing localization debug messages in syslog for every skin 
>> etc. that I have enabled.
>> 
>> Cannot read localization file /home/weewx/skins/Rsync/lang/en.conf for 
>> report 'RSYNC': Config file not found: "/home/weewx/skins/Rsync/lang/en.conf"
>> 
>> Is there a quick way to suppress all these kinds of messages while leaving 
>> debug enabled ?
>> 
> 
> -- 
> 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/537c873f-65ca-4121-9921-9fe77c300705n%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/0F2EB739-E934-4DC2-BC70-D63F9CE6E3E4%40johnkline.com.


Re: [weewx-user] RSYNC is using IP address and not host name

2022-08-09 Thread 'John Kline' via weewx-user
I just examined the code in /bin/weeutil/rsyncupload.py
It contains:
if self.ssh_options:
rsyncsshstring = rsyncsshstring + " " + self.ssh_options

I don’t see a how this couldn’t be including options.  Would you send your 
entire RSYNC stanza again?

> On Aug 9, 2022, at 10:32 AM, John Kline  wrote:
> 
> 
> Did you restart weewx after changing weewx.conf?
> 
>>> On Aug 9, 2022, at 10:05 AM, Dan Jones  wrote:
>>> 
>> ssh stanza removed
>> 
>> debug on 1
>> 
>> output still the same:
>> 
>> DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', 
>> '--stats', '-e', 'ssh', '/tmp/weather34/serverdata/', 
>> 'www-data@123.123.123.123:/var/www/html/weather34/serverdata']]
>> 
>> 
>> Still ignoring ssh_options and still using IP address rather than host name.
>> 
>> Surely ssh_options wouldn't be needed if it used the host name, and then 
>> rsync would use .ssh/config with the correct host name configuration?
>> 
>> 
>>> On Tuesday, August 9, 2022 at 5:09:51 PM UTC+1 jo...@johnkline.com wrote:
>>> Oh, I didn’t notice the SSH stanza, remove that line.  ssh_options should 
>>> be directly under RSYNC.
>>> 
>>>>> On Aug 9, 2022, at 9:01 AM, bell...@gmail.com  wrote:
>>>>> 
>>>> I don’t have a [[SSH]] stanza. Try removing that.
>>> 
>>>> rich
>>>> 
>>>>> On Tuesday, 9 August 2022 at 11:53:57 UTC-4 dan.rh...@gmail.com wrote:
>>>>> Yep, correct, its the private key. 
>>>>> 
>>>>> But it looks like that whole ssh_options bit is being ignored. I can't 
>>>>> see it in the logs when I tail them. 
>>>>> 
>>>>>> On Tuesday, August 9, 2022 at 4:52:18 PM UTC+1 jo...@johnkline.com wrote:
>>>>>> -i should refer to a file that contains a private key.  Is that the case?
>>>>>> 
>>>>>>>> On Aug 9, 2022, at 8:14 AM, Dan Jones  wrote:
>>>>>>>> 
>>>>>>> My weewx.conf contains this:
>>>>>> 
>>>>>>> 
>>>>>>> [[RSYNC]]
>>>>>>> skin = Rsync
>>>>>>> HTML_ROOT = /var/www/html
>>>>>>> server = awsbox
>>>>>>> user = www-data
>>>>>>> path = /var/www/html
>>>>>>> delete = 0
>>>>>>> ssh_options = -i /root/.ssh/aws
>>>>>>> [[SSH]]
>>>>>>>ssh_options = -i /root/.ssh/aws
>>>>>>> 
>>>>>>> I have awsbox in my host file, pointing to the correct ip address
>>>>>>> 
>>>>>>> in my .ssh/config I have:
>>>>>>> 
>>>>>>> Host awsbox
>>>>>>> user www-data
>>>>>>> IdentityFile /root/.ssh/aws
>>>>>>> 
>>>>>>> 
>>>>>>> when I start the Weewx server, I get this error 
>>>>>>> 
>>>>>>> DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', 
>>>>>>> '--stats', '-e', 'ssh', '/tmp/weather34/serverdata/', 
>>>>>>> 'www-...@123.123.123.123:/var/www/html/weather34/serverdata']]
>>>>>>> 
>>>>>>> (IP changed for security)
>>>>>>> 
>>>>>>> I can't see where the ip address is coming from. Is weewx or rsync 
>>>>>>> converting it from the host file?
>>>>>>> 
>>>>>>> Also, It seems to be ignoring the ssh_options parameter (though I could 
>>>>>>> be using the wrong) But I hope that it isn't required, as I guess that 
>>>>>>> rsync should be using the config in .ssh/config
>>>>>>> 
>>>>>>> Any help would be greatly appreciated
>>>>>>> 
>>>>>>> This is all on the latest version of Weewx
>>>>>>> 
>>>>>> 
>>>>>>> -- 
>>>>>>> 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+...@googlegroups.com.
>>>>>>> To view this discussion on the web visit 
>>>>>>> https://groups.google.com/d/msgid/weewx-user/e84797ff-e452-4099-bac1-e032a1f6d903n%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+...@googlegroups.com.
>>> 
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/7a2e36e8-00fe-491e-acd7-01fca28be7a0n%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/6ce83cde-458e-4058-917c-f8b6b10d44d6n%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/540444EA-03F2-4A72-BCD0-D36E73A5D5F4%40johnkline.com.


Re: [weewx-user] RSYNC is using IP address and not host name

2022-08-09 Thread 'John Kline' via weewx-user
Did you restart weewx after changing weewx.conf?

> On Aug 9, 2022, at 10:05 AM, Dan Jones  wrote:
> 
> ssh stanza removed
> 
> debug on 1
> 
> output still the same:
> 
> DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', 
> '--stats', '-e', 'ssh', '/tmp/weather34/serverdata/', 
> 'www-data@123.123.123.123:/var/www/html/weather34/serverdata']]
> 
> 
> Still ignoring ssh_options and still using IP address rather than host name.
> 
> Surely ssh_options wouldn't be needed if it used the host name, and then 
> rsync would use .ssh/config with the correct host name configuration?
> 
> 
>> On Tuesday, August 9, 2022 at 5:09:51 PM UTC+1 jo...@johnkline.com wrote:
>> Oh, I didn’t notice the SSH stanza, remove that line.  ssh_options should be 
>> directly under RSYNC.
>> 
 On Aug 9, 2022, at 9:01 AM, bell...@gmail.com  wrote:
 
>>> I don’t have a [[SSH]] stanza. Try removing that.
>> 
>>> rich
>>> 
 On Tuesday, 9 August 2022 at 11:53:57 UTC-4 dan.rh...@gmail.com wrote:
 Yep, correct, its the private key. 
 
 But it looks like that whole ssh_options bit is being ignored. I can't see 
 it in the logs when I tail them. 
 
> On Tuesday, August 9, 2022 at 4:52:18 PM UTC+1 jo...@johnkline.com wrote:
> -i should refer to a file that contains a private key.  Is that the case?
> 
>>> On Aug 9, 2022, at 8:14 AM, Dan Jones  wrote:
>>> 
>> My weewx.conf contains this:
> 
>> 
>> [[RSYNC]]
>> skin = Rsync
>> HTML_ROOT = /var/www/html
>> server = awsbox
>> user = www-data
>> path = /var/www/html
>> delete = 0
>> ssh_options = -i /root/.ssh/aws
>> [[SSH]]
>>ssh_options = -i /root/.ssh/aws
>> 
>> I have awsbox in my host file, pointing to the correct ip address
>> 
>> in my .ssh/config I have:
>> 
>> Host awsbox
>> user www-data
>> IdentityFile /root/.ssh/aws
>> 
>> 
>> when I start the Weewx server, I get this error 
>> 
>> DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', 
>> '--stats', '-e', 'ssh', '/tmp/weather34/serverdata/', 
>> 'www-...@123.123.123.123:/var/www/html/weather34/serverdata']]
>> 
>> (IP changed for security)
>> 
>> I can't see where the ip address is coming from. Is weewx or rsync 
>> converting it from the host file?
>> 
>> Also, It seems to be ignoring the ssh_options parameter (though I could 
>> be using the wrong) But I hope that it isn't required, as I guess that 
>> rsync should be using the config in .ssh/config
>> 
>> Any help would be greatly appreciated
>> 
>> This is all on the latest version of Weewx
>> 
> 
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/e84797ff-e452-4099-bac1-e032a1f6d903n%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+...@googlegroups.com.
>> 
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/7a2e36e8-00fe-491e-acd7-01fca28be7a0n%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/6ce83cde-458e-4058-917c-f8b6b10d44d6n%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/AE34A74C-F383-4D53-9A98-DE0812E22BDD%40johnkline.com.


Re: [weewx-user] RSYNC is using IP address and not host name

2022-08-09 Thread 'John Kline' via weewx-user
Oh, I didn’t notice the SSH stanza, remove that line.  ssh_options should be 
directly under RSYNC.

> On Aug 9, 2022, at 9:01 AM, bell...@gmail.com  wrote:
> 
> I don’t have a [[SSH]] stanza. Try removing that.
> rich
> 
>> On Tuesday, 9 August 2022 at 11:53:57 UTC-4 dan.rh...@gmail.com wrote:
>> Yep, correct, its the private key. 
>> 
>> But it looks like that whole ssh_options bit is being ignored. I can't see 
>> it in the logs when I tail them. 
>> 
>>> On Tuesday, August 9, 2022 at 4:52:18 PM UTC+1 jo...@johnkline.com wrote:
>>> -i should refer to a file that contains a private key.  Is that the case?
>>> 
> On Aug 9, 2022, at 8:14 AM, Dan Jones  wrote:
> 
 My weewx.conf contains this:
>>> 
 
 [[RSYNC]]
 skin = Rsync
 HTML_ROOT = /var/www/html
 server = awsbox
 user = www-data
 path = /var/www/html
 delete = 0
 ssh_options = -i /root/.ssh/aws
 [[SSH]]
ssh_options = -i /root/.ssh/aws
 
 I have awsbox in my host file, pointing to the correct ip address
 
 in my .ssh/config I have:
 
 Host awsbox
 user www-data
 IdentityFile /root/.ssh/aws
 
 
 when I start the Weewx server, I get this error 
 
 DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', 
 '--stats', '-e', 'ssh', '/tmp/weather34/serverdata/', 
 'www-...@123.123.123.123:/var/www/html/weather34/serverdata']]
 
 (IP changed for security)
 
 I can't see where the ip address is coming from. Is weewx or rsync 
 converting it from the host file?
 
 Also, It seems to be ignoring the ssh_options parameter (though I could be 
 using the wrong) But I hope that it isn't required, as I guess that rsync 
 should be using the config in .ssh/config
 
 Any help would be greatly appreciated
 
 This is all on the latest version of Weewx
 
>>> 
 -- 
 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+...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/e84797ff-e452-4099-bac1-e032a1f6d903n%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/7a2e36e8-00fe-491e-acd7-01fca28be7a0n%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/CBB32A30-AB6D-4EEC-934E-1485CD416627%40johnkline.com.


Re: [weewx-user] RSYNC is using IP address and not host name

2022-08-09 Thread 'John Kline' via weewx-user
Also, add:
debug = 1
In your weewx.conf file and restart WeeWX.

Your log will then contain output of the form:
rsyncupload: cmd: 

That will tell you if -i is being passed (likely it is) and also let you try it 
from the command line.

> On Aug 9, 2022, at 8:55 AM, John Kline  wrote:
> 
> 
> Just to double check, it’s the private key and not the directory that 
> contains the private key?
> 
>>> On Aug 9, 2022, at 8:54 AM, Dan Jones  wrote:
>>> 
>> Yep, correct, its the private key. 
>> 
>> But it looks like that whole ssh_options bit is being ignored. I can't see 
>> it in the logs when I tail them. 
>> 
>>> On Tuesday, August 9, 2022 at 4:52:18 PM UTC+1 jo...@johnkline.com wrote:
>>> -i should refer to a file that contains a private key.  Is that the case?
>>> 
>>>>> On Aug 9, 2022, at 8:14 AM, Dan Jones  wrote:
>>>>> 
>>>> My weewx.conf contains this:
>>> 
>>>> 
>>>> [[RSYNC]]
>>>> skin = Rsync
>>>> HTML_ROOT = /var/www/html
>>>> server = awsbox
>>>> user = www-data
>>>> path = /var/www/html
>>>> delete = 0
>>>> ssh_options = -i /root/.ssh/aws
>>>> [[SSH]]
>>>>ssh_options = -i /root/.ssh/aws
>>>> 
>>>> I have awsbox in my host file, pointing to the correct ip address
>>>> 
>>>> in my .ssh/config I have:
>>>> 
>>>> Host awsbox
>>>> user www-data
>>>> IdentityFile /root/.ssh/aws
>>>> 
>>>> 
>>>> when I start the Weewx server, I get this error 
>>>> 
>>>> DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', 
>>>> '--stats', '-e', 'ssh', '/tmp/weather34/serverdata/', 
>>>> 'www-...@123.123.123.123:/var/www/html/weather34/serverdata']]
>>>> 
>>>> (IP changed for security)
>>>> 
>>>> I can't see where the ip address is coming from. Is weewx or rsync 
>>>> converting it from the host file?
>>>> 
>>>> Also, It seems to be ignoring the ssh_options parameter (though I could be 
>>>> using the wrong) But I hope that it isn't required, as I guess that rsync 
>>>> should be using the config in .ssh/config
>>>> 
>>>> Any help would be greatly appreciated
>>>> 
>>>> This is all on the latest version of Weewx
>>>> 
>>> 
>>>> -- 
>>>> 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+...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/e84797ff-e452-4099-bac1-e032a1f6d903n%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/2240d22e-6787-4ac6-a6ba-7a4fb231da96n%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/9C7EF1B6-814D-4009-99B6-F3090A869D49%40johnkline.com.


Re: [weewx-user] RSYNC is using IP address and not host name

2022-08-09 Thread 'John Kline' via weewx-user
Just to double check, it’s the private key and not the directory that contains 
the private key?

> On Aug 9, 2022, at 8:54 AM, Dan Jones  wrote:
> 
> Yep, correct, its the private key. 
> 
> But it looks like that whole ssh_options bit is being ignored. I can't see it 
> in the logs when I tail them. 
> 
>> On Tuesday, August 9, 2022 at 4:52:18 PM UTC+1 jo...@johnkline.com wrote:
>> -i should refer to a file that contains a private key.  Is that the case?
>> 
 On Aug 9, 2022, at 8:14 AM, Dan Jones  wrote:
 
>>> My weewx.conf contains this:
>> 
>>> 
>>> [[RSYNC]]
>>> skin = Rsync
>>> HTML_ROOT = /var/www/html
>>> server = awsbox
>>> user = www-data
>>> path = /var/www/html
>>> delete = 0
>>> ssh_options = -i /root/.ssh/aws
>>> [[SSH]]
>>>ssh_options = -i /root/.ssh/aws
>>> 
>>> I have awsbox in my host file, pointing to the correct ip address
>>> 
>>> in my .ssh/config I have:
>>> 
>>> Host awsbox
>>> user www-data
>>> IdentityFile /root/.ssh/aws
>>> 
>>> 
>>> when I start the Weewx server, I get this error 
>>> 
>>> DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', 
>>> '--stats', '-e', 'ssh', '/tmp/weather34/serverdata/', 
>>> 'www-...@123.123.123.123:/var/www/html/weather34/serverdata']]
>>> 
>>> (IP changed for security)
>>> 
>>> I can't see where the ip address is coming from. Is weewx or rsync 
>>> converting it from the host file?
>>> 
>>> Also, It seems to be ignoring the ssh_options parameter (though I could be 
>>> using the wrong) But I hope that it isn't required, as I guess that rsync 
>>> should be using the config in .ssh/config
>>> 
>>> Any help would be greatly appreciated
>>> 
>>> This is all on the latest version of Weewx
>>> 
>> 
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/e84797ff-e452-4099-bac1-e032a1f6d903n%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/2240d22e-6787-4ac6-a6ba-7a4fb231da96n%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/DF74191E-EC21-495C-A048-DCB46C1A205C%40johnkline.com.


Re: [weewx-user] Forecast stopped working

2022-08-05 Thread 'John Kline' via weewx-user
You are running a version of the forecast extension that is incompatible with with WeeWX 4/Python 3.Please install this version:https://github.com/chaunceygardiner/weewx-forecastOn Aug 5, 2022, at 5:15 PM, Mike Hutchins  wrote:
  

  
  
I did not upgrade. I installed it in January and took a few days
  to get it going. Everything was running until July 1. I do not
  believe I changed anything but possible. It's running on a pi 3+
  along with PIHOLE.

mylog attached.
Thanks

On 8/5/2022 6:37 PM, 'John Kline' via
  weewx-user wrote:


  
  

Hmmm.  Did you upgrade WeeWX from 3.x to 4.x?


Rather than going back and forth with questions,
  please follow the instructions here:
https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user
so that we can see what versions of everything
  you are using.

  On Aug 5, 2022, at 4:01 PM, MikeH
 wrote:

  


  
PYTHONPATH=/usr/share/weewx python3
  /usr/share/weewx/user/forecast.py --method=NWS --foid=FWD
  --lid=TXZ118


Returns

  Traceback (most recent call last):
    File "/usr/share/weewx/user/forecast.py", line 5132, in
  
      main()
    File "/usr/share/weewx/user/forecast.py", line 5070, in
  main
      lines = NWSExtractLocation(fcast, options.lid)
    File "/usr/share/weewx/user/forecast.py", line 1807, in
  NWSExtractLocation
      if line.startswith(lid):
  TypeError: startswith first arg must be bytes or a tuple
  of bytes, not str


  On Friday, August 5,
2022 at 5:07:09 PM UTC-5 an oldman wrote:
  
  
you could try
PYTHONPATH=/usr/share/weewx python
  /usr/share/weewx/user/forecast.py --method=NWS
  --foid=FWD --lid=TXZ118
to see if that will works.


  On Friday, August
5, 2022 at 3:04:50 PM UTC-5 MikeH wrote:
  
  What is the
latest version and where is it?  All I see on gethub
is 3.4.0b1


  On Friday,
August 5, 2022 at 11:50:37 AM UTC-5 jo...@johnkline.com
wrote:
  


  

  

  


  

  
One last thing, you are using
  a rather old version of forecast.  Using
  an up-to-date version will let us
  eliminate the version as the cause.

  On Aug 5, 2022, at
    9:44 AM, John Kline <jo...@johnkline.com>
wrote:

  


  

  

  


  

  

  
It’s done every three
  hours by default (10800 seconds).  You
  can hurry it along by temporarily
  adding a shorter interval of 5 minutes
  (300 seconds) in weewx.conf and
  restarting weewx:



  [Forecast]
      data_binding =
forecast_binding
      [[NWS]]
          lid = TXZ118
          foid = FWD
          interval = 300



BTW, I just tried this
 

Re: [weewx-user] Forecast stopped working

2022-08-05 Thread 'John Kline' via weewx-user

Hmmm.  Did you upgrade WeeWX from 3.x to 4.x?

Rather than going back and forth with questions, please follow the instructions 
here:
https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user
so that we can see what versions of everything you are using.

> On Aug 5, 2022, at 4:01 PM, MikeH  wrote:
> 
> PYTHONPATH=/usr/share/weewx python3 /usr/share/weewx/user/forecast.py 
> --method=NWS --foid=FWD --lid=TXZ118
> 
> Returns
> 
> Traceback (most recent call last):
>   File "/usr/share/weewx/user/forecast.py", line 5132, in 
> main()
>   File "/usr/share/weewx/user/forecast.py", line 5070, in main
> lines = NWSExtractLocation(fcast, options.lid)
>   File "/usr/share/weewx/user/forecast.py", line 1807, in NWSExtractLocation
> if line.startswith(lid):
> TypeError: startswith first arg must be bytes or a tuple of bytes, not str
> On Friday, August 5, 2022 at 5:07:09 PM UTC-5 an oldman wrote:
>> you could try
>> PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/forecast.py 
>> --method=NWS --foid=FWD --lid=TXZ118
>> to see if that will works.
>> 
>> On Friday, August 5, 2022 at 3:04:50 PM UTC-5 MikeH wrote:
>>> What is the latest version and where is it?  All I see on gethub is 3.4.0b1
>>> 
>>> On Friday, August 5, 2022 at 11:50:37 AM UTC-5 jo...@johnkline.com wrote:
>>>> 
>>> 
>>>> One last thing, you are using a rather old version of forecast.  Using an 
>>>> up-to-date version will let us eliminate the version as the cause.
>>>> 
>>>>> On Aug 5, 2022, at 9:44 AM, John Kline  wrote:
>>>>> 
>>> 
>>>>> It’s done every three hours by default (10800 seconds).  You can hurry it 
>>>>> along by temporarily adding a shorter interval of 5 minutes (300 seconds) 
>>>>> in weewx.conf and restarting weewx:
>>>>> 
>>>>> [Forecast]
>>>>> data_binding = forecast_binding
>>>>> [[NWS]]
>>>>> lid = TXZ118
>>>>> foid = FWD
>>>>> interval = 300
>>>>> 
>>>>> BTW, I just tried this and had no problem downloading your forecast.
>>>>> 
>>>>>> On Aug 5, 2022, at 9:30 AM, MikeH  wrote:
>>>>>> Also this sorry.
>>>>>> 
>>>>>> Aug  5 11:15:48 PIHOLE weewx[12658] DEBUG weewx.engine: Loading service 
>>>>>> user.forecast.NWSForecast
>>>>>> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: forecast 
>>>>>> version 3.4.0b1
>>>>>> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: last forecast 
>>>>>> issued 2022-07-01 05:07:00 CDT (1656670020), requested 2022-07-01 
>>>>>> 09:45:32 CDT (1656686732)
>>>>>> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: 
>>>>>> interval=10800 max_age=604800 lid=TXZ118 foid=FWD
>>>>>> Aug  5 11:15:48 PIHOLE weewx[12658] DEBUG weewx.engine: Finished loading 
>>>>>> service user.forecast.NWSForecast
>>>>>> 
>>>>>> On Friday, August 5, 2022 at 10:45:21 AM UTC-5 jo...@johnkline.com wrote:
>>>>>>> Your log snippet doesn’t show any attempts to download the forecast.  
>>>>>>> 
>>>>>>> Would you look at your logs for entries of the form below (of course, 
>>>>>>> not exactly the same as this is for my forecast) and send them?
>>>>>>> 
>>>>>>> INFO user.forecast: NWSThread: NWS: downloading forecast from 
>>>>>>> 'http://forecast.weather.gov/product.php?site=NWS=PFM=txt=MTR'
>>>>>>> 
>>>>>>>> On Aug 5, 2022, at 6:57 AM, MikeH  wrote:
>>>>>>>> Around July 1 my forecast from NWS stopped working. I tried 
>>>>>>>> reinstalling and still cannot get data. Logs show it running and 
>>>>>>>> generating pages but they all show Now forecast data for NWS. I am 
>>>>>>>> using lid=TXZ118 foid=FWD.
>>>>>>> 
>>>>>>>> 
>>>>>>>> Not sure where to look if I am actually getting data from nws or not.
>>>>>>>> 
>>>>>>>> Files and logs attached.
>>>>>>>> 
>>>>>>>> Thanks
>>>>>>> 
>>>>>>>> -- 
>>>>>>>> You received this mes

Re: [weewx-user] Forecast stopped working

2022-08-05 Thread 'John Kline' via weewx-user

One last thing, you are using a rather old version of forecast.  Using an 
up-to-date version will let us eliminate the version as the cause.

> On Aug 5, 2022, at 9:44 AM, John Kline  wrote:
> 
> It’s done every three hours by default (10800 seconds).  You can hurry it 
> along by temporarily adding a shorter interval of 5 minutes (300 seconds) in 
> weewx.conf and restarting weewx:
> 
> [Forecast]
> data_binding = forecast_binding
> [[NWS]]
> lid = TXZ118
> foid = FWD
> interval = 300
> 
> BTW, I just tried this and had no problem downloading your forecast.
> 
>> On Aug 5, 2022, at 9:30 AM, MikeH  wrote:
>> Also this sorry.
>> 
>> Aug  5 11:15:48 PIHOLE weewx[12658] DEBUG weewx.engine: Loading service 
>> user.forecast.NWSForecast
>> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: forecast version 
>> 3.4.0b1
>> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: last forecast 
>> issued 2022-07-01 05:07:00 CDT (1656670020), requested 2022-07-01 09:45:32 
>> CDT (1656686732)
>> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: interval=10800 
>> max_age=604800 lid=TXZ118 foid=FWD
>> Aug  5 11:15:48 PIHOLE weewx[12658] DEBUG weewx.engine: Finished loading 
>> service user.forecast.NWSForecast
>> 
>> On Friday, August 5, 2022 at 10:45:21 AM UTC-5 jo...@johnkline.com wrote:
>>> Your log snippet doesn’t show any attempts to download the forecast.  
>>> 
>>> Would you look at your logs for entries of the form below (of course, not 
>>> exactly the same as this is for my forecast) and send them?
>>> 
>>> INFO user.forecast: NWSThread: NWS: downloading forecast from 
>>> 'http://forecast.weather.gov/product.php?site=NWS=PFM=txt=MTR'
>>> 
>>>> On Aug 5, 2022, at 6:57 AM, MikeH  wrote:
>>>> Around July 1 my forecast from NWS stopped working. I tried reinstalling 
>>>> and still cannot get data. Logs show it running and generating pages but 
>>>> they all show Now forecast data for NWS. I am using lid=TXZ118 foid=FWD.
>>> 
>>>> 
>>>> Not sure where to look if I am actually getting data from nws or not.
>>>> 
>>>> Files and logs attached.
>>>> 
>>>> 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+...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/b95d50a9-082c-40e9-9ec8-925748304776n%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/d4d6f56e-8b14-4765-a4dc-9368b49282fan%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/B362244E-89E9-473E-A80E-6E7F23A340ED%40johnkline.com.


Re: [weewx-user] Forecast stopped working

2022-08-05 Thread 'John Kline' via weewx-user
It’s done every three hours by default (10800 seconds).  You can hurry it along 
by temporarily adding a shorter interval of 5 minutes (300 seconds) in 
weewx.conf and restarting weewx:

[Forecast]
data_binding = forecast_binding
[[NWS]]
lid = TXZ118
foid = FWD
interval = 300

BTW, I just tried this and had no problem downloading your forecast.

> On Aug 5, 2022, at 9:30 AM, MikeH  wrote:
> 
> Also this sorry.
> 
> Aug  5 11:15:48 PIHOLE weewx[12658] DEBUG weewx.engine: Loading service 
> user.forecast.NWSForecast
> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: forecast version 
> 3.4.0b1
> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: last forecast 
> issued 2022-07-01 05:07:00 CDT (1656670020), requested 2022-07-01 09:45:32 
> CDT (1656686732)
> Aug  5 11:15:48 PIHOLE /weewxd: forecast: MainThread: NWS: interval=10800 
> max_age=604800 lid=TXZ118 foid=FWD
> Aug  5 11:15:48 PIHOLE weewx[12658] DEBUG weewx.engine: Finished loading 
> service user.forecast.NWSForecast
> 
>> On Friday, August 5, 2022 at 10:45:21 AM UTC-5 jo...@johnkline.com wrote:
>> Your log snippet doesn’t show any attempts to download the forecast.  
>> 
>> Would you look at your logs for entries of the form below (of course, not 
>> exactly the same as this is for my forecast) and send them?
>> 
>> INFO user.forecast: NWSThread: NWS: downloading forecast from 
>> 'http://forecast.weather.gov/product.php?site=NWS=PFM=txt=MTR'
>> 
 On Aug 5, 2022, at 6:57 AM, MikeH  wrote:
 
>>> Around July 1 my forecast from NWS stopped working. I tried reinstalling 
>>> and still cannot get data. Logs show it running and generating pages but 
>>> they all show Now forecast data for NWS. I am using lid=TXZ118 foid=FWD.
>> 
>>> 
>>> Not sure where to look if I am actually getting data from nws or not.
>>> 
>>> Files and logs attached.
>>> 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/b95d50a9-082c-40e9-9ec8-925748304776n%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/d4d6f56e-8b14-4765-a4dc-9368b49282fan%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/C869C2DD-6781-48CE-B631-BFB1E1057C46%40johnkline.com.


Re: [weewx-user] Forecast stopped working

2022-08-05 Thread 'John Kline' via weewx-user
Your log snippet doesn’t show any attempts to download the forecast.  Would you look at your logs for entries of the form below (of course, not exactly the same as this is for my forecast) and send them?INFO user.forecast: NWSThread: NWS: downloading forecast from 'http://forecast.weather.gov/product.php?site=NWS=PFM=txt=MTR'On Aug 5, 2022, at 6:57 AM, MikeH  wrote:Around July 1 my forecast from NWS stopped working. I tried reinstalling and still cannot get data. Logs show it running and generating pages but they all show Now forecast data for NWS. I am using lid=TXZ118 foid=FWD.Not sure where to look if I am actually getting data from nws or not.Files and logs attached.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/b95d50a9-082c-40e9-9ec8-925748304776n%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/BD84C608-A9BF-4313-896D-A0778F1314F3%40johnkline.com.
messages

4 17:53:31 PIHOLE /weewxd: forecast: MainThread: Zambretti: forecast version 
3.4.0b1
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: Zambretti: interval=600 
max_age=604800 winddir_period=1800 pressure_period=10800 hemisphere=NORTH 
lower_pressure=950.0 upper_pressure=1050.0
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: NWS: forecast version 
3.4.0b1
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: NWS: interval=10800 
max_age=604800 lid=TXZ118 foid=FWD
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: WU: forecast version 
3.4.0b1
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: OWM: forecast version 
3.4.0b1
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: UKMO: forecast version 
3.4.0b1
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: Aeris: forecast version 
3.4.0b1
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: WWO: forecast version 
3.4.0b1
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: DS: forecast version 
3.4.0b1
Aug  4 17:53:31 PIHOLE /weewxd: forecast: MainThread: XTide: forecast version 
3.4.0b1


syslog
--
4 17:55:33 PIHOLE /weewxd: forecast: MainThread: Zambretti: starting thread
Aug  4 17:55:33 PIHOLE /weewxd: forecast: MainThread: NWS: starting thread
Aug  4 17:55:33 PIHOLE weewx[12959] DEBUG weewx.reportengine: Running reports 
for latest time in the database.
Aug  4 17:55:33 PIHOLE weewx[12959] DEBUG weewx.reportengine: Running report 
'SeasonsReport'
Aug  4 17:55:33 PIHOLE weewx[12959] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Aug  4 17:55:33 PIHOLE weewx[12959] DEBUG weewx.cheetahgenerator: Using search 
list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
'weewx.cheetahgenerator.JSONHelpers']
Aug  4 17:55:33 PIHOLE weewx[12959] DEBUG weewx.manager: Daily summary version 
is 4.0
Aug  4 17:55:38 PIHOLE weewx[12959] INFO weewx.cheetahgenerator: Generated 8 
files for report SeasonsReport in 4.64 seconds
Aug  4 17:55:38 PIHOLE weewx[12959] DEBUG weewx.manager: Daily summary version 
is 4.0
Aug  4 17:55:39 PIHOLE weewx[12959] INFO weewx.imagegenerator: Generated 15 
images for report SeasonsReport in 1.27 seconds
Aug  4 17:55:39 PIHOLE weewx[12959] INFO weewx.reportengine: Copied 5 files to 
/var/www/html/weewx
Aug  4 17:55:39 PIHOLE weewx[12959] DEBUG weewx.reportengine: Running report 
'SmartphoneReport'
Aug  4 17:55:39 PIHOLE weewx[12959] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Smartphone/skin.conf for report 
'SmartphoneReport'
Aug  4 17:55:39 PIHOLE weewx[12959] DEBUG weewx.cheetahgenerator: Using search 
list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
'weewx.cheetahgenerator.JSONHelpers']
Aug  4 17:55:39 PIHOLE weewx[12959] DEBUG weewx.manager: Daily summary version 
is 4.0
Aug  4 17:55:40 PIHOLE weewx[12959] INFO weewx.cheetahgenerator: Generated 6 
files for report SmartphoneReport in 0.34 seconds
Aug  4 17:55:40 PIHOLE weewx[12959] DEBUG weewx.manager: Daily summary version 
is 4.0
Aug  4 17:55:40 PIHOLE weewx[12959] INFO weewx.imagegenerator: Generated 6 
images for report SmartphoneReport in 0.47 seconds
Aug  4 17:55:40 PIHOLE weewx[12959] INFO weewx.reportengine: Copied 6 files to 

Re: [weewx-user] Re: National Weather Service location IDs

2022-07-09 Thread 'John Kline' via weewx-user
> The newer api.weather.gov can return a lot of detailed forecast information 
> for quite specific locations using gridpoints, but that's not integrated into 
> weewx AFAIK.


https://github.com/chaunceygardiner/weewx-nws

> On Jul 9, 2022, at 11:22 AM, wfs...@gmail.com  wrote:
> 
> Yes, Mike I think you're right.  The weewx forecasting extension looks to be 
> scraping those PFM reports for its data, so you can only choose from those 
> zones where a PFM is generated.
> The newer api.weather.gov can return a lot of detailed forecast information 
> for quite specific locations using gridpoints, but that's not integrated into 
> weewx AFAIK.
> 
> Walt
> 
>> On Friday, July 8, 2022 at 10:56:16 AM UTC-5 MikeQ wrote:
>> Does someone here understand how the NWS generates a forecast for a specific 
>> location?  I used the API link above and it says my forecast zone is IDZ033. 
>>  When I put this in weewx I get the following error:
>> 
>> Jul  8 09:30:20 weatherpi weewxd: forecast: NWSThread: NWS: no PFM found for 
>> IDZ033 in forecast from BOI
>> Jul  8 09:30:20 weatherpi weewxd: forecast: NWSThread: NWS: terminating 
>> thread
>> 
>> If I go to the PFM link above, there are only 5 PFMs for the BOI forecast 
>> office all located at airports.  If I go to weather.gov, put in my zip code, 
>> and click on the map, it puts my lat/lon in URL and generates a forecast for 
>> that location.  The forecast for the closest PFM, which is over 90 miles 
>> away, is different than the one generated on the forecast web page.  I would 
>> like the more accurate forecast, but it doesn't look like the forecast 
>> module in weewx supports anything other than PFMs?
>> 
>>> On Friday, July 8, 2022 at 6:18:51 AM UTC-6 mcu...@gmail.com wrote:
>>> I appreciate the helpthank you
>>> 
>>> 
 On Wednesday, July 6, 2022 at 10:45:51 PM UTC-4 an oldman wrote:
 if you are looking for the pfm try this address
 https://forecast.weather.gov/product_sites.php?site=NWS=PFM
 it list all the pfms
 
> On Wednesday, July 6, 2022 at 9:11:39 PM UTC-5 vince wrote:
> That is a GREAT find.   Comes up right on the money for me.
> 
> Forecast office is SEW(foid in weewx.conf)
> Forecast zone is WAZ558   (lid in weewx.conf)
> 
>> On Wednesday, July 6, 2022 at 6:33:23 PM UTC-7 wfs...@gmail.com wrote:
>> if you plug your lat and lon into the weather.gov api, a la
>> https://api.weather.gov/points/39.7832,-89.6644
>> you'll get a bunch of info back that might contain what you're looking 
>> for.  I'm not familiar with the terms LID and FOID
>> In my case it tells me
>> my forecast office is ILX
>> my grid coordinates are 46,54
>> my forecast zone is ILZ051
>> my county zone is ILC167
>> my fire weather zone is ILZ051
>> 
>> api documentation at 
>> API Web Service (weather.gov)
>> 
>>> On Wednesday, July 6, 2022 at 3:41:56 PM UTC-5 mcu...@gmail.com wrote:
>>> I have been relentlessly searching for a list of NWS LIDs for the 
>>> forecast module and cannot even find a mention of them on their site or 
>>> Wikican somone push me in the right direction I am trying to get 
>>> the Foid and lid for Columbia SC.  I beleive the Foid to be CAE but the 
>>> 6 digit ID is the problem. 
>>> Thank-you
> 
> -- 
> 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/e00b92d8-e852-47f3-b50c-185ecf3aa945n%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/4A05B1A1-A8B5-4C66-87BC-97DAE7A4D648%40johnkline.com.


Re: [weewx-user] new install (4.8) using the GW1000 extension - missing ET?

2022-07-04 Thread John Hill
omg... it was right there in the wiki.  So sorry to bother you.  Plugged in 
the formula and it's working great.  Thanks!

On Monday, July 4, 2022 at 5:46:31 PM UTC-4 gjr80 wrote:

> Ecowitt Gateway devices provide a measure of luminosity in lux rather than 
> a measure of solar insolation in watts/square metre (as used by WeeWX in 
> the radiation field). There is a simple linear approximation for radiation 
> given a luminosity value in lux by dividing the luminosity value by 126.7. 
> This is what Ecowitt Gateway devices use when posting to Ecowitt.net or 
> WeatherUnderground etc. Within WeeWX it is not appropriate for the Ecowitt 
> gateway driver to implement this approximation , rather it should be 
> applied by adding a correction entry to the [StdCalibration] 
> [[Corrections]] stanza in weewx.conf. More detail (including 
> implementation of the radiation field approximation) is covered in the 
> Ecowitt gateway device wiki page Understanding GW1000 radiation fields 
> <https://github.com/gjr80/weewx-gw1000/wiki/Understanding-GW1000-radiation-fields>
> .
>
> Once you have the radiation field being calculated you should should find 
> that ET is also calculated provided you have the other pre-requisites 
> outlined in Tom's post are available. 
>
> Gary
> On Tuesday, 5 July 2022 at 07:14:39 UTC+10 tke...@gmail.com wrote:
>
>> In order to calculate ET, you'll need outside temperature, radiation, and 
>> humidity. From your query, you don't have radiation, and possibly the 
>> others. Make sure they are all there.
>>
>> On Mon, Jul 4, 2022 at 9:49 AM John Hill  wrote:
>>
>>> Sorry - this is going to sound poorly informed... but here it goes.
>>>
>>> I've been running weewx for years since the 3.x days.  Using the 
>>> interceptor driver - first with the Ambient Weather devices, now with 
>>> Ecowitt using a GW1000 as a gateway.
>>>
>>> During that time I made numerous tweaks to the file system, changing 
>>> skins, schemas, adding extensions, removing extensions, running through 
>>> hubitat, then nodered, etc.  Of course, I'm not very good at documentation, 
>>> so each change I made would eventually get pushed out of my brain in favor 
>>> of the new project du jour.
>>>
>>> I noticed a new gw1000 extension and thought maybe now would be a good 
>>> time to wipe the slate and see what works out of the box.
>>>
>>> Surprisingly, most everything does.  I do see some label and unit 
>>> changes for radiation (used to be wmp2/radiation, now it's lux/luminosity).
>>>
>>> But the most noticeable changes is I'm now missing ET.  Not sure how.  I 
>>> don't remember having to do anything in my prior install to get it to 
>>> calculate.
>>>
>>> confirmed in sqlite that it's not in the archive:
>>>
>>> sqlite> select dateTime,ET,radiation,UV from archive order by dateTime 
>>> desc limit 4;
>>>
>>> 1656952200|||6.0
>>>
>>> 1656952140|||4.0
>>>
>>> 1656952080|||2.0
>>>
>>> 1656952020|||3.0
>>>
>>>
>>> It's in my wview.py schema and in my skins.conf:
>>>
>>> [[[dayET]]]
>>>
>>> # Make sure the y-axis increment is at least 0.02 for the 
>>> ET plot
>>>
>>> yscale = None, None, 0.02
>>>
>>> plot_type = bar
>>>
>>> ET
>>>
>>> aggregate_type = sum
>>>
>>> aggregate_interval = hour
>>>
>>> label = Evapotranspiration (hourly total)
>>>
>>>
>>> have tried both prefer-hardware and software in my weewx.conf for ET 
>>> calcualtion.
>>>
>>> Hope it's obvious, but what am I missing?
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/1549e44c-8848-44ef-8c04-81444b2cd034n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/1549e44c-8848-44ef-8c04-81444b2cd034n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
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/15ff4629-7f64-48d4-b314-e5a3e258ccban%40googlegroups.com.


[weewx-user] new install (4.8) using the GW1000 extension - missing ET?

2022-07-04 Thread John Hill
Sorry - this is going to sound poorly informed... but here it goes.

I've been running weewx for years since the 3.x days.  Using the 
interceptor driver - first with the Ambient Weather devices, now with 
Ecowitt using a GW1000 as a gateway.

During that time I made numerous tweaks to the file system, changing skins, 
schemas, adding extensions, removing extensions, running through hubitat, 
then nodered, etc.  Of course, I'm not very good at documentation, so each 
change I made would eventually get pushed out of my brain in favor of the 
new project du jour.

I noticed a new gw1000 extension and thought maybe now would be a good time 
to wipe the slate and see what works out of the box.

Surprisingly, most everything does.  I do see some label and unit changes 
for radiation (used to be wmp2/radiation, now it's lux/luminosity).

But the most noticeable changes is I'm now missing ET.  Not sure how.  I 
don't remember having to do anything in my prior install to get it to 
calculate.

confirmed in sqlite that it's not in the archive:

sqlite> select dateTime,ET,radiation,UV from archive order by dateTime desc 
limit 4;

1656952200|||6.0

1656952140|||4.0

1656952080|||2.0

1656952020|||3.0


It's in my wview.py schema and in my skins.conf:

[[[dayET]]]

# Make sure the y-axis increment is at least 0.02 for the ET 
plot

yscale = None, None, 0.02

plot_type = bar

ET

aggregate_type = sum

aggregate_interval = hour

label = Evapotranspiration (hourly total)


have tried both prefer-hardware and software in my weewx.conf for ET 
calcualtion.

Hope it's obvious, but what am I missing?

-- 
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/1549e44c-8848-44ef-8c04-81444b2cd034n%40googlegroups.com.


Re: [weewx-user] Re: Help with forecast

2022-06-15 Thread 'John Kline' via weewx-user
Our emails crossed.  I’m glad you got it working.

> On Jun 15, 2022, at 7:53 AM, John Kline  wrote:
> 
> 
> It sure looks like your forecast.sdb archive table got created as a weewx 
> archive table.  If so, it wasn’t the forecast extension that did it.  Perhaps 
> the binding were misconfigured when forecast.sdb was created.
> 
> Before we delete it, let’s have a look at it.
> 
> Please paste the output of (adjusting the path of forecast.sdb as necessary):
> 
> $ sqlite3 /home/weewx/archive/forecast.sdb 
> SQLite version 3.34.1 2021-01-20 14:10:07
> Enter ".help" for usage hints.
> sqlite> PRAGMA table_info(archive);
> 
> 
> If so, delete your forecast.sdb file and restart weewx.
> 
>>> On Jun 15, 2022, at 7:09 AM, Timothy Reaves  
>>> wrote:
>>> 
>> 
>> I'm going to start looking more at the python code now.
>> 
>> [DataBindings]
>> 
>>   [[wx_binding]]
>> # The database must match one of the sections in [Databases].
>> # This is likely to be the only option you would want to change.
>> database = archive_sqlite
>> # The name of the table within the database
>> table_name = archive
>> # The manager handles aggregation of data for historical summaries
>> manager = weewx.manager.DaySummaryManager
>> # The schema defines the structure of the database.
>> # It is *only* used when the database is created.
>> schema = schemas.wview_extended.schema
>> 
>>   [[forecast_binding]]
>> manager = weewx.manager.Manager
>> schema = user.forecast.schema
>> table_name = archive
>> database = forecast_sqlite
>> 
>> ##
>> 
>> #   This section defines various databases.
>> 
>> [Databases]
>> 
>>   # A SQLite database is simply a single file
>>   [[archive_sqlite]]
>> database_name = weewx.sdb
>> database_type = SQLite
>>   
>>   [[forecast_sqlite]]
>> database_type = SQLite
>> database_name = forecast.sdb
>> 
>> 
>>> On Wednesday, June 15, 2022 at 8:22:37 AM UTC-4 jo...@johnkline.com wrote:
>>> This looks like a clear case of forecast being pointed to the wrong 
>>> database.
>>> 
>>> Please send the data_binding line in the [forecast[ section of weewx.conf.
>>> Also send the [DataBindings] section of weewx.conf.
>>> 
>>>>> On Jun 13, 2022, at 6:49 AM, Timothy Reaves  
>>>>> wrote:
>>>>> 
>>>> Thank you both for the responses.
>>> 
>>>> 
>>>> Doug, that is the extension I wrote this post about.  I have followed the 
>>>> instructions, and receive the error I'd posted. So I have all of the 
>>>> configuration that the plugin lists.  When I enable the archive_service, I 
>>>> get the error.  So for some reason it doesn't seem to be connecting to the 
>>>> correct database.  Here is the snippet from my configuration regarding the 
>>>> databases:
>>>> 
>>>> [Databases]
>>>> 
>>>> # A SQLite database is simply a single file
>>>> [[archive_sqlite]]
>>>> database_name = weewx.sdb
>>>> database_type = SQLite
>>>> 
>>>> # MySQL
>>>> [[archive_mysql]]
>>>> database_name = weewx
>>>> database_type = MySQL
>>>> 
>>>> [[forecast_sqlite]]
>>>> database_type = SQLite
>>>> database_name = forecast.sdb
>>>> 
>>>> [[forecast_mysql]]
>>>> database_type = MySql
>>>> database_name = forecast
>>>> 
>>>>>> On Friday, June 10, 2022 at 11:22:26 AM UTC-4 do...@dougjenkins.com 
>>>>>> wrote:
>>>>>> Tim:
>>>>>> 
>>>>>> The forecast module uses a completely different schema and database. 
>>>>>> What you need to do is configure the module to a separate database and 
>>>>>> in your skin, bring in the data to be presented.
>>>>>> 
>>>>>> I personally use John Kline's weewx forecast driver ( GitHub - 
>>>>>> chaunceygardiner/weewx-forecast: forecasting extension for weewx) as it 
>>>>>> is being maintained and it works with the latest version of WeeWX 
>>>>>> (v4.8). You will need to look at the sample page

Re: [weewx-user] Re: Help with forecast

2022-06-15 Thread 'John Kline' via weewx-user
It sure looks like your forecast.sdb archive table got created as a weewx 
archive table.  If so, it wasn’t the forecast extension that did it.  Perhaps 
the binding were misconfigured when forecast.sdb was created.

Before we delete it, let’s have a look at it.

Please paste the output of (adjusting the path of forecast.sdb as necessary):

$ sqlite3 /home/weewx/archive/forecast.sdb 
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
sqlite> PRAGMA table_info(archive);


If so, delete your forecast.sdb file and restart weewx.

> On Jun 15, 2022, at 7:09 AM, Timothy Reaves  
> wrote:
> 
> 
> I'm going to start looking more at the python code now.
> 
> [DataBindings]
> 
>   [[wx_binding]]
> # The database must match one of the sections in [Databases].
> # This is likely to be the only option you would want to change.
> database = archive_sqlite
> # The name of the table within the database
> table_name = archive
> # The manager handles aggregation of data for historical summaries
> manager = weewx.manager.DaySummaryManager
> # The schema defines the structure of the database.
> # It is *only* used when the database is created.
> schema = schemas.wview_extended.schema
> 
>   [[forecast_binding]]
> manager = weewx.manager.Manager
> schema = user.forecast.schema
> table_name = archive
> database = forecast_sqlite
> 
> ##
> 
> #   This section defines various databases.
> 
> [Databases]
> 
>   # A SQLite database is simply a single file
>   [[archive_sqlite]]
> database_name = weewx.sdb
> database_type = SQLite
>   
>   [[forecast_sqlite]]
> database_type = SQLite
> database_name = forecast.sdb
> 
> 
>> On Wednesday, June 15, 2022 at 8:22:37 AM UTC-4 jo...@johnkline.com wrote:
>> This looks like a clear case of forecast being pointed to the wrong database.
>> 
>> Please send the data_binding line in the [forecast[ section of weewx.conf.
>> Also send the [DataBindings] section of weewx.conf.
>> 
>>>> On Jun 13, 2022, at 6:49 AM, Timothy Reaves  
>>>> wrote:
>>>> 
>>> Thank you both for the responses.
>> 
>>> 
>>> Doug, that is the extension I wrote this post about.  I have followed the 
>>> instructions, and receive the error I'd posted. So I have all of the 
>>> configuration that the plugin lists.  When I enable the archive_service, I 
>>> get the error.  So for some reason it doesn't seem to be connecting to the 
>>> correct database.  Here is the snippet from my configuration regarding the 
>>> databases:
>>> 
>>> [Databases]
>>> 
>>> # A SQLite database is simply a single file
>>> [[archive_sqlite]]
>>> database_name = weewx.sdb
>>> database_type = SQLite
>>> 
>>> # MySQL
>>> [[archive_mysql]]
>>> database_name = weewx
>>> database_type = MySQL
>>> 
>>> [[forecast_sqlite]]
>>> database_type = SQLite
>>> database_name = forecast.sdb
>>> 
>>> [[forecast_mysql]]
>>> database_type = MySql
>>> database_name = forecast
>>> 
>>>>> On Friday, June 10, 2022 at 11:22:26 AM UTC-4 do...@dougjenkins.com wrote:
>>>>> Tim:
>>>>> 
>>>>> The forecast module uses a completely different schema and database. What 
>>>>> you need to do is configure the module to a separate database and in your 
>>>>> skin, bring in the data to be presented.
>>>>> 
>>>>> I personally use John Kline's weewx forecast driver ( GitHub - 
>>>>> chaunceygardiner/weewx-forecast: forecasting extension for weewx) as it 
>>>>> is being maintained and it works with the latest version of WeeWX (v4.8). 
>>>>> You will need to look at the sample pages that accompany the driver and 
>>>>> integrate the cheetah template code into your skin. 
>>>>> 
>>>>> Best practice is to copy your existing skin folder (eg seasons) to a 
>>>>> separate folder (seasons-forecast) and make the modifications there. I 
>>>>> usually use the wee_reports utility to generate the html when I make 
>>>>> changes to the skin.
>>>>> 
>>>>> Please let us know if you have any questions.
>>>>> 
>>>>> Doug
>>>>> www.largoweather

Re: [weewx-user] Re: Help with forecast

2022-06-15 Thread 'John Kline' via weewx-user
This looks like a clear case of forecast being pointed to the wrong database.

Please send the data_binding line in the [forecast[ section of weewx.conf.
Also send the [DataBindings] section of weewx.conf.

> On Jun 13, 2022, at 6:49 AM, Timothy Reaves  
> wrote:
> 
> Thank you both for the responses.
> 
> Doug, that is the extension I wrote this post about.  I have followed the 
> instructions, and receive the error I'd posted. So I have all of the 
> configuration that the plugin lists.  When I enable the archive_service, I 
> get the error.  So for some reason it doesn't seem to be connecting to the 
> correct database.  Here is the snippet from my configuration regarding the 
> databases:
> 
> [Databases]
> 
> # A SQLite database is simply a single file
> [[archive_sqlite]]
> database_name = weewx.sdb
> database_type = SQLite
> 
> # MySQL
> [[archive_mysql]]
> database_name = weewx
> database_type = MySQL
> 
> [[forecast_sqlite]]
> database_type = SQLite
> database_name = forecast.sdb
> 
> [[forecast_mysql]]
> database_type = MySql
> database_name = forecast
> 
>> On Friday, June 10, 2022 at 11:22:26 AM UTC-4 do...@dougjenkins.com wrote:
>> Tim:
>> 
>> The forecast module uses a completely different schema and database. What 
>> you need to do is configure the module to a separate database and in your 
>> skin, bring in the data to be presented.
>> 
>> I personally use John Kline's weewx forecast driver ( GitHub - 
>> chaunceygardiner/weewx-forecast: forecasting extension for weewx) as it is 
>> being maintained and it works with the latest version of WeeWX (v4.8). You 
>> will need to look at the sample pages that accompany the driver and 
>> integrate the cheetah template code into your skin. 
>> 
>> Best practice is to copy your existing skin folder (eg seasons) to a 
>> separate folder (seasons-forecast) and make the modifications there. I 
>> usually use the wee_reports utility to generate the html when I make changes 
>> to the skin.
>> 
>> Please let us know if you have any questions.
>> 
>> Doug
>> www.largoweather.com
>> 
>> 
>>> On Friday, June 10, 2022 at 10:22:59 AM UTC-4 RobbH wrote:
>>> This is certainly not what you are looking for, but it is what I use to get 
>>> NWS forecasts.
>>> 
>>> Here is a url for a forecast for a randomly selected location:
>>> 
>>> https://forecast.weather.gov/MapClick.php?lat=41.177010=-73.141963=0=english=text=2
>>> 
>>> Note where latitude and longitude are inserted. "TextType=2" at the end 
>>> tells the server to include forecast graphics.
>>> 
>>> Several times a day, a cron job uses PhantomJS to retrieve that page and 
>>> create an jpeg of the forecast graphics, which is then displayed on my 
>>> weewx home page.
>>> 
>>> It usually works well enough for my purposes, but there are times when the 
>>> forecast page is down, so I end up with a blank rectangle on the weewx page.
>>> 
>>> 
>>> 
>>>> On Wednesday, June 8, 2022 at 12:16:33 PM UTC-4 Timothy Reaves wrote:
>>>> Hello all.  I'm using the latest version running on a Pi 4, with a Davis 
>>>> Vantage Pro.  I've had my site configured to use Aeris for forecasting, 
>>>> and have never really liked it.  It just isn't as accurate as the NWS.  
>>>> But I stuck with it.  Then last week, the Aeris forecast for my sight 
>>>> started diverging significantly not only from the NWS, but also from the 
>>>> actual Aeris site (which following the forecast link).  I don't know 
>>>> what's going on, so I thought I'd jut stop using it.
>>>> 
>>>> So I installed the Forecast user module.  When I start weewx now, it fails 
>>>> to load with the error below.  In looking at the code, the database schema 
>>>> isn't matching the extensions in-memory schema.  Don't know why.
>>>> 
>>>> Has anyone an example of using NWS forecasts instead of Aeris?  Or can 
>>>> provide any other ideas to troubleshoot?
>>>> 
>>>> Thanks.
>>>> 
>>>> Jun  8 10:12:34 pi4home weewx[12748] CRITICAL __main__:   
>>>> Exception: NWS: schema mismatch: ['dateTime', 'usUnits', 'interval', 
>>>> 'altimeter', 'appTemp', 'appTemp1', 'barometer', 'batteryStatus1', 
>>>> 'batteryStatus2', 'batteryStatus3', 'batteryStatus4', 'batteryS

Re: [weewx-user] Problem with weewx-airlink

2022-05-30 Thread 'John Kline' via weewx-user
Well, first, the subject of this thread is not accurate.  The problem is not 
with weewx-airlink.

I had a look at Davis’ Airlink manual and this case isn’t covered.  I suggest 
you contact Davis Technical Support:
supp...@davisinstruments.com
(510) 732-7814
Monday - Friday, 7:00 a.m. - 5:30 p.m. Pacific Time.

> On May 30, 2022, at 4:09 AM, anc...@gmail.com  wrote:
> 
> Hi,
> that page gives me
> curl http://192.168.0.196/v1/current_conditions
> { "data": { "did": "001D0A100829", "name": "IIS Ceccano", "ts": 506449, 
> "conditions": [{ "lsid": 522424, "data_structure_type": 6, "temp": 86.1, 
> "hum": 43.5, "dew_point": 61.3, "wet_bulb": 66.5, "heat_index": 86.5, 
> "pm_1_last": 2, "pm_2p5_last": 3, "pm_10_last": 3, "pm_1": null, "pm_2p5": 
> null, "pm_2p5_last_1_hour": null, "pm_2p5_last_3_hours": null, 
> "pm_2p5_last_24_hours": null, "pm_2p5_nowcast": null, "pm_10": null, 
> "pm_10_last_1_hour": null, "pm_10_last_3_hours": null, "pm_10_last_24_hours": 
> null, "pm_10_nowcast": null, "last_report_time": 506449, 
> "pct_pm_data_last_1_hour": null, "pct_pm_data_last_3_hours": null, 
> "pct_pm_data_nowcast": null, "pct_pm_data_last_24_hours": null }] }, "error": 
> null }
> 
> So it seems it has not neither good timestamp neither good concentrations. 
> How can I fix this?
> 
> 
> Il giorno mercoledì 25 maggio 2022 alle 19:30:40 UTC+2 jo...@johnkline.com ha 
> scritto:
>> You’re getting this because the timestamp is bad:
>> 'ts': 85460
>> 
>> The specific message: user.airlink: last_report_time must be time since 
>> boot: 85441 seconds.
>> is worded that way because I found airlink was reporting time since reboot 
>> (rather than time since epoch).  I observed this behavior until the airlink 
>> started reporting concentrations.  I specifically check for pm1 to determine 
>> this state.  In the case below, pm_1 is missing ('pm_1': None).
>> 
>> I wouldn’t try to get this running in weewx until you have good data.  In a 
>> browser, go to:
>> http:///v1/current_conditions
>> 
>> You need a good timestamp to show up here (e.g., right now, "ts": 
>> 1653499667) and good concentrations (rather than None); e.g., "pm_1": 5.16
>> 
>> Since it’s finding no valid concentrations, you are seeing the message 
>> “Could not get concentrations from any source.”
>> 
>> John
>> 
>>>> On May 25, 2022, at 8:24 AM, anc...@gmail.com  wrote:
>>>> 
>>> Hi guys,
>> 
>>> I just installed for the first time a Davis Airlink and I want to integrate 
>>> it in WeeWX with which my Davis VP2 already works. I followed the 
>>> instructions on the weewx-airlink page, but for some reason it is not 
>>> working . Here is some log:
>>> 
>>> May 25 16:11:01 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
>>> Could not get concentrations from any source.
>>> May 25 16:11:01 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
>>> Found no concentrations to insert.
>>> May 25 16:11:03 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
>>> Found no concentrations to insert.
>>> May 25 16:11:05 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
>>> Found no concentrations to insert.
>>> May 25 16:11:07 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink: 
>>> last_report_time must be time since boot: 85441 seconds.  Record: {'data': 
>>> {'did': '001D0A100829', 'name': 'IIS Ceccano', 'ts': 85441, 'conditions': 
>>> [{'lsid': 522424, 'data_structure_type': 6, 'temp': 92.0, 'hum': 26.5, 
>>> 'dew_point': 52.7, 'wet_bulb': 60.0, 'heat_index': 89.8, 'pm_1_last': 4, 
>>> 'pm_2p5_last': 5, 'pm_10_last': 5, 'pm_1': None, 'pm_2p5': None, 
>>> 'pm_2p5_last_1_hour': None, 'pm_2p5_last_3_hours': None, 
>>> 'pm_2p5_last_24_hours': None, 'pm_2p5_nowcast': None, 'pm_10': None, 
>>> 'pm_10_last_1_hour': None, 'pm_10_last_3_hours': None, 
>>> 'pm_10_last_24_hours': None, 'pm_10_nowcast': None, 'last_report_time': 
>>> 85441, 'pct_pm_data_last_1_hour': None, 'pct_pm_data_last_3_hours': None, 
>>> 'pct_pm_data_nowcast': None, 'pct_pm_data_last_24_hours': None}]}, 'error': 
>>> None}
>>> May 25 16:11:07 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
>>> Could not get concentrations

Re: [weewx-user] weewx migration

2022-05-28 Thread 'John Kline' via weewx-user
I’m sure someone can help if you send a log.
See: https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user

> On May 28, 2022, at 5:51 AM, hajsek...@gmail.com  
> wrote:
> 
> 
> Thank you
> I now manage to start weewx and it looks like it populate weewx database in 
> mysql.
> But it doesn't update my html files
> I use a observer driver to get data from my froggit HP1000 weather station
> I seton weather station to send data to my external  ip 123.123.123.123 on 
> port 9000
> this is server where I have installed weewx.
> but when I setup observer it doesn't work I get errors
> now I setup interceptor but still web page doesn't update.
> what I am missing here?
> 
> ##
> [Observer]
> # This section is for the Observer weather stations.
> 
> # The driver to use
> #driver = user.observer
> 
> # How often to poll the device, in seconds
> poll_interval = 60
> 
> ##
> 
> [Interceptor]
> # This section is for the network traffic interceptor driver.
> 
> # The driver to use:
> # device_type = observer
> driver = user.interceptor
> device_type = ecowitt-client
> 
> # Specify the hardware device to capture.  Options include:
> #   acurite-bridge - acurite internet bridge, smarthub, or access
> #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
> #   lw30x - oregon scientific LW301/LW302
> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
> #   ecowitt-client - any hardware that uses the ecowitt protocol
> #   wu-client - any hardware that uses the weather underground protocol
> # device_type = acurite-bridge
> mode = listen
> port = 9900
> [[sensor_map_extensions]]
> inTemp = temperature_1
> inHumidity = humidity_1
> outTemp = temperature_4
> outHumidity = humidity_4
> ##
> 
> 
> sobota, 28. maj 2022 ob 03:00:56 UTC+2 je oseba jo...@johnkline.com napisala:
>> 
>> 
>> 
>> After you follow Gary’s advice to install the current version of 
>> readltime_gauge-data, you’ll hit a problem with your version of 
>> weewx-forecast, as it hasn’t been updated for Python3.  To fix this, you can 
>> install a fork that has been ported:
>> https://github.com/chaunceygardiner/weewx-forecast/releases/download/v3.4.0b11/weewx-forecast-3.4.0b11.zip
>> 
 On May 27, 2022, at 5:37 PM, gjr80  wrote:
 
>>> 
>> 
>>> It look like you are using the realtime_gauge-data v0.3.7 or earlier. The 
>>> current version is v0.5.5 - you will need to upgrade as python3 support was 
>>> not added until v0.4.0. Use the latest version - it is available on GitHub 
>>> here.
>>> 
>>> Gary
>>> 
 On Saturday, 28 May 2022 at 08:11:59 UTC+10 hajsek...@gmail.com wrote:
 I use python3 version
 weewex is installed by this guide and I use centos 8
 http://weewx.com/docs/redhat.htm
 weewx interceptor is this one 
 https://github.com/matthewwall/weewx-interceptor
 weewx forecast is this one
 https://codeload.github.com/matthewwall/weewx-forecast/zip/refs/heads/master/weewx-forecast-master.zip
 I set debug = 2
 this is log
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
   self.loadServices(config_dict)
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
 File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
 File "/usr/share/weewx/weeutil/weeutil.py", line 1150, in 
 get_object
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
   mod = __import__(module)
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
 File "/usr/share/weewx/user/rtgd.py", line 1234
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
   except Exception, e:
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
   ^
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
   SyntaxError: invalid syntax
 May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__: 
   Exiting.
 May 28 00:09:37 web systemd[1]: Started Session 5 of user root.
 May 28 00:09:37 web systemd-logind[1010]: New session 5 of user root.
 May 28 00:09:41 web systemd[1]: Stopping SYSV: start and stop the weewx 
 weather system...
 May 28 00:09:41 web weewx[19416]: Shutting down weewx: [  V redu  ]
 May 28 00:09:41 web 

[weewx-user] weewx migration

2022-05-27 Thread 'John Kline' via weewx-user



After you follow Gary’s advice to install the current version of 
readltime_gauge-data, you’ll hit a problem with your version of weewx-forecast, 
as it hasn’t been updated for Python3.  To fix this, you can install a fork 
that has been ported:
https://github.com/chaunceygardiner/weewx-forecast/releases/download/v3.4.0b11/weewx-forecast-3.4.0b11.zip

> On May 27, 2022, at 5:37 PM, gjr80  wrote:
> 
> It look like you are using the realtime_gauge-data v0.3.7 or earlier. The 
> current version is v0.5.5 - you will need to upgrade as python3 support was 
> not added until v0.4.0. Use the latest version - it is available on GitHub 
> here.
> 
> Gary
> 
> On Saturday, 28 May 2022 at 08:11:59 UTC+10 hajsek...@gmail.com wrote:
>> I use python3 version
>> weewex is installed by this guide and I use centos 8
>> http://weewx.com/docs/redhat.htm
>> weewx interceptor is this one 
>> https://github.com/matthewwall/weewx-interceptor
>> weewx forecast is this one
>> https://codeload.github.com/matthewwall/weewx-forecast/zip/refs/heads/master/weewx-forecast-master.zip
>> I set debug = 2
>> this is log
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>  self.loadServices(config_dict)
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>  obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>File "/usr/share/weewx/weeutil/weeutil.py", line 1150, in get_object
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>  mod = __import__(module)
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>File "/usr/share/weewx/user/rtgd.py", line 1234
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>  except Exception, e:
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>  ^
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>  SyntaxError: invalid syntax
>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL __main__:  
>>  Exiting.
>> May 28 00:09:37 web systemd[1]: Started Session 5 of user root.
>> May 28 00:09:37 web systemd-logind[1010]: New session 5 of user root.
>> May 28 00:09:41 web systemd[1]: Stopping SYSV: start and stop the weewx 
>> weather system...
>> May 28 00:09:41 web weewx[19416]: Shutting down weewx: [  V redu  ]
>> May 28 00:09:41 web systemd[1]: weewx.service: Succeeded.
>> May 28 00:09:41 web systemd[1]: Stopped SYSV: start and stop the weewx 
>> weather system.
>> May 28 00:09:41 web systemd[1]: Starting SYSV: start and stop the weewx 
>> weather system...
>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: Initializing 
>> weewx version 4.8.0
>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: Using Python 
>> 3.6.8 (default, Apr 29 2022, 13:46:02) #012[GCC 8.5.0 20210514 (Red Hat 
>> 8.5.0-10)]
>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: Platform 
>> Linux-4.18.0-372.9.1.el8.x86_64-x86_64-with-almalinux-8.6-Sky_Tiger
>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: Locale is 
>> 'sl_SI.UTF-8'
>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: Using 
>> configuration file /etc/weewx/weewx.conf
>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: Debug is 2
>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: PID file is 
>> /var/run/weewx.pid
>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO weewx.engine: Loading 
>> station type Interceptor (user.interceptor)
>> May 28 00:09:42 web weewx[19431]: Starting weewx: [  V redu  ]
>> May 28 00:09:42 web systemd[1]: Started SYSV: start and stop the weewx 
>> weather system.
>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO user.interceptor: 
>> driver version is 0.53
>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO user.interceptor: 
>> device type: observer
>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO user.interceptor: mode 
>> is listen
>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO user.interceptor: 
>> listen on :9900
>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO user.interceptor: 
>> sensor map: {'pressure': 'pressure', 'barometer': 'barometer', 
>> 'outHumidity': 'humidity_out', 'inHumidity': 'humidity_in', 'outTemp': 
>> 'temperature_out', 'inTemp': 'temperature_in', 'windSpeed': 'wind_speed', 
>> 'windGust': 'wind_gust', 'windDir': 'wind_dir', 'windGustDir': 
>> 'wind_gust_dir', 'radiation': 'solar_radiation', 'dewpoint': 'dewpoint', 
>> 'windchill': 'windchill', 'rain': 'rain', 'rainRate': 'rain_rate', 'UV': 
>> 'uv', 'txBatteryStatus': 'battery', 'extraTemp1': 

Re: [weewx-user] weewx migration

2022-05-27 Thread 'John Kline' via weewx-user
Your log snippet shows an error in  weewx-realtime_gauge-data, probably because 
it’s an old version that doesn’t work with Python3.  What version of  
weewx-realtime_gauge-data have you installed?

Also, since you are want to get the forecast extension working, what version 
are you using of that?

And what python version are you running?

Lastly, it would be good if you included the log as it would answer these 
questions.  See: https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user

> On May 27, 2022, at 7:46 AM, hajsek...@gmail.com  
> wrote:
> 
> 
> I have migrated weewx to another server, but have a problem.
> First I copied old files to new server and try to start it and didn't worked.
> Than i Have new installation of weex and after that I have installed driver 
> observer when I start weewx it was ok. But after that I have installed 
> forecast.zip and try to start weewx and all stopped.
> I use before version 4.8 and don't know if I migrate do I need to install 
> wewx first and than install observer driver and forecast.
> after that copy old weewx.conf into /etc/weewx
> and restore mysql database and it should work, but doesn't.
> when I start weewx I get this error.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: 
> StationRegistry: Registration not requested.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: PWSweather: 
> Posting not enabled.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: CWOP: 
> Posting not enabled.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: WOW: Posting 
> not enabled.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.restx: AWEKAS: 
> Posting not enabled.
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO weewx.engine: 'pyephem' 
> detected, extended almanac data is available
> May 27 16:23:58 web journal[6058]: weewx[6058] INFO user.interceptor: 
> shutting down server thread
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: Caught 
> unrecoverable exception:
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:   
> invalid syntax (rtgd.py, line 1234)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:   
> Traceback (most recent call last):
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
> File "/usr/share/weewx/weewxd", line 147, in main
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
>   engine = weewx.engine.StdEngine(config_dict)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
> File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
>   self.loadServices(config_dict)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
> File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
>   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
> File "/usr/share/weewx/weeutil/weeutil.py", line 1150, in get_object
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
>   mod = __import__(module)
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
> File "/usr/share/weewx/user/rtgd.py", line 1234
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
>   except Exception, e:
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__: 
>   ^
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:   
> SyntaxError: invalid syntax
> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL __main__:   
> Exiting.
> -- 
> 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/57148ec2-5516-40e6-b02f-896df88d13e9n%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/2C1F3C01-96DF-4ECC-9042-CE56FBF4BFEB%40johnkline.com.


Re: [weewx-user] Problem with weewx-airlink

2022-05-25 Thread 'John Kline' via weewx-user
You’re getting this because the timestamp is bad:
'ts': 85460

The specific message: user.airlink: last_report_time must be time since boot: 
85441 seconds.
is worded that way because I found airlink was reporting time since reboot 
(rather than time since epoch).  I observed this behavior until the airlink 
started reporting concentrations.  I specifically check for pm1 to determine 
this state.  In the case below, pm_1 is missing ('pm_1': None).

I wouldn’t try to get this running in weewx until you have good data.  In a 
browser, go to:
http:///v1/current_conditions

You need a good timestamp to show up here (e.g., right now, "ts": 1653499667) 
and good concentrations (rather than None); e.g., "pm_1": 5.16

Since it’s finding no valid concentrations, you are seeing the message “Could 
not get concentrations from any source.”

John

> On May 25, 2022, at 8:24 AM, anc...@gmail.com  wrote:
> 
> Hi guys,
> I just installed for the first time a Davis Airlink and I want to integrate 
> it in WeeWX with which my Davis VP2 already works. I followed the 
> instructions on the weewx-airlink page, but for some reason it is not working 
> . Here is some log:
> 
> May 25 16:11:01 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Could not get concentrations from any source.
> May 25 16:11:01 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:03 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:05 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:07 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink: 
> last_report_time must be time since boot: 85441 seconds.  Record: {'data': 
> {'did': '001D0A100829', 'name': 'IIS Ceccano', 'ts': 85441, 'conditions': 
> [{'lsid': 522424, 'data_structure_type': 6, 'temp': 92.0, 'hum': 26.5, 
> 'dew_point': 52.7, 'wet_bulb': 60.0, 'heat_index': 89.8, 'pm_1_last': 4, 
> 'pm_2p5_last': 5, 'pm_10_last': 5, 'pm_1': None, 'pm_2p5': None, 
> 'pm_2p5_last_1_hour': None, 'pm_2p5_last_3_hours': None, 
> 'pm_2p5_last_24_hours': None, 'pm_2p5_nowcast': None, 'pm_10': None, 
> 'pm_10_last_1_hour': None, 'pm_10_last_3_hours': None, 'pm_10_last_24_hours': 
> None, 'pm_10_nowcast': None, 'last_report_time': 85441, 
> 'pct_pm_data_last_1_hour': None, 'pct_pm_data_last_3_hours': None, 
> 'pct_pm_data_nowcast': None, 'pct_pm_data_last_24_hours': None}]}, 'error': 
> None}
> May 25 16:11:07 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Could not get concentrations from any source.
> May 25 16:11:07 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:09 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:11 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:12 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink: 
> last_report_time must be time since boot: 85446 seconds.  Record: {'data': 
> {'did': '001D0A100829', 'name': 'IIS Ceccano', 'ts': 85446, 'conditions': 
> [{'lsid': 522424, 'data_structure_type': 6, 'temp': 92.1, 'hum': 26.7, 
> 'dew_point': 53.0, 'wet_bulb': 60.3, 'heat_index': 89.9, 'pm_1_last': 4, 
> 'pm_2p5_last': 4, 'pm_10_last': 4, 'pm_1': None, 'pm_2p5': None, 
> 'pm_2p5_last_1_hour': None, 'pm_2p5_last_3_hours': None, 
> 'pm_2p5_last_24_hours': None, 'pm_2p5_nowcast': None, 'pm_10': None, 
> 'pm_10_last_1_hour': None, 'pm_10_last_3_hours': None, 'pm_10_last_24_hours': 
> None, 'pm_10_nowcast': None, 'last_report_time': 85446, 
> 'pct_pm_data_last_1_hour': None, 'pct_pm_data_last_3_hours': None, 
> 'pct_pm_data_nowcast': None, 'pct_pm_data_last_24_hours': None}]}, 'error': 
> None}
> May 25 16:11:12 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Could not get concentrations from any source.
> May 25 16:11:13 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:15 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:16 StazioneMeteoiisCeccano weewx[32034] INFO weewx.manager: 
> Added record 2022-05-25 16:11:00 CEST (1653487860) to database 'weewx.sdb'
> May 25 16:11:16 StazioneMeteoiisCeccano weewx[32034] INFO weewx.manager: 
> Added record 2022-05-25 16:11:00 CEST (1653487860) to daily summary in 
> 'weewx.sdb'
> May 25 16:11:16 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:17 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink: 
> Found no concentrations to insert.
> May 25 16:11:19 StazioneMe

Re: [weewx-user] Re: Realtime-_gauge-data.txt

2022-05-23 Thread 'John Kline' via weewx-user
That rsync command you listed, it is in root’s crontab?
And why aren’t you doing the rsync in weewx?

> On May 23, 2022, at 1:15 PM, philip@gmail.com  
> wrote:
> 
> Im using rsync to copy the public_html folder to my server using a cron job 
> every 10mins = rsync -a /home/weewx/public_html/ lushe...@192.xxx.x.xxx 
> etc etc
> Then thought I would use rsync in rtgd, from weewx.conf to update the gauges 
> in real time.
> OS is Buster 10 using a Raspberry Pi
> 
> 
>> On Monday, May 23, 2022 at 8:28:18 PM UTC+1 jo...@johnkline.com wrote:
>> I’m curious, are you using rsync to publish weewx?  I’m asking because rtgd 
>> is calling the same weewx method.
>> 
>> If you are using rsync to publish weewx, please send that section of your 
>> weewx.conf.  There must be some difference.
>> 
>> Also, what OS are you using?  I’m worried that it is Windows from your 
>> paths.  If it is, I’m unlikely to be able to debug this.
>> 
>>>> On May 23, 2022, at 10:56 AM, philip@gmail.com  
>>>> wrote:
>>>> 
>>> Im using LushEr21 for both and ssh LushEr21@server-ip-address logs on to 
>>> the server without a password
>> 
>>> 
>>> 
>>>> On Monday, May 23, 2022 at 4:39:47 PM UTC+1 jo...@johnkline.com wrote:
>>>> 
>>>> 
>>>> I’m assuming that  in ssh-copy-id -i ~/.ssh/id_rsa.pub 
>>>> @ - is:
>>>> LushEr21
>>>> Since that what you specified in weewx.conf.
>>>> 
>>>> Please confirm that the following works (i.e., you are logged in to 
>>>>  as LushEr21 without having to enter a password or an 
>>>> [empty] passphrase:
>>>> (As root:)
>>>> ssh LushEr21@
>>>> 
>>>>>> On May 23, 2022, at 7:00 AM, philip@gmail.com  
>>>>>> wrote:
>>>>>> 
>>>>> For ssh 
>>>> 
>>>>> I used when I was root
>>>>> ssh-keygen -f C:\Users\\.ssh\id_rsa -t rsa -P ""
>>>>> ssh-copy-id -i ~/.ssh/id_rsa.pub @ -o 
>>>>> StrictHostKeyChecking=No
>>>>> Should I have a file /usr/bin/ssh-askpass
>>>>> Sorry to be a pain
>>>>> Phil
>>>>> 
>>>>> 
>>>>>> On Monday, May 23, 2022 at 1:39:10 PM UTC+1 jo...@johnkline.com wrote:
>>>>>> I don’t recommend extending the timeout.  It’s there so that requests 
>>>>>> don’t build up.
>>>>>> Are you sure you have ssh set up correctly?  In particular, did you set 
>>>>>> it up for the same user as weewx is running as?  That’s often root.  If 
>>>>>> weewx is running as root for you, please try to ssh in without a 
>>>>>> password when you are logged in as root.
>>>>>> 
>>>>>>>> On May 23, 2022, at 3:13 AM, philip@gmail.com 
>>>>>>>>  wrote:
>>>>>>>> 
>>>>>>> Thanks John
>>>>>>>  I now get 
>>>>>>> May 23 10:59:03 raspberrypi weewx-weewx[1438] ERROR 
>>>>>>> weeutil.rsyncupload: [['rsync', '--archive', '--stats', '--timeout=4', 
>>>>>>> '-e ssh -o ConnectTimeout=1', '/home/weewx/public_html/gauge-data.txt', 
>>>>>>> 'lush...@192.xxx.x.xxx:/volume1/web/SheringhamDDNS/gaugedata/gauge-data.txt']]
>>>>>>>  reported errors: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file 
>>>>>>> or directory. [sender] io timeout after 4 seconds -- exiting. rsync 
>>>>>>> error: timeout in data send/receive (code 30) at io.c(204) 
>>>>>>> [sender=3.1.3]
>>>>>>> May 23 10:59:03 raspberrypi weewx-weewx[1438] INFO weeutil.rsyncupload: 
>>>>>>> rsync executed in 6.03 seconds
>>>>>>> I had to extend the Timeout = 4 as it would time out.
>>>>>>> I dont appear to have a file usr/bin/ssh_askpass When the passwordless 
>>>>>>> key was set up I believe it saved the info to ssh-keygen
>>>>>>> 
>>>>>>> rsync -v /home/weewx/public_html/gauge-data.txt 
>>>>>>> lush...@192.xxx.x.xxx:/volume1/web/SheringhamDDNS works OK in a cron job
>>>>>>> Phil
>>>>>>>> On Sunday, May 22, 2022 at 6:24:58 PM UTC+1 jo...@johnkline.com wrote:
>>>>>>>> OK, you could also replace rtgd.py (in weewx’s bin/user directory) 
>>>>>>&g

Re: [weewx-user] Re: Realtime-_gauge-data.txt

2022-05-23 Thread 'John Kline' via weewx-user
I’m curious, are you using rsync to publish weewx?  I’m asking because rtgd is 
calling the same weewx method.

If you are using rsync to publish weewx, please send that section of your 
weewx.conf.  There must be some difference.

Also, what OS are you using?  I’m worried that it is Windows from your paths.  
If it is, I’m unlikely to be able to debug this.

> On May 23, 2022, at 10:56 AM, philip@gmail.com  
> wrote:
> 
> Im using LushEr21 for both and ssh LushEr21@server-ip-address logs on to the 
> server without a password
> 
>> On Monday, May 23, 2022 at 4:39:47 PM UTC+1 jo...@johnkline.com wrote:
>> 
>> 
>> I’m assuming that  in ssh-copy-id -i ~/.ssh/id_rsa.pub 
>> @ - is:
>> LushEr21
>> Since that what you specified in weewx.conf.
>> 
>> Please confirm that the following works (i.e., you are logged in to 
>>  as LushEr21 without having to enter a password or an 
>> [empty] passphrase:
>> (As root:)
>> ssh LushEr21@
>> 
>>>> On May 23, 2022, at 7:00 AM, philip@gmail.com  
>>>> wrote:
>>>> 
>>> For ssh 
>> 
>>> I used when I was root
>>> ssh-keygen -f C:\Users\\.ssh\id_rsa -t rsa -P ""
>>> ssh-copy-id -i ~/.ssh/id_rsa.pub @ -o 
>>> StrictHostKeyChecking=No
>>> Should I have a file /usr/bin/ssh-askpass
>>> Sorry to be a pain
>>> Phil
>>> 
>>> 
>>>> On Monday, May 23, 2022 at 1:39:10 PM UTC+1 jo...@johnkline.com wrote:
>>>> I don’t recommend extending the timeout.  It’s there so that requests 
>>>> don’t build up.
>>>> Are you sure you have ssh set up correctly?  In particular, did you set it 
>>>> up for the same user as weewx is running as?  That’s often root.  If weewx 
>>>> is running as root for you, please try to ssh in without a password when 
>>>> you are logged in as root.
>>>> 
>>>>>> On May 23, 2022, at 3:13 AM, philip@gmail.com  
>>>>>> wrote:
>>>>>> 
>>>>> Thanks John
>>>>>  I now get 
>>>>> May 23 10:59:03 raspberrypi weewx-weewx[1438] ERROR weeutil.rsyncupload: 
>>>>> [['rsync', '--archive', '--stats', '--timeout=4', '-e ssh -o 
>>>>> ConnectTimeout=1', '/home/weewx/public_html/gauge-data.txt', 
>>>>> 'lush...@192.xxx.x.xxx:/volume1/web/SheringhamDDNS/gaugedata/gauge-data.txt']]
>>>>>  reported errors: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file 
>>>>> or directory. [sender] io timeout after 4 seconds -- exiting. rsync 
>>>>> error: timeout in data send/receive (code 30) at io.c(204) [sender=3.1.3]
>>>>> May 23 10:59:03 raspberrypi weewx-weewx[1438] INFO weeutil.rsyncupload: 
>>>>> rsync executed in 6.03 seconds
>>>>> I had to extend the Timeout = 4 as it would time out.
>>>>> I dont appear to have a file usr/bin/ssh_askpass When the passwordless 
>>>>> key was set up I believe it saved the info to ssh-keygen
>>>>> 
>>>>> rsync -v /home/weewx/public_html/gauge-data.txt 
>>>>> lush...@192.xxx.x.xxx:/volume1/web/SheringhamDDNS works OK in a cron job
>>>>> Phil
>>>>>> On Sunday, May 22, 2022 at 6:24:58 PM UTC+1 jo...@johnkline.com wrote:
>>>>>> OK, you could also replace rtgd.py (in weewx’s bin/user directory) with 
>>>>>> the file at:
>>>>>> https://github.com/chaunceygardiner/weewx-realtime_gauge-data/blob/master/bin/user/rtgd.py
>>>>>> 
>>>>>> I’ve also sent Gary a PR at:
>>>>>> https://github.com/gjr80/weewx-realtime_gauge-data/pull/28
>>>>>> 
>>>>>> 
>>>>>>>> On May 22, 2022, at 10:07 AM, John Kline  wrote:
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>>> Never mind.  I installed it and found the issue.  It’s been broken 
>>>>>>> since it was refactored.
>>>>>>> 
>>>>>>> Below is the patch to get it working.  I’ll also follow up with a URL 
>>>>>>> to grab the file from github; as well as a PR to Gary (who may take it 
>>>>>>> if he notices it).
>>>>>>> 
>>>>>>> diff --git a/bin/user/rtgd.py b/bin/user/rtgd.py
>>>>>>> index 9f631c9..09ddd24 100644
>>>>>>> --- a/bin/user/rtgd.py
>>>>>>> +++ b/bin/user/rtgd.py
>>>>>>> @@ -1300,7 

Re: [weewx-user] Re: Realtime-_gauge-data.txt

2022-05-23 Thread 'John Kline' via weewx-user


I’m assuming that  in ssh-copy-id -i ~/.ssh/id_rsa.pub 
@ - is:
LushEr21
Since that what you specified in weewx.conf.

Please confirm that the following works (i.e., you are logged in to 
 as LushEr21 without having to enter a password or an 
[empty] passphrase:
(As root:)
ssh LushEr21@

> On May 23, 2022, at 7:00 AM, philip@gmail.com  
> wrote:
> For ssh 
> I used when I was root
> ssh-keygen -f C:\Users\\.ssh\id_rsa -t rsa -P ""
> ssh-copy-id -i ~/.ssh/id_rsa.pub @ -o 
> StrictHostKeyChecking=No
> Should I have a file /usr/bin/ssh-askpass
> Sorry to be a pain
> Phil
> 
> 
> On Monday, May 23, 2022 at 1:39:10 PM UTC+1 jo...@johnkline.com wrote:
>> I don’t recommend extending the timeout.  It’s there so that requests don’t 
>> build up.
>> Are you sure you have ssh set up correctly?  In particular, did you set it 
>> up for the same user as weewx is running as?  That’s often root.  If weewx 
>> is running as root for you, please try to ssh in without a password when you 
>> are logged in as root.
>> 
>>> On May 23, 2022, at 3:13 AM, philip@gmail.com  
>>> wrote:
>> 
>>> Thanks John
>>>  I now get 
>>> May 23 10:59:03 raspberrypi weewx-weewx[1438] ERROR weeutil.rsyncupload: 
>>> [['rsync', '--archive', '--stats', '--timeout=4', '-e ssh -o 
>>> ConnectTimeout=1', '/home/weewx/public_html/gauge-data.txt', 
>>> 'lush...@192.xxx.x.xxx:/volume1/web/SheringhamDDNS/gaugedata/gauge-data.txt']]
>>>  reported errors: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or 
>>> directory. [sender] io timeout after 4 seconds -- exiting. rsync error: 
>>> timeout in data send/receive (code 30) at io.c(204) [sender=3.1.3]
>>> May 23 10:59:03 raspberrypi weewx-weewx[1438] INFO weeutil.rsyncupload: 
>>> rsync executed in 6.03 seconds
>>> I had to extend the Timeout = 4 as it would time out.
>>> I dont appear to have a file usr/bin/ssh_askpass When the passwordless key 
>>> was set up I believe it saved the info to ssh-keygen
>>> 
>>> rsync -v /home/weewx/public_html/gauge-data.txt 
>>> lush...@192.xxx.x.xxx:/volume1/web/SheringhamDDNS works OK in a cron job
>>> Phil
>>> On Sunday, May 22, 2022 at 6:24:58 PM UTC+1 jo...@johnkline.com wrote:
>>>> OK, you could also replace rtgd.py (in weewx’s bin/user directory) with 
>>>> the file at:
>>>> https://github.com/chaunceygardiner/weewx-realtime_gauge-data/blob/master/bin/user/rtgd.py
>>>> 
>>>> I’ve also sent Gary a PR at:
>>>> https://github.com/gjr80/weewx-realtime_gauge-data/pull/28
>>>> 
>>>> 
>>>>> On May 22, 2022, at 10:07 AM, John Kline  wrote:
>>>>> 
>>>> 
>>>>> Never mind.  I installed it and found the issue.  It’s been broken since 
>>>>> it was refactored.
>>>>> 
>>>>> Below is the patch to get it working.  I’ll also follow up with a URL to 
>>>>> grab the file from github; as well as a PR to Gary (who may take it if he 
>>>>> notices it).
>>>>> 
>>>>> diff --git a/bin/user/rtgd.py b/bin/user/rtgd.py
>>>>> index 9f631c9..09ddd24 100644
>>>>> --- a/bin/user/rtgd.py
>>>>> +++ b/bin/user/rtgd.py
>>>>> @@ -1300,7 +1300,7 @@ class HttpPostExport(object):
>>>>>  # response text from remote URL if post was successful
>>>>>  self.response = post_config_dict.get('response_text', None)
>>>>>  
>>>>> -def export(self, data):
>>>>> +def export(self, data, dateTime):
>>>>>  """Post the data."""
>>>>>  
>>>>>  self.post_data(data)
>>>>> @@ -1419,10 +1419,11 @@ class RsyncExport(object):
>>>>>  self.rsync_skip_if_older_than = 
>>>>> to_int(rsync_config_dict.get('rsync_skip_if_older_than',
>>>>>   4))
>>>>>  
>>>>> -def export(self, data):
>>>>> +def export(self, data, dateTime):
>>>>>  """Rsync the data."""
>>>>>  
>>>>> -packet_time = datetime.datetime.fromtimestamp(data['dateTime'])
>>>>> +log.info("export: data: %r" % data)
>>>>> +packet_time = datetime.datetime.fromtimestamp(dateTime)
>>>>>  self.rsync_data(packet_time)

Re: [weewx-user] Re: Realtime-_gauge-data.txt

2022-05-23 Thread 'John Kline' via weewx-user
I don’t recommend extending the timeout.  It’s there so that requests don’t 
build up.
Are you sure you have ssh set up correctly?  In particular, did you set it up 
for the same user as weewx is running as?  That’s often root.  If weewx is 
running as root for you, please try to ssh in without a password when you are 
logged in as root.

> On May 23, 2022, at 3:13 AM, philip@gmail.com  
> wrote:
> 
> Thanks John
>  I now get 
> May 23 10:59:03 raspberrypi weewx-weewx[1438] ERROR weeutil.rsyncupload: 
> [['rsync', '--archive', '--stats', '--timeout=4', '-e ssh -o 
> ConnectTimeout=1', '/home/weewx/public_html/gauge-data.txt', 
> 'lushe...@192.xxx.x.xxx:/volume1/web/SheringhamDDNS/gaugedata/gauge-data.txt']]
>  reported errors: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or 
> directory. [sender] io timeout after 4 seconds -- exiting. rsync error: 
> timeout in data send/receive (code 30) at io.c(204) [sender=3.1.3]
> May 23 10:59:03 raspberrypi weewx-weewx[1438] INFO weeutil.rsyncupload: rsync 
> executed in 6.03 seconds
> I had to extend the Timeout = 4 as it would time out.
> I dont appear to have a file usr/bin/ssh_askpass When the passwordless key 
> was set up I believe it saved the info to ssh-keygen
> 
> rsync -v /home/weewx/public_html/gauge-data.txt 
> lushe...@192.xxx.x.xxx:/volume1/web/SheringhamDDNS works OK in a cron job
> Phil
>> On Sunday, May 22, 2022 at 6:24:58 PM UTC+1 jo...@johnkline.com wrote:
>> OK, you could also replace rtgd.py (in weewx’s bin/user directory) with the 
>> file at:
>> https://github.com/chaunceygardiner/weewx-realtime_gauge-data/blob/master/bin/user/rtgd.py
>> 
>> I’ve also sent Gary a PR at:
>> https://github.com/gjr80/weewx-realtime_gauge-data/pull/28
>> 
>> 
>>>> On May 22, 2022, at 10:07 AM, John Kline  wrote:
>>>> 
>>> 
>> 
>>> Never mind.  I installed it and found the issue.  It’s been broken since it 
>>> was refactored.
>>> 
>>> Below is the patch to get it working.  I’ll also follow up with a URL to 
>>> grab the file from github; as well as a PR to Gary (who may take it if he 
>>> notices it).
>>> 
>>> diff --git a/bin/user/rtgd.py b/bin/user/rtgd.py
>>> index 9f631c9..09ddd24 100644
>>> --- a/bin/user/rtgd.py
>>> +++ b/bin/user/rtgd.py
>>> @@ -1300,7 +1300,7 @@ class HttpPostExport(object):
>>>  # response text from remote URL if post was successful
>>>  self.response = post_config_dict.get('response_text', None)
>>>  
>>> -def export(self, data):
>>> +def export(self, data, dateTime):
>>>  """Post the data."""
>>>  
>>>  self.post_data(data)
>>> @@ -1419,10 +1419,11 @@ class RsyncExport(object):
>>>  self.rsync_skip_if_older_than = 
>>> to_int(rsync_config_dict.get('rsync_skip_if_older_than',
>>>   4))
>>>  
>>> -def export(self, data):
>>> +def export(self, data, dateTime):
>>>  """Rsync the data."""
>>>  
>>> -packet_time = datetime.datetime.fromtimestamp(data['dateTime'])
>>> +log.info("export: data: %r" % data)
>>> +packet_time = datetime.datetime.fromtimestamp(dateTime)
>>>  self.rsync_data(packet_time)
>>>  
>>>  def rsync_data(self, packet_time):
>>> @@ -1900,7 +1901,7 @@ class RealtimeGaugeDataThread(threading.Thread):
>>>  self.last_write = time.time()
>>>  # export gauge-data.txt if we have an exporter object
>>>  if self.exporter:
>>> -    self.exporter.export(data)
>>> +self.exporter.export(data, packet['dateTime'])
>>>  # log the generation
>>>  if weewx.debug == 2:
>>>  log.info("gauge-data.txt (%s) generated in %.5f 
>>> seconds" % (cached_packet['dateTime'],
>>> 
>>>>> On May 22, 2022, at 6:08 AM, John Kline  wrote:
>>>>> 
>>>> 
>>>> Oh, yes, two brackets.  What failures did you get with two brackets?
>>>> 
>>>>>> On May 22, 2022, at 2:59 AM, philip@gmail.com  
>>>>>> wrote:
>>>>>> 
>>>>> Thanks John
>>>>> Can I just confirm how many bracket Rsync would have please 
>>>>> Have tried 

  1   2   3   4   5   6   7   8   >