Posting it again here. This is /etc/weewx.conf:

version = 4.3.0
[Station]
  ...
  station_type = WMR200

[WMR200]
    # This section is for the Oregon Scientific WMR200
    
    # The station model, e.g., WMR200, WMR200A, Radio Shack W200
    model = WMR200
    
    # The driver to use:
    driver = user.wmr200
    
    # default is 300 seconds
    archive_interval = 600
     
    #[Simulator]
    # This section for the weewx weather station simulator
    
    # The time (in seconds) between LOOP packets.
    loop_interval = 2.5
    erase_archive = False
    sensor_status = True
    archive_threshold = 1512000
    archive_startup = 120
    user_pc_time = True
    [[sensor_map]]

[StdReport]
    # This section specifies what reports, using which skins, to generate.
    
    # Where the skins reside, relative to WEEWX_ROOT:
    SKIN_ROOT = skins
    
    # Where the generated reports should go, relative to WEEWX_ROOT:
    HTML_ROOT = public_html
    
    # The database binding indicates which data should be used in reports
    data_binding = wx_binding

   [[StandardReport]]
        # What skin this report should be based on:
        skin = Standard
        enable = True
   ...
   [[FTP]]
        skin = Ftp
        
        # FTP'ing the results to a webserver is treated as just another 
report,
        # albeit one with an unusual report generator!
        #
        # If you wish to use FTP, uncomment and fill out the next four 
lines:
        user = CENSORED
        password = CENSORED
        server = CENSORED
        path = CENSORED
        
        # If you wish to upload files from something other than what 
HTML_ROOT
        # is set to above, then reset it here:
        HTML_ROOT = external_html
        
        # Most FTP servers use port 21, but if yours is different, you can
        # change it here
        port = 21
        
        # Set to 1 to use passive mode, zero for active mode:
        passive = 1
        
        # How many times to try to transfer a file before giving up:
        max_tries = 5

...
[Engine]
    # The following section specifies which services should be run and in 
what order.
    [[Services]]
        prep_services = weewx.engine.StdTimeSynch,
        data_services = user.MQTTSubscribe.MQTTSubscribeService,
        process_services = weewx.engine.StdConvert, 
weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCa
lculate
        xtype_services = weewx.wxxtypes.StdWXXTypes, 
weewx.wxxtypes.StdPressureCooker, weewx.wxxtypes.StdRainRater, weewx.w
xxtypes.StdDelta
        archive_services = weewx.engine.StdArchive,
        restful_services = weewx.restx.StdStationRegistry, 
user.twitter.Twitter
        report_services = weewx.engine.StdPrint, weewx.engine.StdReport

...
-------------------------------
This is a few logs for the service

Jan 21 21:35:10 vegan python2[29779]: weewx[29779] DEBUG user.wmr200:   
Queuing live packet rx:1399 live_queue_len:1
Jan 21 21:35:11 vegan python2[29779]: weewx[29779] DEBUG user.wmr200: 
genLoop() Yielding live queued packet id:1507
Jan 21 21:35:11 vegan python2[29779]: weewx[29779] DEBUG 
user.MQTTSubscribe: (Service) data-> final packet is 2021-01-21 21:35:11 
CET (1611261311): dateTime: 1611261311, inHeatindex: None, inHumidity: 46, 
inTemp: 20.8, usUnits: 16
Jan 21 21:35:18 vegan python2[29779]: weewx[29779] DEBUG user.wmr200:   
adjust_rain rain_total:579.07 Rain.rain_total_last:579.07 rain_interval:0.00
Jan 21 21:35:18 vegan python2[29779]: weewx[29779] DEBUG user.wmr200:   
Queuing live packet rx:1400 live_queue_len:1
Jan 21 21:35:19 vegan python2[29779]: weewx[29779] DEBUG user.wmr200: 
genLoop() Yielding live queued packet id:1508
Jan 21 21:35:19 vegan python2[29779]: weewx[29779] DEBUG 
user.MQTTSubscribe: (Service) data-> final packet is 2021-01-21 21:35:19 
CET (1611261319): dateTime: 1611261319, hourRain: 0.0, rain: 0.0, rain24: 
1.4732, rainRate: 0.0, rainTotal: 579.0692, usUnits: 16
Jan 21 21:35:20 vegan python2[29779]: weewx[29779] DEBUG user.wmr200:   
Queuing live packet rx:1401 live_queue_len:1
Jan 21 21:35:21 vegan python2[29779]: weewx[29779] DEBUG user.wmr200: 
genLoop() Yielding live queued packet id:1509
Jan 21 21:35:21 vegan python2[29779]: weewx[29779] DEBUG 
user.MQTTSubscribe: (Service) data-> final packet is 2021-01-21 21:35:21 
CET (1611261321): dateTime: 1611261321, inHeatindex: None, inHumidity: 46, 
inTemp: 20.8, usUnits: 16

------------------
If I grep on "report": sudo journalctl -u weewx | grep -i report
we see that things are happening for StandardReport.

Jan 21 21:10:21 vegan python2[29779]: weewx[29779] DEBUG 
weewx.reportengine: Running report 'StandardReport'
Jan 21 21:10:21 vegan python2[29779]: weewx[29779] DEBUG 
weewx.reportengine: Found configuration file 
/home/weewx/skins/Standard/skin.conf for report 'StandardReport'
Jan 21 21:20:21 vegan python2[29779]: weewx[29779] DEBUG 
weewx.reportengine: Running reports for latest time in the database.
Jan 21 21:20:21 vegan python2[29779]: weewx[29779] DEBUG 
weewx.reportengine: Running report 'StandardReport'
Jan 21 21:20:21 vegan python2[29779]: weewx[29779] DEBUG 
weewx.reportengine: Found configuration file 
/home/weewx/skins/Standard/skin.conf for report 'StandardReport'
Jan 21 21:30:21 vegan python2[29779]: weewx[29779] DEBUG 
weewx.reportengine: Running reports for latest time in the database.

but there is nothing for ftp:

$ sudo journalctl -u weewx | grep -i ftp
$ 




On Thursday, January 21, 2021 at 9:30:32 PM UTC+1 Invisible Man wrote:

> @vince : the info is already posted in the thread "No module named wmr200 
> (Weewx 4.3.0)"
>
> On Thursday, January 21, 2021 at 9:27:56 PM UTC+1 vince wrote:
>
>> Normal "how to report a problem" answer follows....
>>
>> Nobody can help you without seeing what you have in your weewx.conf 
>> (obfuscate the username+password please) and some logfile entries after you 
>> set debug=1 in weewx.conf
>>
>> On Thursday, January 21, 2021 at 12:20:33 PM UTC-8 [email protected] 
>> wrote:
>>
>>>
>>> Hi,
>>>
>>> I have upgraded Weewx 4.2.0 to 4.3.0, and had to install WMR200 
>>> extension during that process.
>>> My weather station is configured to upload its web pages to a FTP server.
>>> This used to work fine.
>>> However, since the upgrade, it hasn't uploaded anything (no attempt in 
>>> the logs) now for over an hour.
>>> This is really abnormal. Is there something in the fact that I'm using 
>>> now an extension or upgraded that could cause this?
>>>
>>> I have no error log. But I never get the usual FTP upload logs that I 
>>> used to have every 10 minutes. Just like it was disabled.
>>>
>>> I posted a few logs in the thread "No module named wmr200 (Weewx 
>>> 4.3.0)". I am posting here in a separate topic as it seems it is a 
>>> different issue (?).
>>>
>>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fce57734-aaf8-4ba6-8f64-4c6f1ac79578n%40googlegroups.com.

Reply via email to