SEN5X Sensor Integration
This issue is to map the integration of the Sensirion SEN5X PM sensor.
- Site: https://sensirion.com/products/catalog/SEN50/, https://sensirion.com/products/catalog/SEN54 and https://sensirion.com/products/catalog/SEN55
Current Status
- Sensor integration has been working on preliminar tests, but current implementation of the
devbranch is returningnullfor all metrics. - We also need to understand how to handle the cleaning sequence of the sensor (it basically spins up the fan at max. speed). This needs to be carefully aligned during the boot process to avoid coinciding with the ESP boot or other power consumers. I believe this is already done, but would be good to check again.
Notes for completing implementation
Autocleaning Needs to be checked if it happens when it should (every 7 days) no matter the status. The first time the kit sees the SEN5X, after 7 days it will clean it, but then if we reflash, it should do it always at the desired interval
- [ ] Check that autocleaning works at desired interval
VOCs/NOx Index This is an important final step for the implementation. It is not resolved at the moment. Currently there is a hack, in the fact that when we leave the measurement mode, and go to idle, we are breaking the "flow" of the index algorithm and we need to review the state machine and check the implementation for it to work.
- [ ] Test the functionality of saving and restoring of state check
null Debug mode and check.