Hi, I've added maxSolarRad to my WeeWx in the following way. First, I added these lines to the /usr/share/weewx/user/extensions.py file:
import weewx.units import schemas.wview extended_schema = schemas.wview.schema + [('maxSolarRad', 'REAL')] weewx.units.obs_group_dict['maxSolarRad'] = 'group_radiation' Then made changes to /etc/weewx/weewx.conf: [DataBindings] [[wx_binding]] database = archive_mysql table_name = archive manager = weewx.wxmanager.WXDaySummaryManager # schema = schemas.wview.schema schema = user.extensions.extended_schema ... [StdWXCalculate] [[Calculations]] ... maxSolarRad = software Naturally, I added a new column to the archive table in my weewx mysql schema: `maxSolarRad` double DEFAULT NULL, Then restarted WeeWx, I see in the logs that maxSolarRad is being handled with a certain algorithm, but the maxSolarRad column is filled with NULL values in the database. Could anyone explain what I'm missing from the above procedure to make it work? Thanks in advance... -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.