Version 1.6

Changed config message for ESP-NOW sensors.
Changed config message for RF gateway.
Changed config message for nRF24 sensors.
Minor main code optimization.
Changed config data storage location to EEPROM.
Fixed bug with saving config from Web interface.
This commit is contained in:
2023-03-07 11:54:29 +03:00
parent 0038361bb5
commit b87092d4e1
3 changed files with 191 additions and 192 deletions

View File

@ -10,7 +10,7 @@ function createXmlHttpObject() {
function load() {
if (xmlHttp.readyState == 0 || xmlHttp.readyState == 4) {
xmlHttp.open('PUT', '/config.json', true);
xmlHttp.open('GET', '/config', true);
xmlHttp.send(null);
xmlHttp.onload = function () {
jsonResponse = JSON.parse(xmlHttp.responseText);

View File

@ -10,7 +10,7 @@
<body onload="load();">
<form class="box">
<h1>ESP-NOW Gateway </h1>
<h1>ESP-NOW Gateway</h1>
<div class="wrapper">
<p class="text">Firmware:</p>
<p class="text" id="version"></p>