I think currently it’s not adjustable. Would you need a much faster frequency?
Not much. But it would be nice to have, for example, 4 times a minute.
I use CO2 sensors to automate ventilation. I try to analyze not only the current value, but also average and trend. Once a minute is a little bit rare.
Please open an issue on our HA github.
Joost already answered. It seems it’s already possible.
I confirm it works.
Two more points about update frequency.
-
For testing I followed the instruction above for one of my ONE devices.
I disabled default polling in HA.
I wrote automation that calls homeassistant.update_entity for one of the device sensors every 10 seconds. As I can see, all the device sensors are updated once in 10 seconds now.
Is that the way I should work, or do I need to list all 33 entities of the device when calling update_entity? -
How often are the real measurements made?
I have IQAir Airvisual device. It makes measurements only once in 3 minutes. I can poll them from HA every second if I want to, but they will always be the same.
If I poll data from Airgradient device frequently, will every poll return the new measurement? Or the measurements will be made, for example, once in 10 seconds? May be, the answer is different for different sensors?
Can’t answer for 1st point. But for the 2nd, yes device will return a new measurements but the value can be the same (depends on measurements result). The device have a scheduler to read from each sensor (time is different for each sensor), but all scheduled under 10s.
Thanks for your answer.
Where can I find these sensor reading schedules?
Its embed on the firmware and cannot be changed, unless you modify the firmware yourself. You can see it here arduino/examples/OneOpenAir/OneOpenAir.ino at 3.1.9 · airgradienthq/arduino · GitHub