This commit is contained in:
Dmitry Borisenko
2020-08-22 13:31:25 +03:00
parent 0485feeabe
commit 82b1fb6846
5 changed files with 17 additions and 2 deletions

View File

@@ -3,8 +3,8 @@
"chipID": "",
"apssid": "IoTmanager",
"appass": "",
"routerssid": "rise",
"routerpass": "hostel3333",
"routerssid": "VOLODYA",
"routerpass": "BELCHENKO",
"timezone": 2,
"ntp": "pool.ntp.org",
"mqttServer": "91.204.228.124",

6
data/elements.json Normal file
View File

@@ -0,0 +1,6 @@
{
"id1": "id1",
"id2": "id2",
"id3": "id3",
"id4": "id4"
}

Binary file not shown.

View File

@@ -57,6 +57,13 @@
"title": "Удалить все",
"action": "/set?cleanconf",
"class": "btn btn-block btn-default"
},
{
"type": "select",
"name": "id-arg",
"action": "/set?id=[[id-arg]]",
"state": "en",
"title": "elements.json"
}
]
}

View File

@@ -30,6 +30,8 @@ int getNewElementNumber(String file) {
return number;
}
void do_delElement() {
if (delElementFlag) {
delElementFlag = false;