Add config flag for low power mode

This commit is contained in:
oscgonfer 2025-08-26 19:03:11 +02:00
parent 06a69c09db
commit 51b444ec10
2 changed files with 10 additions and 0 deletions

View file

@ -635,4 +635,9 @@ message SEN5X_config {
* Reference temperature in degC
*/
optional float set_temperature = 1;
/*
* One-shot mode (true for low power - one-shot mode, false for normal - contionuous mode)
*/
optional bool set_one_shot_mode = 2;
}

View file

@ -826,4 +826,9 @@ message SEN5XState {
* Last VOC state validity flag for SEN5X
*/
bool voc_valid = 5;
/*
* Config flag for one-shot mode (see admin.proto)
*/
bool one_shot_mode = 6;
}