frksteenhoff / ClimApp

Codebase for prototype and final version of the smartphone application ClimApp, a project under the European Research Area for Climate Services. The application is available for iOS and Android in App Stroe and Google Play respectively.
https://www.lth.se/climapp/
4 stars 2 forks source link

Partial merge of changes into master #134

Closed frksteenhoff closed 4 years ago

frksteenhoff commented 4 years ago

Complications

This pull request contains the same content as #133 - adding a merge step is the only difference.

I have checked that the content overall is rendered correctly and that the app overall is well-functioning, however there still are some problems that I am not able to resolve by myself.

BorisKingma commented 4 years ago

Hi Henriette, nice to hear from you.

with respect to this point: "The module also need to allow for configuration of thermostat, humidity and wind speed as a minimum (all of these are working as part of my changes in #133) Some code has been commented out in indoor.html -- because of the PMV implementation? As I am not familiar with the inner workings of the PMV related implementation and how my changes might affect them, I cannot make the right changes."

As previously discussed, we cannot assume the user knows humidity. we decided to use outdoor humidity and air temperature to calculate outdoor vapour pressure. We assume vapour pressure is equal inside and outside of the building. Then we calculate the indoor humidity with the estimated indoor temperature.

for this flow to work:

  1. I can send outdoor relative humidity and outdoor temperature, is that consistent with what the indoor module expects?
    • i will discuss with Jorn today as well.
frksteenhoff commented 4 years ago

Hi Boris 😄

That makes total sense, and yes it is hard for the user to know/measure the relative humidty -- this was what I agreed upon with Jørn, so I thought everyone agreed on this.

Outdoor relative humidity and temperature will be fine -- in #133 the temperature is already passed to the API, so doing the same for relative humidity should be an easy fix.

frksteenhoff commented 4 years ago

I also saw in indoor.html that some of the text is hard coded, this should probably be changed to work with the translation module?

https://github.com/frksteenhoff/ClimApp/blob/master/cordova/climapp/www/pages/indoor.html#L30

BorisKingma commented 4 years ago

133 is merged with master- solved conflicts