diff --git a/lib/SerialDevices/jkSDS011.cpp b/lib/SerialDevices/jkSDS011.cpp index cca2d322d..9d7f598a5 100644 --- a/lib/SerialDevices/jkSDS011.cpp +++ b/lib/SerialDevices/jkSDS011.cpp @@ -94,6 +94,9 @@ void CjkSDS011::SetWorkingPeriod(int minutes) { const int currentWorkingPeriod = GetWorkingPeriod(); if (minutes != currentWorkingPeriod) SendCommand(8, 1, minutes); + // In some cases the Sensor is set to "report query"-mode, this makes sure to set active reporting of values, otherwise the sensor won't work. + Process(); + SendCommand(2, 1, 0); } int CjkSDS011::GetWorkingPeriod() {