OK
tis done Sir.
where is web site with registered station located? Never cam across it
in any docs so far
On 2020-06-07 03:01, Graham Eddy wrote:
you should have a line like the following under [Station] stanza:
station_url = http://www.example.com< < < < your weather station
website
this is required along with ‘register_this_station = true’ to
register, but it is harmless if you do not register station
this is the second of two fundamental stanzas in your weewx.conf. i
don’t know the history of your confg file, but i recommend a thorough
comparison with a recent distribution to look for more gaps.
cheers
g-eddy
On 7 Jun 2020, at 5:55 pm, VE4PER / Andy
<[email protected]
<mailto:[email protected]>> wrote:
Thanks for your time and tips Graham.
Andy
weewx.conf entries StdRESTful related
I changed the red statements to what is shown in green below; the key
error appears corrected but I got the following error msg about
missing station URL and not sure where to specify it or what format
it has to be.
Everything appears to work properly now and wx data is being sent but
wind data will be in error until I get replacement anemometer cups
(enroute I'm told)
Jun 7 02:22:27 cedar weewx[49295] INFO weewx.restx: StationRegistry:
*Station will not be registered: no station_url specified.**
*
# This section is for uploading data to Internet sites
#
#[StdRESTful]
#
# [[StationRegistry]]
# To register this weather station with weewx, set this to true
# register_this_station = false
# This section is for uploading data to Internet sites
[StdRESTful]
[[StationRegistry]]
# To register this weather station with weewx, set this to true
register_this_station = true
# This section configures the internal weewx engine.
[Engine]
[[Services]]
# This section specifies the services that should be run.
They are
# grouped by type, and the order of services within each group
# determines the order in which the services will be run.
prep_services = weewx.engine.StdTimeSynch
data_services = ,
process_services = weewx.engine.StdConvert,
weewx.engine.StdCalibrate, weewx.engine.StdQC,
weewx.wxservices.StdWXCalculate
archive_services = weewx.engine.StdArchive
restful_services = weewx.restx.StdStationRegistry,
weewx.restx.StdWunderground, weewx.restx.StdPWSweather,
weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS
report_services = weewx.engine.StdPrint, weewx.engine.StdReport
On 2020-06-07 1:54 a.m., Graham Eddy wrote:
you would probably get that error if you tell weewx to use
StdStationRegistry service e.g. in weewx.conf something like:
restful_service = weewx.restx.StdStationRegistry, ...
but not defined a RESTful definition stanza in weewx.conf e.g.
[StdRESTful] < < < < this key missing
[[StationRegistry]]
register_this_station = true
g-eddy
On 7 Jun 2020, at 4:16 pm, VE4PER / Andy
<[email protected]
<mailto:[email protected]>> wrote:
My wind speed cups are physically broken; so no wind data
---awaiting delivery of parts and since it is down anyway I decided
to do all the updates now while I wait.
I recently upgraded ubuntu OS to 20.04LTS, python to python3 and it
appears the update process also updated weewx to 4.1.1.1.
It appears that the install properly created the mysql/MariadB
weewx and set up data tables properly.
However, some error messages showed up when I used the "sudo tail
-f /var/log/syslog" command after database update was successful.
Some were clearly missing modules that I was able to install and
clear those up but one repeated one I don't understand what it is
telling me nor what process to follow to correct it, it seems
possibly something related to a common key error that appears to
apply to a number scripts/program code strings?
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: Caught
unrecoverable exception:
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
'StdRESTful'
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
Traceback (most recent call last):
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
File "/usr/share/weewx/weewxd", line 148, in main
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
engine = weewx.engine.StdEngine(config_dict)
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
self.loadServices(config_dict)
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
obj = weeutil.weeutil.get_object(svc)(self,config_dict)
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
File "/usr/share/weewx/weewx/restx.py", line 1366, in __init__
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
_registry_dict =
accumulateLeaves(config_dict['StdRESTful']['StationRegistry'],
max_level=1)
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
File "/usr/lib/python3/dist-packages/configobj.py", line 554, in
__getitem__
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
val = dict.__getitem__(self, key)
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
KeyError: 'StdRESTful'
Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: ****
Exiting.
Any and all tips or help would be appreciated, Thanks
Andy
--
You received this message because you are subscribed to the Google
Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/b5c011ec-e838-2ce1-26ea-5bf0e863de3d%40gmail.com
<https://groups.google.com/d/msgid/weewx-user/b5c011ec-e838-2ce1-26ea-5bf0e863de3d%40gmail.com?utm_medium=email&utm_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 [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/EB31E733-746C-4815-98DA-0BF8823A0A9E%40gmail.com
<https://groups.google.com/d/msgid/weewx-user/EB31E733-746C-4815-98DA-0BF8823A0A9E%40gmail.com?utm_medium=email&utm_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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/8ececdf5-1bfc-8022-c732-15cf5827b11b%40gmail.com.