Help with temperature auto-refreshing on web page

Hey guys, i am novice and i need some help to show my project temperature values on a web page, without using node.js and others.
I want to read the temperature and refresh the value each second without refreshing the whole web page.

I dont have an idea how to do that.

#include <Boards.h>
#include <Wire.h>
#include <Dhcp.h>
#include <Dns.h>
#include <Ethernet2.h>
#include <EthernetClient.h>
#include <EthernetServer.h>
#include <EthernetUdp2.h>
#include <Twitter.h>
#include <util.h>
#include <LiquidCrystal_I2C.h>
#include <SPI.h>

//--------------------------------------------------
byte mac = { 0x90, 0xA2, 0xDA, 0x10, 0x6E, 0xD1 }; //physical mac address
IPAddress ip(192, 168, 20, 4 ); // ip in lan
IPAddress gateway( 192, 168, 20, 1 ); // internet access via router
IPAddress subnet( 255, 255, 255, 0 ); //subnet mask
//--------------------------------------------------
LiquidCrystal_I2C lcd(0x27,20,4);
//--------------------------------------------------
const int LM35 = A0;
float temperatura;
EthernetServer server(80);

String readString;

int pin = 9;

boolean ligado = true;

//Função que será executada uma vez quando ligar ou resetar o Arduino
void setup() {
Ethernet.begin(mac, ip, gateway, subnet);
server.begin();
Serial.begin(9600); // inicializa a comunicação serial
lcd.init();
lcd.backlight();
lcd.setCursor(1,0);
lcd.print(“SEITEC MONITOR”);
analogReference(INTERNAL);
pinMode(pin, OUTPUT);

}

//Função que será executada continuamente
void loop() {
temperatura = 0;
for(int i=0;i<1000;i++){
temperatura = temperatura + float(analogRead(LM35));
}
temperatura = temperatura /1000;
temperatura = temperatura*(1.1/1024);
temperatura = temperatura*100;
Serial.print("Temperatura: ");
Serial.println(temperatura);
lcd.setCursor(2,1);
lcd.print(“Temp:”);
lcd.print(temperatura);
lcd.print(“C”);
delay(2000);

EthernetClient client = server.available();
if (client) {
while (client.connected()) {
if (client.available()) {
char c = client.read();

//read char by char HTTP request
if (readString.length() < 100) {

//store characters to string
readString += c;
//Serial.print(c);
}

//if HTTP request has ended
if (c == ‘\n’) {

///////////////////// control arduino pin
Serial.println(readString); //print to serial monitor for debuging
if(readString.indexOf("?ligar") >0)//checks for on
{
digitalWrite(pin, HIGH); // set pin 4 high
Serial.println(“On”);
ligado = false;
}
else{
if(readString.indexOf("?desligar") >0)//checks for off
{
digitalWrite(pin, LOW); // set pin 4 low
Serial.println(“Off”);
ligado = true;
}
}
//clearing string for next read
readString="";

///////////////

client.println(“HTTP/1.1 200 OK”); //send new page
client.println(“Content-Type: text/html”);
client.println();
client.println("");
client.println("");
client.println(“Monitor Temp v.0.1”);
client.println("");
client.println("");
client.println("");
client.println("");
client.println("");
client.println("


“);
client.println(”");
client.println("");
client.println("");
client.println(“
Monitor Temp v.0.1”);
client.print("
");
client.println(temperatura);
client.print(ligado);
client.println("
");
client.println("
");
client.println("
");
client.println(“”);
client.println("");
client.println("");

delay(1);
//stopping client
client.stop();

}
}
}
}

}

jsfiles.zip (1.14 KB)

Any Help?

Any Help?

With you developing realistic requirements?

i need some help to show my project temperature values on a web page, without using node.js and others.

Why do you suppose those technologies were developed?