I've re-read the documentation for the wmr200 driver extension (https://github.com/weewx/weewx-wmr200). I'm not sure my configuration is correct. I don't understand the doc very well .
- Am I meant to have something in sensor_map, or is default correct? - Am I meant to have mode set to something? - Am I meant to uncomment driver = weewx.drivers.simulator ? This is what I have: [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]] # The simulator mode can be either 'simulator' or 'generator'. # Real-time simulator. Sleep between each LOOP packet. # mode = simulator # Generator. Emit LOOP packets as fast as possible (useful for testing). #mode = generator # The start time. If not specified, the default is to use the present time. #start = 2011-01-01 00:00 # The driver to use: # driver = weewx.drivers.simulator On Friday, January 22, 2021 at 3:55:54 PM UTC+1 Invisible Man wrote: > > Impossible to say without seeing a full log. Restart weewx, let it run > through the first reporting cycle, post the full log. > > Ok, I'm going to do that in a few secs. > > Meanwhile, posting the configuration. > > On Friday, January 22, 2021 at 3:49:30 PM UTC+1 tke...@gmail.com wrote: > >> Impossible to say without seeing a full log. Restart weewx, let it run >> through the first reporting cycle, post the full log. >> >> On Fri, Jan 22, 2021 at 6:42 AM Invisible Man <axelle....@gmail.com> >> wrote: >> >>> Up :) >>> >>> Please assist. It's really an issue, because my website does not get >>> generated nor uploaded. >>> *It thought it was a problem with the FTP upload report, but with >>> investigation, I think it is general to all my reports.* >>> >>> This is what I know so far: >>> >>> - My configuration has several reports >>> - Only the first one "StandardReport" shows some activity in the >>> logs (see thread above) >>> - The other reports never run at all, though several are marked >>> enabled. >>> - *Even "StandardReport" does not work properly*, because given my >>> configuration, it should put things in /home/weewx/public_html >>> >>> WEEWX_ROOT = /home/weewx/ >>> SKIN_ROOT = skins >>> HTML_ROOT = public_html >>> >>> And in that directory, I have nothing new since the evening I did my >>> upgrade ! :( [notice the date, jan 20 - we are now jan 22). >>> >>> $ ls -lt | head >>> total 700 >>> -rw-r--r-- 1 weewx axelle 7036 Jan 20 22:20 dayuv.png >>> -rw-r--r-- 1 weewx axelle 4293 Jan 20 22:20 dayradiation.png >>> -rw-r--r-- 1 weewx axelle 15639 Jan 20 22:20 daywindvec.png >>> ... >>> >>> So, something prevents reports from running in my config. >>> Again, it used to work in 4.2.0. The issue appeared at upgrade to 4.3.0. >>> As I installed the weewx_wmr200 extension, weewx.conf was modified. >>> >>> Those are the differences I have from my 4.2.0 config. I can't see any >>> problem to be honest... >>> >>> $ diff weewx.conf weewx.conf.my.4.2.0 >>> 35c35 >>> < location = "Le mas des crocodiles, Biot" >>> --- >>> > location = Le mas des crocodiles, Biot >>> 64a65,66 >>> > >>> ############################################################################## >>> > >>> 72c74 >>> < driver = user.wmr200 >>> --- >>> > driver = weewx.drivers.wmr200 >>> 85,90d86 >>> < erase_archive = False >>> < sensor_status = True >>> < archive_threshold = 1512000 >>> < archive_startup = 120 >>> < user_pc_time = True >>> < [[sensor_map]] >>> 119c115 >>> < post_interval = 3600 >>> --- >>> > post_interval = 3600 >>> 213d208 >>> < enable = True >>> 240d234 >>> < enable = True >>> 271d264 >>> < enable = True >>> 518,519c511,512 >>> < windchill = hardware >>> < heatindex = hardware >>> --- >>> > windchill = prefer_hardware >>> > heatindex = prefer_hardware >>> 522c515 >>> < rainRate = hardware >>> --- >>> > rainRate = prefer_hardware >>> >>> >>> Thanks! >>> On Thursday, January 21, 2021 at 10:09:28 PM UTC+1 Invisible Man wrote: >>> >>>> >>>> Continuing. What bothers me is that in the StdReport section I have >>>> several reports: >>>> >>>> - StandardReport: we see logs for this one >>>> - External: I have no logs for this one >>>> - SeasonsReport: disabled >>>> - SmartphoneReport: disabled >>>> - MobileReport: disabled >>>> - FTP: no logs for this one... >>>> - RSYNC: enabled, no logs... >>>> >>>> So, I have only have logs for the first one. That's strange isn't it? I >>>> added explicit "enable = True" (or False) to each. It did not solve the >>>> problem. >>>> >>>> >>>> [[StandardReport]] >>>> >>>> # What skin this report should be based on: >>>> skin = Standard >>>> enable = True >>>> >>>> [[External]] >>>> skin = External >>>> HTML_ROOT = external_html >>>> enable = True >>>> [[[ImageGenerator]]] >>>> image_width = 600 >>>> image_height = 360 >>>> >>>> [[SeasonsReport]] >>>> # The SeasonsReport uses the 'Seasons' skin, which contains the >>>> # images, templates and plots for the report. >>>> skin = Seasons >>>> enable = false >>>> >>>> Strange... right? >>>> >>>> On Thursday, January 21, 2021 at 9:37:30 PM UTC+1 Invisible Man wrote: >>>> >>>>> 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 >>>>>>> axelle....@gmail.com 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 weewx-user+...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/bf993136-76e8-4a15-91fc-702ad1c43febn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/bf993136-76e8-4a15-91fc-702ad1c43febn%40googlegroups.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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3819e8cb-70a2-4e31-9bde-b5b8f908cf66n%40googlegroups.com.