Commit Graph

8 Commits

Author SHA1 Message Date
cn b358ea539f module: use yapf formatter, reduce pylint warnings 2020-08-07 23:01:51 +02:00
cn 1b3fc8f2df module: adopt poetry dependency manager 2020-08-07 22:39:32 +02:00
cn 1bdfe0e54a module: add estimated risk level calculation based on UVA light intensity
- thresholds from vendor, take with a grain of salt as these are estimations
2019-09-19 11:00:03 +02:00
cn 4eda08a9c9 module: calculate UVA light intensity correctly for rset != RSET_240K
- compensation for rset != RSET_240K was wrong, it increased UVA power/ADC step for rset > RSET_240K
- UVA power/ADC step should have been decreasing as refresh time (sampling time) got longer
- same behavior as with integration_time setting, that works correctly
2019-09-19 01:18:42 +02:00
cn df23b9905b module: calculate refresh time from any RSET without lookup table 2019-09-19 00:50:48 +02:00
cn 5cf6d2aad5 module: respect shutdown settings when writing command
- this fixes a serious flaw where until now this library never powered the sensor down
- not noticable directly as the sensor still takes measurements but wastes power in between
2019-09-19 00:50:44 +02:00
cn 5466a3ff2d module: add pylint and fix accordingly 2018-03-14 01:16:41 +01:00
cn 8cfb2541b9 Fiat lux 2016-05-29 23:13:04 +02:00