Page 1 of 1

Humidity Value is not obtained.

Posted: Mon Aug 14, 2023 6:49 am
by Tomson Mathew
Hi Guys,
I am new to this community. I have designed a project for my Aquarium.
My Goal is that - need a dimming led and a primary led. both need to turned on and off according to the schedule.
Next one is need to get the Room temperature & Humidity also.

In this project, I am not able to get the values from the humidity sensor to the application, able to get the value in Serial plotter on the Arduino IDE or by inter changing the value of
" void Send_Sensor() {
float h = dht.readHumidity();
float t = dht.readTemperature();
humidity_device.updateAndReportParam("Humidity", h);
temperature_device.updateAndReportParam("Temperature", t);}
"

In the application Humidity shows a value 25 always and no changing, can any one sort out this issue?
Attaching the code as a text file...

Re: Humidity Value is not obtained.

Posted: Mon Aug 14, 2023 3:22 pm
by bidrohini