Hello,
what can be the reason for the timeout?
Installed Firmware is ESPEasy_v2.0.0-dev10_normal_4096.bin
I have only connected one DS18b20 to the ESP12F
The Data Acquisition Delay from this sensor is set to 60 sec
Advanced Settings -> Controller Settings -> Message Delay is set to 0 ms
This is recommend in the Wiki when using Deep Sleep option. (Actually I'm not using it, but this is planned for the future, so I adjusted this setting already from 1000 ms to 0 ms)
Any idea why this error occurs?
Thanks and best regards,
Chris
Timeout while reading input data!
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 48
- Joined: 23 May 2017, 21:38
- Location: Malente / Germany
Re: Timeout while reading input data!
Hello,
without knowing your hardware setup:
Which GPIO did you use? Not all GPIO are just GPIO only, this might confuse the DS18B20.
Is the DS18B20 on a long wire?
Sometimes it helps to put a 10 KOhm resistor from 3,3V to the data pin of the DS18B20.
Regards
Shardan
without knowing your hardware setup:
Which GPIO did you use? Not all GPIO are just GPIO only, this might confuse the DS18B20.
Is the DS18B20 on a long wire?
Sometimes it helps to put a 10 KOhm resistor from 3,3V to the data pin of the DS18B20.
Regards
Shardan
Regards
Shardan
Shardan
-
- Normal user
- Posts: 48
- Joined: 23 May 2017, 21:38
- Location: Malente / Germany
Re: Timeout while reading input data!
Hello Sharda,
thanks for your answer!
I suppose this is no issue related to the hardware.
There is only one DS18b20 connected to GPIO-4 (D2) with less than 1m cable on this ESP12-F. (I have 2 of these units running, both assembled yesterday, both with the same settings and both with this same error in the logs).
The data line of the DS18b20 is connected with 3k9 to 3,3V.
My goal is to use these units as mobile battery powered temperature sensors, reporting the temperature values via WLAN to a volkszähler application.
It is running fine (temperature values arrives at the volkszähler application), but has this timeout error.
I have another nodeMCU with much longer cables and 12 pieces DS18b20 connected without any issue.
When you calculate the difference of the timestamps between the timeout Errors you get a value around 60s.
When you calculate the difference of the timestamps between the DS temperature values you also get a value around 60s.
When you calculate the difference of the timestamps of the values which has been sent to the database you also get a value around 60s.
So I think all retrieved values are correct sent to the database.
This means everything is running fine.
Except the timeout error.
So I think this is related to a setting in ESPEasy.
Any idea how to solve this?
Thanks and best regards,
Chris
thanks for your answer!
I suppose this is no issue related to the hardware.
There is only one DS18b20 connected to GPIO-4 (D2) with less than 1m cable on this ESP12-F. (I have 2 of these units running, both assembled yesterday, both with the same settings and both with this same error in the logs).
The data line of the DS18b20 is connected with 3k9 to 3,3V.
My goal is to use these units as mobile battery powered temperature sensors, reporting the temperature values via WLAN to a volkszähler application.
It is running fine (temperature values arrives at the volkszähler application), but has this timeout error.
I have another nodeMCU with much longer cables and 12 pieces DS18b20 connected without any issue.
When you calculate the difference of the timestamps between the timeout Errors you get a value around 60s.
When you calculate the difference of the timestamps between the DS temperature values you also get a value around 60s.
When you calculate the difference of the timestamps of the values which has been sent to the database you also get a value around 60s.
So I think all retrieved values are correct sent to the database.
This means everything is running fine.
Except the timeout error.
So I think this is related to a setting in ESPEasy.
Any idea how to solve this?
Thanks and best regards,
Chris
Re: Timeout while reading input data!
This time out message comes from a function that waits for a webserver reply, so it's not related to a local gpio or the DS sensor.
-
- Normal user
- Posts: 48
- Joined: 23 May 2017, 21:38
- Location: Malente / Germany
Re: Timeout while reading input data!
Hello Martinus,
Thanks for your answer!
This means there is a webserver configured, which is not existing or which does nothing?
Where can I find this?
Where is this configured?
Thanks and best regards,
Chris
Thanks for your answer!
This means there is a webserver configured, which is not existing or which does nothing?
Where can I find this?
Where is this configured?
Thanks and best regards,
Chris
Re: Timeout while reading input data!
Or likely the webserver sends something that the ESP does not understand or expect...
You can try setting the loglevel to 4 (serial or web) and see what comes back from the webserver.
You can try setting the loglevel to 4 (serial or web) and see what comes back from the webserver.
-
- Normal user
- Posts: 48
- Joined: 23 May 2017, 21:38
- Location: Malente / Germany
Re: Timeout while reading input data!
Okay, I set the log Level to 4.
This is the result:
What is the problem and how to solve it?
For your understanding, I have another ESP with ESPEasy R147 which sends the values of 12 pieces DS18b20 to the same database without any issue.
So there must be a difference between R147 and ESPEasy 2.0 dev 10 ?!?!
Thanks a lot and best regards,
Chris
This is the result:
What is the problem and how to solve it?
For your understanding, I have another ESP with ESPEasy R147 which sends the values of 12 pieces DS18b20 to the same database without any issue.
So there must be a difference between R147 and ESPEasy 2.0 dev 10 ?!?!
Thanks a lot and best regards,
Chris
Who is online
Users browsing this forum: No registered users and 55 guests