[GeSimulator]# This section is for the weewx weather station simulator# The time (in seconds) between LOOP packets.loop_interval = 2.5# 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. Format is YYYY-mm-ddTHH:MM. If not specified, the default# is to use the present time.#start = 2011-01-01T00:00# list of variables for simulator to generate.# note: if this is specified, only these will be produced# remove PM2.5 and AQI variablesobservations = inTemp,barometer,pressure,windSpeed,windDir,windGust,windGustDir,outHumidity,inHumidity,radiation,UV,rain,txBatteryStatus,windBatteryStatus,rainBatteryStatus,outTempBatteryStatus,inTempBatteryStatus,consBatteryVoltage,heatingVoltage,supplyVoltage,referenceVoltage,rxCheckPercent,altOutTemp,altInTemp,altPressure,altWindSpeed,altWindDir,altWindGust,altWindGustDir,altOutHumidity,altInHumidity,altRain,luminosity,solarEnergy,soilMoist1,soilMoist2,riverLevel,extraTemp1,wh40_batt,wh41_ch1_batt,wh41_ch2_batt,wh51_ch1_batt,wh51_ch2_batt,wh57_batt,ws80_batt# The driver to use:driver = user.gesimulator
Dec 26 14:01:36 dizzy weewx-test[332] CRITICAL weewx.engine: **** File "/opt/weewx-4.2.0-test/bin/weewx/drivers/simulator.py", line 139, in __init__Dec 26 14:01:36 dizzy weewx-test[332] CRITICAL weewx.engine: **** self.trim_observations(stn_dict)Dec 26 14:01:36 dizzy weewx-test[332] CRITICAL weewx.engine: **** File "/opt/weewx-4.2.0-test/bin/weewx/drivers/simulator.py", line 144, in trim_observationsDec 26 14:01:36 dizzy weewx-test[332] CRITICAL weewx.engine: **** desired = [x.strip() for x in stn_dict['observations'].split(',')]Dec 26 14:01:36 dizzy weewx-test[332] CRITICAL weewx.engine: **** AttributeError: 'list' object has no attribute 'split'Dec 26 14:01:36 dizzy weewx-test[332] CRITICAL __main__: Unable to load driver: 'list' object has no attribute 'split'
--
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/419112CF-BA4B-4B03-B7E3-E07B95F04DEA%40gmail.com.
On 26 Dec 2020, at 11:42 pm, Tom Keffer <tke...@gmail.com> wrote:Fixed in commit d9a4daa