Skip to content
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

home assistant doesn't match air gradient dashboard (not enough decimals?( #66

Open
HDCharles opened this issue Jun 18, 2024 · 2 comments

Comments

@HDCharles
Copy link

HDCharles commented Jun 18, 2024

Air Gradient One home assistant values don't match what i see in the air gradient dashboard when they are very small

i.e.

image

it looks like its showing 0 decimal points because every once in a while PM2.5 shows 1 instead of 0

image

It looks like in home assistant its set to be an integer for some reason? Is there any way to change that so I can see the actual values?

@MallocArray
Copy link
Owner

I don't remember seeing decimal places in the past on the Dashboard so that may be a newer feature, or I'm mistaken

It looks like by default the ESPHome component sets it to accuracy of 0 digits of you don't specify it

accuracy_decimals: 0

It could result in more database space used as it has to log more changes for any difference in decimal place instead of whole number.

I can't test adding the accuracy change until next week but can explore it.

@MallocArray
Copy link
Owner

I'm seeing inconsistencies in what is displayed on my side as well. My Outdoor monitor does sometimes show a decimal place, but my indoor ones only show whole numbers when I've looked. I wonder if it is using an average and getting decimals from that
https://forum.airgradient.com/t/dashboard-decimal-places/2236

I checked the API upload from the stock firmware and I only see whole numbers for PM values in it, so any decimals almost have to be related to an average calculated on the server side, but still checking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants