// This file generated by ngrestcg
// For more information, please visit: https://github.com/loentar/ngrest

#include "humidityserver.h"
#include "calculate.h"
#include <ngrest/common/Nullable.h>


float humidityserver::absolutehumidity(float temperature, float humidity) {
    
    //Format: node_id, pin, humidity, temperature, gm3, isoutside
    int node_id = 1;
    int pin = 0;
    int isoutside = 0;
    float absHum = absoluteHumidityFloat(temperature, humidity); 

    return absHum; 
}
