I am seeing the same thing.  It looks like the error is coming from 
manager.py here:


def _calc_weight(self, record):
     if 'interval' not in record: 
         raise ValueError("Missing value for record field 'interval'") 
     elif record['interval'] <= 0: 
         raise ValueError("Non-positive value for record field 'interval': 
%s" % (record['interval'], )) 
     weight = 60.0 * record['interval'] if self.version >= '2.0' else 1.0 
 return weight

Which seems to me like the as3935 service isn't adding it to the record?  

On Sunday, July 7, 2019 at 10:27:16 AM UTC-6, Mikael Fredriksson wrote:
>
> Hi.
>
> Trying to get the AS3935 lightning detector module to work in Weewx. 
> Seems like the module sends data to Weewx but there seems to be some issue 
> with the database. I´m stuck!
> Got this in syslog, as3935: callback failed: Missing value for record 
> field 'interval'
>
> Don´t know how to fix it, hope someone can help me out here!
>
>
> /Micael
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3257d627-3115-457e-9d26-11671de8ff68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to