Comments on: ESP8266 NodeMCU Web Server: Display Sensor Readings in Gauges https://randomnerdtutorials.com/esp8266-web-server-gauges/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 17 Mar 2025 11:25:22 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: mojtaba https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-927811 Wed, 19 Jun 2024 07:10:29 +0000 https://randomnerdtutorials.com/?p=107897#comment-927811 In reply to mojtaba.

PLEASE HELP ME!!!

]]>
By: mojtaba https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-920442 Sat, 01 Jun 2024 07:37:16 +0000 https://randomnerdtutorials.com/?p=107897#comment-920442 Hello and respect for your very useful content
How can I directly save gauge.min.js in spiffs and load it from spiffs ?
is it possible?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-870042 Sun, 05 Nov 2023 11:34:27 +0000 https://randomnerdtutorials.com/?p=107897#comment-870042 In reply to Bijanto.

Hi.
This example doesn’t use database.
Regards,
Sara

]]>
By: Bijanto https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-869793 Sat, 04 Nov 2023 00:43:36 +0000 https://randomnerdtutorials.com/?p=107897#comment-869793 does this use my sql database?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-863513 Mon, 02 Oct 2023 10:16:18 +0000 https://randomnerdtutorials.com/?p=107897#comment-863513 In reply to Fritigern.

Hi.
Try to call the
getSensorReadings() function outside the send() function.
For example:
String jsonReadings = getSensorReadings();
events.send(jsonReadings.c_str(),"new_readings" ,millis());

Let me know if this solves the issue.

Regards,
Sara

]]>
By: Fritigern https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-862908 Thu, 28 Sep 2023 16:59:50 +0000 https://randomnerdtutorials.com/?p=107897#comment-862908 Having spent days troubleshooting I have an esp8266 that I know can connect to my network and allows me to turn on/off its led remotely.
I used https://randomnerdtutorials.com/solved-could-not-find-a-valid-bme280-sensor/ to test the same esp8266 and BME, and they passed.
When I copy the data files and upload the gauges code my esp can’t connect to the network and the serial monitor prints-

⸮Could not find a valid BME280 sensor, check wiring!
16:41:47.459 ->
16:41:47.459 -> ————— CUT HERE FOR EXCEPTION DECODER —————
16:41:47.459 ->
16:41:47.459 -> Soft WDT reset
16:41:47.459 ->
16:41:47.459 -> Exception (4):
16:41:47.459 -> epc1=0x4020641e epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
16:41:47.494 ->
16:41:47.494 -> >>>stack>>>
16:41:47.494 ->
16:41:47.494 -> ctx: cont
16:41:47.494 -> sp: 3ffffe30 end: 3fffffd0 offset: 0160
16:41:47.494 -> 3fffff90: 3fffdad0 00000000 3ffef38c 40206528
16:41:47.494 -> 3fffffa0: feefeffe feefeffe feefeffe feefeffe
16:41:47.494 -> 3fffffb0: feefeffe 00000000 3ffef38c 40212684
16:41:47.494 -> 3fffffc0: feefeffe feefeffe 3fffdab0 401010c5
16:41:47.494 -> <<<stack<<<
16:41:47.494 ->
16:41:47.494 -> ————— CUT HERE FOR EXCEPTION DECODER —————
16:41:47.527 ->
16:41:47.527 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
16:41:47.527 ->
16:41:47.527 -> load 0x4010f000, len 3424, room 16
16:41:47.527 -> tail 0
16:41:47.527 -> chksum 0x2e
16:41:47.527 -> load 0x3fff20b8, len 40, room 8
16:41:47.527 -> tail 0
16:41:47.527 -> chksum 0x2b
16:41:47.527 -> csum 0x2b
16:41:47.527 -> v00057960
16:41:47.527 -> ~ld

My computer clock is correct so the mad date and other text has come from something in the library.
Any advice from anybody who has got this to work?

]]>
By: Fritigern https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-857110 Fri, 25 Aug 2023 09:37:02 +0000 https://randomnerdtutorials.com/?p=107897#comment-857110 To save me repeating the same steps for two networks, when I write an SSID and password into the IDE, do I put my current router’s ssid so the esp8266 joins that network as a client and is allocated an IP address (that I can find by interrogating my router), or do I make up an SSID and password for the ESP8266 so it becomes a network server and allocates IP addresses to clients that log on to it? (this IP may be found by interrogating the client like my iPhone after I have set it to join the ESP8266’s hosted network).
at the moment I am doing both and the esp neither shows as a network beacon, nor does it connect to my router if I attach it to either my network or a guest network.

]]>
By: Fritigern https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-857000 Thu, 24 Aug 2023 20:24:28 +0000 https://randomnerdtutorials.com/?p=107897#comment-857000 Ok thanks, I’m on that.
Still can’t get any of my ESP8266 boards to be seen by any of my wifi enabled devices as a server.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-856727 Wed, 23 Aug 2023 15:30:24 +0000 https://randomnerdtutorials.com/?p=107897#comment-856727 In reply to Fritigern.

Hi.
I recommend taking a look at this article about BME sensors: https://randomnerdtutorials.com/solved-could-not-find-a-valid-bme280-sensor/
Regards,
Sara

]]>
By: Fritigern https://randomnerdtutorials.com/esp8266-web-server-gauges/#comment-856535 Tue, 22 Aug 2023 18:36:55 +0000 https://randomnerdtutorials.com/?p=107897#comment-856535 I’m not having a good time here.
having spent ages soldering pins on to the BMEs and winning the fight to get littleFS to show as a plugin, I copied the web files and uploaded the code.
My ESP8266NodeMCU’s web server is invisible. It neither shows up as a network, nor can I force my device to connect by inputting the SSID and password in the networks dialogue of my computer, iPhone or iPad.
Also the Serial Monitor reports that neither of my BME 280s are attached when they are.
So has anybody got any suggestions on how to force a client to see the ESP- like minimum range or something basic I may have missed?
Also is there any troubleshooting to test whether the BME chips work at all?
Ta
Fritigern

]]>