ConnectedHumber / Air-Quality-Web

The web interface and JSON api for the ConnectedHumber Air Quality Monitoring Project.
https://sensors.connectedhumber.org/
Mozilla Public License 2.0
11 stars 4 forks source link

Blob colour seems to be very unresponsive to PM2.5 level changes. #31

Closed robinharris closed 5 years ago

robinharris commented 5 years ago

When PM2.5 levels on several devices are in the 30 - 40 range the heat blows remain green but the DEFRA scale suggests they should be yellow. I don't recall every having seen anything other than green (apart from Brian's 3 devices in one location). I know that PM2.5 levels have been way above the green band many times so it now strikes me as 'wrong' that the map only ever displays green. Even if I increase the size of the blob, it remains green.

I can see yellow occasionally if two blobs start to merge but this is a different matter.

sbrl commented 5 years ago

I see. This does sound like a bug - I probably need to tweak the gradient colours to match up better.

sbrl commented 5 years ago

Ok, so I've added a gauge to the side of the map. The colours on the gauge correspond directly to the colours on the heatmap. The question now is whether the values on the gauge are correct according to the spec.

What do you think, @robinharris?

BNNorman commented 5 years ago

I like the scale except I would expect high values to be at the top not bottom

sbrl commented 5 years ago

Done, @BNNorman :smiley_cat:

Looks like my build system got confused, so the update wasn't deployed. I'm going to investigate some cache-busting soon I think, so it should react to changes faster in your browser when I push a new version.

BNNorman commented 5 years ago

Magic - Moments - Works a treat