On Saturday, November 10, 2018 at 1:07:05 PM UTC-8, Per Edström wrote:
>
> 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..
>
>
I didn't notice that previously.  Cool.

But I'm not so sure.  My reading is that it's showing the default mapping 
if you don't set that variable in the driver section of weewx.conf at all.

I'd try setting DEBUG_WHATEVER=1 there in weewx.conf and resetting the 
daemon.

To check, perhaps add a line to the following block so you can see what 
_init_ is doing:

        if DEBUG_CONFIG_DATA:
            logdbg('Configuration setup')
            logdbg('  Log sensor faults: %s' % self._sensor_stat)
            logdbg('  Using PC Time: %s' % self._use_pc_time)
            logdbg('  Erase archive data: %s' % self._erase_archive)
            logdbg('  Archive interval: %d' % self._archive_interval)
            logdbg('  Archive threshold: %d' % self._archive_threshold)

*  logdbg('   DEBUG_WHATEVER: %s' % DEBUG_WHATEVER)*


or something along those lines.....



-- 
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.

Reply via email to