1. Go to: /usr/share/weewx/weewx/drivers
2. Edit wmr100.py
3. Find section and insert (bold text):
elif channel >= 2:
# If additional temperature sensors exist (channel>=2), then
# use observation types 'extraTemp1', 'extraTemp2', etc.
_record['extraTemp%d' % (channel-1)] = T
_record['extraHumid%d' % (channel-1)] = R
*#PEED #_record['extraBatteryStatus%d' % (channel)] = (packet[0]
& 0x40) >> 6 B = (packet[0] & 0x40) >> 6 if B ==
1: syslog.syslog(syslog.LOG_DEBUG, "extraBatteryStatus%d:
Low battery" % channel)*
return _record
4. Restart Weewx..
--
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.