{ "configs": [ "/config.setup.json", "/config.option.json", "/config.live.json", "/lang/lang.ru.json" ], "class": "col-sm-offset-1 col-sm-10", "content": [ { "type": "h5", "title": "{{name}}", "class": "alert-default" }, { "type": "link", "title": "{{ButMainPage}}", "action": "/", "class": "btn btn-block btn-default" }, { "type": "hr" }, { "type": "h4", "title": "Device ID: {{chipID}}" }, { "type": "h4", "title": "IP address: {{ip}}" }, { "type": "h4", "title": "Time: {{time}}" }, { "type": "h4", "title": "Uptime: {{uptime}}" }, { "type": "h4", "title": "Build version: {{firmware_version}}" }, { "type": "h4", "title": "LittleFS version: 2.3.5" }, { "type": "hr" }, { "type": "dropdown", "name": "help-url", "class": "btn btn-default", "style": "display:inline", "title": { "#": "Выберите элемент из списка", "/set?addItem=button-out": "1.Кнопка управляющая пином", "/set?addItem=pwm-out": "2.Широтно импульсная подуляция", "/set?addItem=button-in": "3.Физическая кнопка", "/set?addItem=input-digit": "4.Окно ввода цифровых значений", "/set?addItem=input-time": "5.Окно ввода времени" } }, { "type": "hr" }, { "type": "csv", "title": [ "html", "text", "text", "text", "text", "text" ], "state": "conf.csv", "style": "width:100%;", "action": "/set?saveItems", "class": "btn btn-block btn-default" }, { "type": "hr" }, { "type": "link", "title": "Удалить все", "action": "/set?delAllItems", "class": "btn btn-block btn-default" }, { "type": "h2", "title": "Сценарии" }, { "type": "checkbox", "name": "scen", "title": "Включить сценарии", "action": "/set?scen=[[scen]]", "state": "{{scen}}" }, { "type": "file", "state": "dev_scen.txt", "style": "width:100%;height:350px", "title": "Сохранить", "action": "/set?sceninit", "class": "btn btn-block btn-default" }, { "type": "link", "title": "Инструкция к системе автоматизации", "action": "https://github.com/IoTManagerProject/IoTManager/wiki", "class": "btn btn-block btn-default" }, { "type": "link", "title": "Очистить логи сенсоров", "action": "/set?cleanlog", "class": "btn btn-block btn-default" }, { "type": "hr" }, { "type": "h3", "name": "my-block", "style": "position:fixed;top:50%;left:50%;width:400px;margin-left:-200px;text-align:center;", "class": "hidden" }, { "type": "button", "title": "Обновить прошивку устройства", "action": "/check", "response": "[[my-block]]", "class": "btn btn-block btn-default" } ] }