Ok..
So it seems like this part resets the settings made at the top of the
wmr200.py file. If DEBUG is needed then one needs to set "1" here too..
* # Restart counter when driver crashes and is restarted by
the # weewx engine. global STAT_RESTART STAT_RESTART
+= 1 if STAT_RESTART > 1: logwar(('Restart count: %d') %
STAT_RESTART) # Reset any other state during startup or after a
crash. PacketArchiveData.rain_total_last = None # Debugging
flags global DEBUG_WRITES DEBUG_WRITES =
int(stn_dict.get('debug_writes', 0)) global DEBUG_COMM
DEBUG_COMM = int(stn_dict.get('debug_comm', 0)) global
DEBUG_CONFIG_DATA DEBUG_CONFIG_DATA =
int(stn_dict.get('debug_config_data', 1)) global
DEBUG_PACKETS_RAW DEBUG_PACKETS_RAW =
int(stn_dict.get('debug_packets_raw', 1)) global
DEBUG_PACKETS_COOKED DEBUG_PACKETS_COOKED =
int(stn_dict.get('debug_packets_cooked', 0)) global
DEBUG_PACKETS_ARCHIVE DEBUG_PACKETS_ARCHIVE =
int(stn_dict.get('debug_packets_archive', 0)) global
DEBUG_PACKETS_TEMP DEBUG_PACKETS_TEMP =
int(stn_dict.get('debug_packets_temp', 0)) global
DEBUG_PACKETS_RAIN DEBUG_PACKETS_RAIN =
int(stn_dict.get('debug_packets_rain', 0)) global
DEBUG_PACKETS_WIND DEBUG_PACKETS_WIND =
int(stn_dict.get('debug_packets_wind', 0)) global
DEBUG_PACKETS_STATUS DEBUG_PACKETS_STATUS =
int(stn_dict.get('debug_packets_status', 0)) global
DEBUG_PACKETS_PRESSURE DEBUG_PACKETS_PRESSURE =
int(stn_dict.get('debug_packets_pressure', 0)) global
DEBUG_CHECKSUM DEBUG_CHECKSUM = int(stn_dict.get('debug_checksum',
0)) global DEBUG_MAPPING DEBUG_MAPPING =
int(stn_dict.get('debug_mapping', 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 [email protected].
For more options, visit https://groups.google.com/d/optout.