Humans need a very specific set of environmental conditions for their wellbeing, mainly temperature, humidity and illumination.
I would like to create a device that can tell how comfortable a certain room is, using temperature and humidity values. With an arduino mini and a DHT22 sensor the device should determine if temperature and humidity are okay or, for instance, the area is too warm (>30°C) or too dry (<10%). The final output should be in a scale from 0 to 10, 0 lowest score and 10 highest.
Now, as the best environmental conditions for humans are 50-60% hum and 22-25°C temp, I need to find a way to perform a basic sensor fusion and combine humidity and temperature values accordingly. I thought of using two Gaussian distributions centered on the two best values (25°C at 60% hum). The t and h values are then fed into the two distributions and the derived y values summed up. Finally, using the map function the final value is remapped into a scale from 0 to 9.
Do you think it will work? Is there an easier solution?