mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
267 Scenario bug fully fixed Stable
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
"appass": "",
|
||||
"routerssid": "VOLODYA",
|
||||
"routerpass": "BELCHENKO",
|
||||
"timezone": 2,
|
||||
"timezone": 1,
|
||||
"ntp": "pool.ntp.org",
|
||||
"mqttServer": "91.204.228.124",
|
||||
"mqttPort": 1883,
|
||||
"mqttServer": "m12.cloudmqtt.com",
|
||||
"mqttPort": 14053,
|
||||
"mqttPrefix": "/iotTest",
|
||||
"mqttUser": "rise",
|
||||
"mqttPass": "23ri22se32",
|
||||
"mqttUser": "lbscvzuj",
|
||||
"mqttPass": "bLxlveOgaF8F",
|
||||
"scen": "1",
|
||||
"telegramApi": "1416711569:AAEI0j83GmXqwzb_gnK1B0Am0gDwZoJt5xo",
|
||||
"telegonof": "0",
|
||||
|
||||
@@ -1 +1 @@
|
||||
0;input-time;id;inputTime;Ввод;Введите#время;order;st[10:00:00]
|
||||
0;input-time;id;inputTime;Ввод;Введите#время;order;st[10:00]
|
||||
4
data/presets/rel.c.txt
Normal file
4
data/presets/rel.c.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
0;button-out;button1;toggle;Реле;Освещение;1;pin[12];st[0]
|
||||
0;button-out;button2;toggle;Реле;Освещение;2;pin[13];st[0]
|
||||
0;input-time;T1;inputTime;Реле;Введите#время#включения;3;st[10:00]
|
||||
0;input-time;T2;inputTime;Реле;Введите#время#выключения;4;st[11:00]
|
||||
8
data/presets/rel.s.txt
Normal file
8
data/presets/rel.s.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
timenow = T1
|
||||
button1 1
|
||||
button2 0
|
||||
end
|
||||
timenow = T2
|
||||
button1 0
|
||||
button2 1
|
||||
end
|
||||
@@ -43,7 +43,7 @@
|
||||
},
|
||||
{
|
||||
"type": "h4",
|
||||
"title": "LittleFS version: 266"
|
||||
"title": "LittleFS version: 267"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
@@ -88,7 +88,8 @@
|
||||
"title": {
|
||||
"#": "Выберите пресет из списка<span class=\"caret\"></span>",
|
||||
"/set?addPreset=dal.c": "1.Термостат на основе ds18b20 с оповещением в телеграм",
|
||||
"/set?addPreset=dht.c": "2.Контроль влажности на основе DHT с оповещением в телеграм"
|
||||
"/set?addPreset=dht.c": "2.Контроль влажности на основе DHT с оповещением в телеграм",
|
||||
"/set?addPreset=rel.c": "3.Включение выключение реле в заданное время"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -184,6 +185,15 @@
|
||||
"action": "/check",
|
||||
"response": "[[my-block]]",
|
||||
"class": "btn btn-block btn-default"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"title": "Перезагрузить устройство",
|
||||
"action": "javascript:if(confirm(renameBlock(jsonResponse,'Перезагрузить?'))){send_request(this,'/set?device=ok');}",
|
||||
"class": "btn btn-block btn-danger"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -54,6 +54,15 @@
|
||||
{
|
||||
"type": "text",
|
||||
"title": "<div style='margin-top:10px;margin-bottom:10px;'><font color='black'><p style='border: 1px solid #DCDCDC; border-radius: 3px; background-color: #F5F5F5; padding: 10px;'>После настройки telegram перезагрузите устройство что бы изменения вступили в силу</p></font></div>"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"title": "Перезагрузить устройство",
|
||||
"action": "javascript:if(confirm(renameBlock(jsonResponse,'Перезагрузить?'))){send_request(this,'/set?device=ok');}",
|
||||
"class": "btn btn-block btn-danger"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user