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

Indoor module - incorrect parameters sent #141

Open BorisKingma opened 4 years ago

BorisKingma commented 4 years ago

Describe the bug According to debuggin by Jorn the app does not send the right values to the server for the server to calculate the indoor temperature.

Please check

Regards, Boris

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

BorisKingma commented 4 years ago

Hi Jørn,

What I have changed now is that the app does not send the indoor calculated humidity, but the outdoor humidity.

Here is what is sent to the server

SENDING TO SERVER: {"rho":66,"sr":396.237,"tao":10.88,"wo":0,"trv":2,"cy":1950,"fa":40,"no":3}

and then it gets back: {"error":true,"message":"An error occurred please try again."}

Can you tell me what value of input is incorrect? is is a parsing issue?

BorisKingma commented 4 years ago

update- Jorn had a student investigating the issue and will return on this matter shortly.