Closed chrisale closed 4 months ago
I started getting a TypeError in the logs with a crash from purple air after I specified the Interval = 300 in my weewx.conf.
I hacked a fix by modifying line 282 in purpleair.py from: if delta > self.config_dict['interval'] * 1.5:
to this: if delta > float(self.config_dict['interval']) * 1.5:
@chrisale does this change https://github.com/bakerkj/weewx-purpleair/commit/21ba435e8b99c1a32c20a602cbe14d429455a757 fix the issue for you?
Assuming this is resolved.
I started getting a TypeError in the logs with a crash from purple air after I specified the Interval = 300 in my weewx.conf.
I hacked a fix by modifying line 282 in purpleair.py from: if delta > self.config_dict['interval'] * 1.5:
to this: if delta > float(self.config_dict['interval']) * 1.5: