If I set:
*DEBUG_PACKETS_TEMP = 1*
weewx will still never enter this part of the code:
* if DEBUG_PACKETS_TEMP: logdbg('peed')
logdbg(' Temperature id:%d %.1f C trend: %s' %
(sensor_id, temp, TRENDS[temp_trend])) logdbg(' Humidity id:%d
%d%% trend: %s' % (sensor_id, humidity,
TRENDS[hum_trend])) logdbg((' Dew point id:%d: %.1f C' %
(sensor_id, dew_point))) if heat_index is not
None: logdbg(' Heat id:%d index:%d' % (sensor_id,
heat_index)) return record*
But if I remove the DEBUG-condition then the code is executed:
*#PEED# if DEBUG_PACKETS_TEMP: logdbg('peed')
logdbg(' Temperature id:%d %.1f C trend: %s' % (sensor_id, temp,
TRENDS[temp_trend]))# % (sensor_id, temp,
TRENDS[temp_trend])) logdbg(' Humidity id:%d %d%% trend: %s' %
(sensor_id, humidity, TRENDS[hum_trend]))# % (sensor_id,
humidity, TRENDS[hum_trend])) logdbg((' Dew point id:%d: %.1f C' %
(sensor_id, dew_point))) if heat_index is not None:
logdbg(' Heat id:%d index:%d' % (sensor_id, heat_index)) return
record*
--
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.