<script>
const teplotaElement = document.getElementById('teplota');
setInterval(async () => {
const response = await fetch('/teplota');
if (response.ok) {
const text = await response.text();
teplotaElement.textContent = text;
}
}, 10000);
</script>