1

Topic: Issue with DHT IP example

Hi everybody.
I try to make work the example named "Show temperature and humidity from DTH11 to smartphone over Net".
I was able to download the setch with arduino IDE, with the libraries that are needed and i was able to open ports on my Livebox.
The android app can talk with my module, because i see the graphical elements, but i get issues with the data.
I tried with a DHT11 and a DHT 22 sensor, both of them work nice with the example thet prints values on the serial terminal.
But i get the same issue with the two of them.
I use a chinese UNO board that works fine and a genuine Ethernet shield.
See it ::

https://nsa40.casimages.com/img/2020/10/01/20100112292166679.jpg
https://nsa40.casimages.com/img/2020/10/01/201001122921948136.jpg

2

Re: Issue with DHT IP example

Hello everybody.
I've tried with another Arduino board, another sensor and another version of Arduino IDE.
Still the same problem.
Is there really nobody who have an idea of what i'm doing wrong ?
I use the provided code, without any change.
Regards.

3

Re: Issue with DHT IP example

Welcome

1) Examples are outdated, so make your own interface with the remotexy editor, it will generate code for the latest version of remotexy library/app

2) Example is so outdated, it was made for an outdated version of that DHT library. Look at the examples of that library, you must use dht.begin() in setup().

4 (edited by Dagui 2020-10-03 15:21:23)

Re: Issue with DHT IP example

Thanks a lot Guillaume !

With this famous dht.begin() in setup it works fine :-)

Where can i add "solved" in the title of this post ?

5

Re: Issue with DHT IP example

NP

Click "Edit" at the bottom of first post, then you can change topic subject