DHT22/DHT11 problems in Devices - R039
Moderators: grovkillen, Stuntteam, TD-er
DHT22/DHT11 problems in Devices - R039
Hi
I problem I observed as a new user
When choosing these items, the screen does not refresh back to the devices page - it seems to get stuck...
I problem I observed as a new user
When choosing these items, the screen does not refresh back to the devices page - it seems to get stuck...
Re: DHT22/DHT11 problems in Devices - R039
Same here,
Some times it does, sometimes not.
But that is for more selections made in the tool.
Refresh of the browser is your escape.
Paco
Some times it does, sometimes not.
But that is for more selections made in the tool.
Refresh of the browser is your escape.
Paco
-
- Normal user
- Posts: 30
- Joined: 31 Oct 2015, 08:00
Re: DHT22/DHT11 problems in Devices - R039
Interesting, I just hit the same problem. It seems like there is some sort of corruption. I've just done a reset from the serial port and started all over again. I then tried going straight to the devices screen and adding a Temperature & Humidity - DHT device and straight away, blank screen. Doesn't reset wipe all the configs?
Re: DHT22/DHT11 problems in Devices - R039
Coolwombat,
Which GPIO port did you assigend to it?
Paco
Which GPIO port did you assigend to it?
Paco
-
- Normal user
- Posts: 30
- Joined: 31 Oct 2015, 08:00
Re: DHT22/DHT11 problems in Devices - R039
Paco
I originally assigned GPIO-12. But like I said earlier, after doing a reset which is supposed to have cleared all then settings I then went and add a new DHT11 sensor. Once I have selected the sensor and even before I press the "Submit" button, the page would have gone blank. So, I actually don't get to enter the GPIO.
I originally assigned GPIO-12. But like I said earlier, after doing a reset which is supposed to have cleared all then settings I then went and add a new DHT11 sensor. Once I have selected the sensor and even before I press the "Submit" button, the page would have gone blank. So, I actually don't get to enter the GPIO.
Re: DHT22/DHT11 problems in Devices - R039
What do you mean by reset by serial port?
Was the port still assigned to GPIO-12 after the reset before you could hit submit?
Paco
Was the port still assigned to GPIO-12 after the reset before you could hit submit?
Paco
-
- Normal user
- Posts: 30
- Joined: 31 Oct 2015, 08:00
Re: DHT22/DHT11 problems in Devices - R039
Paco
I still have my device connected to the PC via the USB/Serial interface which I use to program it using Arduino IDE. From the serial console, I typed the command "reset" which is supposed to reset the device and put it back to the default settings. See the bottom of this page - http://www.esp8266.nu/index.php/ESPEasy
Once I have reset it, I have to then go back in via the serial console to set up the wifi using the wifissid, wifikey and then wificonnect. After that I could then connect to it via a web browser. As I have to do it so many times, I found that it was easier that way than to connect to the device as a AP, setup the wifi and then reconnect back to my own wifi and then finally connect to it via a browser.
Back to your question below. When I first go to the devices screen after the reset, there will be no devices defined as expected. I then click on the "Edit" button on task 1 which then allows me to select the type of devices I want from the drop down menu. As soon as I select the DHT11, the screen goes blank. So, I don't get to select the GPIO.
I still have my device connected to the PC via the USB/Serial interface which I use to program it using Arduino IDE. From the serial console, I typed the command "reset" which is supposed to reset the device and put it back to the default settings. See the bottom of this page - http://www.esp8266.nu/index.php/ESPEasy
Once I have reset it, I have to then go back in via the serial console to set up the wifi using the wifissid, wifikey and then wificonnect. After that I could then connect to it via a web browser. As I have to do it so many times, I found that it was easier that way than to connect to the device as a AP, setup the wifi and then reconnect back to my own wifi and then finally connect to it via a browser.
Back to your question below. When I first go to the devices screen after the reset, there will be no devices defined as expected. I then click on the "Edit" button on task 1 which then allows me to select the type of devices I want from the drop down menu. As soon as I select the DHT11, the screen goes blank. So, I don't get to select the GPIO.
Re: DHT22/DHT11 problems in Devices - R039
@coolwombat:
How much free memory does your unit report?
Which version of the board manager package did you use in Arduino?
How much free memory does your unit report?
Which version of the board manager package did you use in Arduino?
-
- Normal user
- Posts: 30
- Joined: 31 Oct 2015, 08:00
Re: DHT22/DHT11 problems in Devices - R039
Hi Martinus
I'm using Arduino 1.6.5 and esp8266 by ESP8266 Community version 1.6.5-947-g39819f0. Free memory is 17528.
I think I might have fixed it. As you asked about the version of board manager, I thought maybe something has got corrupted, so I've uninstalled the board manager and re-installed it. So, far I've been successful in adding the DHT11 and configuring it. Very happy!
Now I can start to play with my setup consisting of OpenHAB running on a Raspberry Pi plus 4 esp8266 with DHT11 & one DHT22 and one esp8266 driving my garage door opener plus a reed switch as a sensor. So far everything has been working well except for this newest esp8266 which I was having problem configuring with a DHT11. If anyone is interested, I can post some of my learnings setting up with esp8266 with ESPEasy connecting to the OpenHAB platform via MQTT. The esp8266 with DHT11 reports back temperature, humidity and also the status of the battery every 2.5 minutes. I'm waiting for some MCP1700-3302E which hopefully will help with battery life as I'm only getting about 1 week of life out of my current setup even with the esp8266 going to sleep after sending the data.
I'm using Arduino 1.6.5 and esp8266 by ESP8266 Community version 1.6.5-947-g39819f0. Free memory is 17528.
I think I might have fixed it. As you asked about the version of board manager, I thought maybe something has got corrupted, so I've uninstalled the board manager and re-installed it. So, far I've been successful in adding the DHT11 and configuring it. Very happy!
Now I can start to play with my setup consisting of OpenHAB running on a Raspberry Pi plus 4 esp8266 with DHT11 & one DHT22 and one esp8266 driving my garage door opener plus a reed switch as a sensor. So far everything has been working well except for this newest esp8266 which I was having problem configuring with a DHT11. If anyone is interested, I can post some of my learnings setting up with esp8266 with ESPEasy connecting to the OpenHAB platform via MQTT. The esp8266 with DHT11 reports back temperature, humidity and also the status of the battery every 2.5 minutes. I'm waiting for some MCP1700-3302E which hopefully will help with battery life as I'm only getting about 1 week of life out of my current setup even with the esp8266 going to sleep after sending the data.
Re: DHT22/DHT11 problems in Devices - R039
hi there,
I'm in a very similar situation:
After i create the device in the "devices" page, i can't access the dht entry for editing or deleting.
I get a ERR_CONTENT_LENGTH_MISMATCH error in the browser (chrome).
edit: I raised the log level and got this msg in the serial console:
No heap available, failed to malloc 4520
No heap available, failed to malloc 4504
No heap available, failed to malloc 4504
No heap available, failed to malloc 4472
No heap available, failed to malloc 4496
Somebody got same results ?
Any idea ?
Many thanks...
paolo
I'm in a very similar situation:
After i create the device in the "devices" page, i can't access the dht entry for editing or deleting.
I get a ERR_CONTENT_LENGTH_MISMATCH error in the browser (chrome).
edit: I raised the log level and got this msg in the serial console:
No heap available, failed to malloc 4520
No heap available, failed to malloc 4504
No heap available, failed to malloc 4504
No heap available, failed to malloc 4472
No heap available, failed to malloc 4496
Somebody got same results ?
Any idea ?
Many thanks...
paolo
Last edited by pppp33 on 21 Nov 2015, 16:10, edited 2 times in total.
Re: DHT22/DHT11 problems in Devices - R039
Actually, the used ESP core is the wrong version and 17528 free mem is critical low.CoolWombat wrote: I'm using Arduino 1.6.5 and esp8266 by ESP8266 Community version 1.6.5-947-g39819f0. Free memory is 17528.
Please use the version from our wiki tutorial (1084). It should give you at least 25k free RAM.
Webgui issues mainly result from lack of memory, resulting in returning only part of the webpage to your browser.
-
- Normal user
- Posts: 30
- Joined: 31 Oct 2015, 08:00
Re: DHT22/DHT11 problems in Devices - R039
Thanks Martinus!
I've gone back and updated my Arduino IDE using the board manager mentioned in the wiki - http://www.esp8266.nu/index.php/Tutoria ... are_Upload
I'm now 1.6.5-1084-ga39ce29 and I'm getting 28184 free memory. Looking very good now.
Now back to my new journey trying out Domoticz. I was previously on OpenHAB.
I've gone back and updated my Arduino IDE using the board manager mentioned in the wiki - http://www.esp8266.nu/index.php/Tutoria ... are_Upload
I'm now 1.6.5-1084-ga39ce29 and I'm getting 28184 free memory. Looking very good now.
Now back to my new journey trying out Domoticz. I was previously on OpenHAB.
Re: DHT22/DHT11 problems in Devices - R039
I'm having the same problem in R047 with dht11 and also with a sdd1306 oled.
I cant edit a device. In chrome I get a 'ERR_CONTENT_LENGTH_MISMATCH' error.
In the serial log: 'No heap available, failed to malloc 4960'
My free mem is : 16520
What's the cause and are there any solutions?
I cant edit a device. In chrome I get a 'ERR_CONTENT_LENGTH_MISMATCH' error.
In the serial log: 'No heap available, failed to malloc 4960'
My free mem is : 16520
What's the cause and are there any solutions?
Re: DHT22/DHT11 problems in Devices - R039
I found the solution myself!neuros wrote:I'm having the same problem in R047 with dht11 and also with a sdd1306 oled.
I cant edit a device. In chrome I get a 'ERR_CONTENT_LENGTH_MISMATCH' error.
In the serial log: 'No heap available, failed to malloc 4960'
My free mem is : 16520
What's the cause and are there any solutions?
Update to arduino ESP core 2.0.0
See also post http://www.esp8266.nu/forum/viewtopic.p ... core#p2001
Who is online
Users browsing this forum: No registered users and 6 guests