mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
265 Telegram support added
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"mqttPass": "23ri22se32",
|
||||
"scen": "1",
|
||||
"telegramApi": "1425283609:AAFf3YO8ouCJF23kU8CMiU7XXy21MFhbn9w",
|
||||
"telegonof": "0",
|
||||
"weblogin": "admin",
|
||||
"webpass": "admin",
|
||||
"udponoff": "1",
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
},
|
||||
{
|
||||
"type": "h4",
|
||||
"title": "LittleFS version: 264"
|
||||
"title": "LittleFS version: 265"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
|
||||
@@ -19,16 +19,26 @@
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "checkbox",
|
||||
"name": "tel",
|
||||
"title": "Включить телеграм",
|
||||
"action": "/set?telegonof=[[tel]]",
|
||||
"state": "{{telegonof}}"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "h4",
|
||||
"style": "width:60%;float:left;",
|
||||
"style": "width:40%;float:left;",
|
||||
"title": "Telegram API token:"
|
||||
},
|
||||
{
|
||||
"type": "input",
|
||||
"title": "",
|
||||
"name": "telegramApi-arg",
|
||||
"style": "width:40%;float:right",
|
||||
"style": "width:60%;float:right",
|
||||
"state": "{{telegramApi}}"
|
||||
},
|
||||
{
|
||||
@@ -40,6 +50,10 @@
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"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>"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user