-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase internal time #1163
Increase internal time #1163
Conversation
Every second is a bit overkill causing home assistant to struggle to visualise the data. Every 5 seconds should be better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a request to do the opposite. So I think we need configuration.
I agree. An option to specify how many times the reading is done would be useful. |
@DTTerastar could you at least make a beta release with one reading every minute until you have the time to make it into a parameter? |
At least for this sensor |
Good day, I do agree with @arne182 that 60 seconds is at least a better default interval -at least for now until a user-customizable interval is programmed maybe later- as CO2 and TVOC levels do not change radically within minutes. I therefore sincerely hope that this pull request will be approved soon. |
Thanks. |
I was looking into this as well. You might be interested to know that the SGP30 (and 40/41) were designed to operate at 1Hz, or once every second. So, a change would actually go against the chip manufacturer's recommended polling value. I think the ideal resolution for everyone would be to parameterize all sensor reporting time, per sensor. Then, users could choose if they want to run in spec or out of spec. This is obviously much larger in scope, though. |
I don't mind the data to be polled every second but the Mqtt reported is a problem for gone assistant to handle. Especially multiple sensors. It would in ideal to have it poll every second and report if a certain percentage change is reached or the minimum report time is reached. Allowing for the reporting interval to be variable. |
Thank you @AKHwyJunkie for this insights. I have the feeling, testing the latest beta with pulling interval of 60 seconds, that the values reported are indeed behaving slightly different than when the pulling interval was 1 second. |
Every second is a bit overkill causing home assistant to struggle to visualise the data. Every 5 seconds should be better.