Commit Graph

6 Commits

Author SHA1 Message Date
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 6b2bde2dce test: add get_refresh_time() test 2019-09-19 00:50:48 +02:00
cn f5bb5c01cb test: rename to suffix 2018-03-14 14:03:16 +01:00