project: name: WiFi Clock version: 0.2.1 contacts: - mailto:rvb@rvb.name - tg:rvbglas - https://git.rvb.name - xmpp:rvb@rvb.name pages: - id: main title: "Главная" icon: "" elements: - type: table label: Имя устройства value: WiFi Clock - type: hr - id: _weather type: table label: Погода color: lightblue - type: hr - id: _time type: table label: Время color: green - id: _date type: table label: Дата color: green - id: _last_sync type: table label: Синхронизировано - type: hr - id: _uptime type: table label: Uptime - id: _mac type: table label: MAC-адрес - id: _rssi type: table label: Уровень сигнала - id: _heap type: table label: Свободная память - id: clock title: Часы icon: "" elements: - type: text value: Внешний вид - id: panel_font label: Шрифт часов type: select options: - value: 0 text: Стандартный - value: 1 text: Высокий - value: 2 text: Узкий - value: 3 text: Жирный - value: 4 text: Жирный прямой - value: 5 text: Синклер - id: panel_seconds label: Секунды type: checkbox - id: panel_zero label: Ведущий ноль type: checkbox - id: flash_dots label: Мигать точками type: checkbox - id: panel_speed label: Скорость type: range min: 1 max: 20 step: 1 - type: hr - type: text value: Яркость - id: day_from label: Дневной режим с type: number min: 0 max: 24 step: 1 - id: night_from label: Ночной режим с type: number min: 0 max: 24 step: 1 - id: panel_brightness_day label: Яркость днем type: range min: 0 max: 14 step: 1 - id: panel_brightness_night label: Яркость ночью type: range min: 0 max: 14 step: 1 - id: alarm title: Будильник icon: "" elements: - type: text value: Будильник - id: enable_alarm type: checkbox label: Включить - id: alarm_hour label: Час type: number min: 0 max: 23 step: 1 - id: alarm_minute label: Минуты type: number min: 0 max: 59 step: 1 - id: alarm_days label: Дни type: week - type: hr - id: alarm_length label: Длительность сигнала, с type: number min: 5 max: 120 step: 5 - id: alarm_tone label: Тон сигнала type: number min: 100 max: 5000 - id: alarm_beep_ms label: Длительность гудка, мс type: number min: 100 max: 2000 - id: alarm_silent_ms label: Длительность паузы, мс type: number min: 100 max: 2000 - type: hr - type: text value: Сигнал каждый час - id: enable_hourly type: checkbox label: Включить - id: hourly_night label: В том числе ночью type: checkbox - id: hourly_count label: Число сигналов type: number min: 1 max: 5 - id: hourly_tone label: Тон сигнала type: number min: 100 max: 5000 - id: hourly_beep_ms label: Длительность гудка, мс type: number min: 100 max: 2000 - id: hourly_silent_ms label: Длительность паузы, мс type: number min: 100 max: 2000 - id: hw title: Оборудование icon: "" elements: - type: text value: Часы реального времени - id: enable_rtc label: Использовать type: checkbox - id: pin_sda label: Пин SDA type: select options: - value: 16 text: D0 - value: 5 text: D1 - value: 4 text: D2 - value: 0 text: D3 - value: 2 text: D4 - value: 14 text: D5 - value: 12 text: D6 - value: 13 text: D7 - value: 15 text: D8 - value: 3 text: "RX*" - value: 1 text: "TX*" - id: pin_scl label: Пин SCL type: select options: - value: 16 text: D0 - value: 5 text: D1 - value: 4 text: D2 - value: 0 text: D3 - value: 2 text: D4 - value: 14 text: D5 - value: 12 text: D6 - value: 13 text: D7 - value: 15 text: D8 - value: 3 text: "RX*" - value: 1 text: "TX*" - id: i2c_speed label: Скорость шины I2C type: select options: - value: 100000 text: 100000 (стандартная) - value: 400000 text: 400000 (быстрая) - type: hr - type: text value: Кнопка - id: enable_button label: Использовать type: checkbox - id: button_pin label: Пин кнопки type: select options: - value: 16 text: D0 - value: 5 text: D1 - value: 4 text: D2 - value: 0 text: D3 - value: 2 text: D4 - value: 14 text: D5 - value: 12 text: D6 - value: 13 text: D7 - value: 15 text: D8 - value: 3 text: "RX*" - value: 1 text: "TX*" - id: button_inversed label: Кнопка на размыкание type: checkbox - type: hr - type: text value: Зуммер - id: enable_buzzer label: Использовать type: checkbox - id: buzzer_pin label: Пин зуммера type: select options: - value: 16 text: D0 - value: 5 text: D1 - value: 4 text: D2 - value: 0 text: D3 - value: 2 text: D4 - value: 14 text: D5 - value: 12 text: D6 - value: 13 text: D7 - value: 15 text: D8 - value: 3 text: "RX*" - value: 1 text: "TX*" - id: buzzer_passive label: Пассивный зуммер type: checkbox - type: hr - type: text value: Светодиодная панель - id: pin_din label: Пин DIN type: select options: - value: 16 text: D0 - value: 5 text: D1 - value: 4 text: D2 - value: 0 text: D3 - value: 2 text: D4 - value: 14 text: D5 - value: 12 text: D6 - value: 13 text: D7 - value: 15 text: D8 - value: 3 text: "RX*" - value: 1 text: "TX*" - id: pin_clk label: Пин CLK type: select options: - value: 16 text: D0 - value: 5 text: D1 - value: 4 text: D2 - value: 0 text: D3 - value: 2 text: D4 - value: 14 text: D5 - value: 12 text: D6 - value: 13 text: D7 - value: 15 text: D8 - value: 3 text: "RX*" - value: 1 text: "TX*" - id: pin_cs label: Пин CS type: select options: - value: 16 text: D0 - value: 5 text: D1 - value: 4 text: D2 - value: 0 text: D3 - value: 2 text: D4 - value: 14 text: D5 - value: 12 text: D6 - value: 13 text: D7 - value: 15 text: D8 - value: 3 text: "RX*" - value: 1 text: "TX*" - id: led_modules label: Число модулей 8*8 type: number min: 4 max: 8 - id: weather title: Погода icon: "" elements: - id: enable_weather label: Использовать погодный сервис type: checkbox - id: weather_url label: URL погодного сервиса type: input - id: weather_template label: Шаблон вывода type: input - id: weather_min label: Частота обновления, мин type: number min: 5 - id: wifi title: WiFi icon: "" elements: - type: text value: Клиент сети - id: sta_ssid type: input-wifi label: 🗘Имя беспроводной сети pattern: ^[^!#;+\]/"\t][^+\]/"\t]{0,31}$ - id: sta_psk type: password label: 🗘Ключевая фраза - id: sta_wait type: input label: Ожидать подключения не дольше, с - type: hr - type: text value: Точка доступа - id: ap_ssid type: input label: 🗘Имя беспроводной сети pattern: ^[^!#;+\]/"\t][^+\]/"\t]{0,31}$ - id: ap_psk type: password label: 🗘Ключевая фраза - id: wifi type: button label: Применить настройки WiFi - id: system title: Система icon: "" elements: - type: text value: Авторизация - id: auth_user type: input label: Логин pattern: ^[A-Za-z0-9]{3,16}$ - id: auth_pwd label: Пароль type: password pattern: ^.{4,16}$ - id: auth type: button label: Сменить пароль - type: hr - type: text value: Конфигурация - id: _config type: config label: Сохранение и восстановление настроек - type: hr - type: text value: Синхронизация времени - id: _timeset label: Установить время вручную type: timeset - id: ntp_server type: input label: NTP-сервер pattern: ^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])(\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9]))*$ - id: tz type: input label: Часовой пояс (POSIX) pattern: ^([A-Za-z]*)(-?[0-9]*(:[0-9]*)?)((([A-Za-z]*)(-?[0-9]*)?)?(,M[0-9]*\.[0-9]*\.[0-9]*/([0-9]*:?){3}){2})?$ - id: restart type: button label: Перезагрузить