Search found 14 matches
- Mon Mar 08, 2021 1:33 pm
- Forum: General Discussion and Questions
- Topic: Memory problems while serving web pages
- Replies: 2
- Views: 1464
Re: Memory problems while serving web pages
Yes, I found this command but hadn't realized that I only need to invoke it once. Now I do a gc.collect() after each time I have sent the webpage. Thanks. (I also do "del htmlstring" after it has been sent.)
- Mon Mar 08, 2021 11:26 am
- Forum: General Discussion and Questions
- Topic: Memory problems while serving web pages
- Replies: 2
- Views: 1464
Memory problems while serving web pages
My project is to build a general purpose relay controller based on input from various sensors. I want to see the current values of the sensors and be able to enter "on" and "off" values for the various sensors via web server. All of it runs on an esp32. And it now works -- reasonably well (with the ...
- Tue Nov 19, 2019 7:43 pm
- Forum: ESP32 boards
- Topic: persistent wifi/mqtt connections or not
- Replies: 20
- Views: 9987
Re: persistent wifi/mqtt connections or not
Sure is a big word for me but the board with which I have experienced most reliability problem has been powered with something that looks ok and with rated output 5V 2A so should be OK, no? Last night (24 hours ago) I did change the code to do the MQTTclient.connect and disconnect just before and af...
- Mon Nov 18, 2019 8:21 pm
- Forum: ESP32 boards
- Topic: persistent wifi/mqtt connections or not
- Replies: 20
- Views: 9987
Re: persistent wifi/mqtt connections or not
Thanks for input and guidance. What I'm trying to do is very simple: reading some temp and humidity sensors at various places and store these in a data base for plotting graphs/further analysis. I can definitely live with qos==0. If I miss a reading there is another one coming in a few minutes. But ...
- Sat Nov 16, 2019 9:05 pm
- Forum: ESP32 boards
- Topic: persistent wifi/mqtt connections or not
- Replies: 20
- Views: 9987
Re: persistent wifi/mqtt connections or not
Thanks again. Will have a look. A smaller step sounds right for me!
/Fredrik
/Fredrik
- Sat Nov 16, 2019 7:32 pm
- Forum: ESP32 boards
- Topic: persistent wifi/mqtt connections or not
- Replies: 20
- Views: 9987
Re: persistent wifi/mqtt connections or not
Thanks for the the reference. Actually I had started to look at Peter's mqtt library. My conclusion so far is that this library is where I should end up but it feels like a too big step for my coding skills right now. Also, will this library just help me cover up bad coding practices? Anyway good to...
- Sat Nov 16, 2019 3:30 pm
- Forum: ESP32 boards
- Topic: persistent wifi/mqtt connections or not
- Replies: 20
- Views: 9987
persistent wifi/mqtt connections or not
I have a few esp32 boards with bme280 and ds1820 sensors scattered around a farm to monitor temperatures and humidity. Each esp32 has a oled screen showing the data picked up by the sensors on the local esp board. Currently the oled is on all the time and updated every 5 seconds. The esp32:s are con...
- Thu Oct 03, 2019 5:04 pm
- Forum: ESP8266 boards
- Topic: SSD1306 random noise with multiple libraries
- Replies: 14
- Views: 12249
Re: SSD1306 random noise with multiple libraries
Of course you are right Robert. With the sh1106 library the (1.3inch) display works like a charm.
Thank you so much for the pointer! And thanks for a great source for all kinds of information.
Fredrik
Thank you so much for the pointer! And thanks for a great source for all kinds of information.
Fredrik
- Thu Oct 03, 2019 12:55 pm
- Forum: ESP8266 boards
- Topic: SSD1306 random noise with multiple libraries
- Replies: 14
- Views: 12249
Re: SSD1306 random noise with multiple libraries
Your finding about the 1.3 inch got me wondering and I suspect that is what I actually have... I'll check as soon as I get home.
Fredrik
Absolute newcomer + epsilon, but that epsilon gives me much joy.
Fredrik
Absolute newcomer + epsilon, but that epsilon gives me much joy.
- Thu Oct 03, 2019 10:26 am
- Forum: ESP8266 boards
- Topic: SSD1306 random noise with multiple libraries
- Replies: 14
- Views: 12249
Re: SSD1306 random noise with multiple libraries
Thanks for the quick reply (while I was trying to turn my picture in the right direction... ) I will try your this tonight and let you know. Also, I should correct my previous statement: It was by initation the display with different resolutions that I could get the narrow band to move around a. The...