How to handle sensor query interval #10192
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Individual sensor query intervals are not possible. The query is hardcoded (like you did) with some fixed intervalls. It is no problem to read the sensors more often than needed. How often it is needed depends on use case. So it is better to have it more often. |
Beta Was this translation helpful? Give feedback.
-
With most sensors there is no "cost" in polling the values frequently, but the PMS5003 driver is an example of prolonging effective lifetime by letting the PM sensor be passive most of the time, coded in this specific driver. |
Beta Was this translation helpful? Give feedback.
With most sensors there is no "cost" in polling the values frequently, but the PMS5003 driver is an example of prolonging effective lifetime by letting the PM sensor be passive most of the time, coded in this specific driver.