# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Domoticz
spec:
    description: |
        Domoticz is a lightweight, self-hosted home automation system that lets you monitor and control smart devices, sensors, switches, and more from a single web dashboard. Supports 100+ hardware protocols including Z-Wave, Zigbee, MQTT, and HTTP APIs.
    coverImage: https://avatars.githubusercontent.com/u/7498498
    icon: https://avatars.githubusercontent.com/u/7498498
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Domoticz
        - key: PASSWORD
          type: PASSWORD
          name: Admin Password
          description: Password for the admin interface
    tags:
        - Tool
        - IoT
    readme: |
        # Domoticz

        A lightweight home automation system with a web-based dashboard for monitoring and controlling smart devices. Supports an extensive range of hardware and protocols out of the box.

        ## What You Can Do After Deployment

        1. **Visit your domain** — the Domoticz dashboard loads with the setup wizard
        2. **Add hardware** — go to Setup > Hardware to add your smart home controllers (Z-Wave, Zigbee, MQTT broker, HTTP devices, etc.)
        3. **Create devices** — once hardware is added, configure individual sensors, switches, thermostats, and meters
        4. **Build automations** — use the Events system (Blockly visual editor or Lua/dzVents scripting) to create rules and schedules
        5. **Set up notifications** — configure email, Pushover, Telegram, or other notification services for alerts

        ## Key Features

        - Web dashboard with real-time graphs, charts, and floor plan view
        - 100+ supported hardware protocols (Z-Wave, Zigbee, MQTT, Philips Hue, Sonoff, Xiaomi, and more)
        - Built-in event scripting with Blockly visual editor, Lua, dzVents, and Python
        - Timer and scheduler for automated actions
        - Energy monitoring with usage graphs and cost calculation
        - Weather station integration
        - Mobile-friendly responsive interface
        - REST API for custom integrations

        ## Persistent Data

        The `/opt/domoticz/userdata` volume stores all configuration, database, scripts, and custom pages. This data persists across restarts and upgrades.

        ## Configuration

        - `PASSWORD` — admin password for the web interface (set via `${PASSWORD}`)
        - Access the full settings via Setup > Settings in the web interface after deployment

        ## License

        GPL-3.0 — [GitHub](https://github.com/domoticz/domoticz) | [Website](https://www.domoticz.com)
    services:
        - name: domoticz
          icon: https://avatars.githubusercontent.com/u/7498498
          template: PREBUILT_V2
          spec:
            source:
                image: domoticz/domoticz:2026.1
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            volumes:
                - id: userdata
                  dir: /opt/domoticz/userdata
            env:
                DOMOTICZ_PASSWORD:
                    default: ${PASSWORD}
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Domoticz es un sistema de domótica autoalojado y ligero. Monitorea y controla dispositivos inteligentes desde un panel web. Compatible con Z-Wave, Zigbee, MQTT y más de 100 protocolos.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Domoticz
            - key: PASSWORD
              type: STRING
              name: Contraseña de administrador
              description: Contraseña para la interfaz de administración
        readme: |
            # Domoticz

            Sistema de domótica ligero con panel web para monitorear y controlar dispositivos inteligentes.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — el panel carga con el asistente de configuración
            2. **Añade hardware** — Z-Wave, Zigbee, MQTT, etc.
            3. **Crea dispositivos** — sensores, interruptores, termostatos
            4. **Crea automatizaciones** — editor Blockly o scripts Lua/dzVents
            5. **Configura notificaciones** — Email, Pushover, Telegram

            ## Características

            - Panel web con gráficos en tiempo real
            - 100+ protocolos de hardware
            - Scripts de eventos integrados
            - Monitoreo energético
            - API REST

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/domoticz/domoticz)
    id-ID:
        description: |
            Domoticz adalah sistem otomasi rumah self-hosted yang ringan. Monitor dan kontrol perangkat pintar dari dashboard web. Mendukung Z-Wave, Zigbee, MQTT, dan 100+ protokol hardware.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Domoticz
            - key: PASSWORD
              type: STRING
              name: Password Admin
              description: Password untuk antarmuka admin
        readme: |
            # Domoticz

            Sistem otomasi rumah ringan dengan dashboard web untuk monitor dan kontrol perangkat pintar.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — dashboard memuat wizard pengaturan
            2. **Tambah hardware** — Z-Wave, Zigbee, MQTT, dll.
            3. **Buat perangkat** — sensor, sakelar, termostat
            4. **Buat otomasi** — editor Blockly atau skrip Lua/dzVents
            5. **Atur notifikasi** — Email, Pushover, Telegram

            ## Fitur

            - Dashboard web dengan grafik real-time
            - 100+ protokol hardware
            - Skrip event bawaan
            - Monitoring energi
            - REST API

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/domoticz/domoticz)
    ja-JP:
        description: |
            Domoticzは軽量なセルフホスト型ホームオートメーションシステム。Webダッシュボードからスマートデバイスを監視・制御。Z-Wave、Zigbee、MQTT等100以上のプロトコル対応。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Domoticzにアクセスするためのドメイン
            - key: PASSWORD
              type: STRING
              name: 管理者パスワード
              description: 管理画面のパスワード
        readme: |
            # Domoticz

            軽量なホームオートメーションシステム。Webダッシュボードでスマートデバイスを監視・制御。

            ## デプロイ後にできること

            1. **ドメインにアクセス** — セットアップウィザードが表示
            2. **ハードウェア追加** — Z-Wave、Zigbee、MQTTコントローラーを設定
            3. **デバイス作成** — センサー、スイッチ、温度計を設定
            4. **自動化作成** — Blocklyエディターやスクリプトでルール設定
            5. **通知設定** — Email、Pushover、Telegramなど

            ## 主な機能

            - リアルタイムグラフ付きWebダッシュボード
            - 100以上のプロトコル対応
            - 内蔵イベントスクリプト
            - エネルギー監視
            - REST API

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/domoticz/domoticz)
    ko-KR:
        description: |
            Domoticz는 경량 셀프호스팅 홈 오토메이션 시스템입니다. 웹 대시보드에서 스마트 기기를 모니터링하고 제어합니다. Z-Wave, Zigbee, MQTT 등 100개 이상의 프로토콜 지원.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Domoticz에 접속할 도메인
            - key: PASSWORD
              type: STRING
              name: 관리자 비밀번호
              description: 관리 인터페이스 비밀번호
        readme: |
            # Domoticz

            경량 홈 오토메이션 시스템. 웹 대시보드에서 스마트 기기를 모니터링하고 제어.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 설정 마법사가 표시
            2. **하드웨어 추가** — Z-Wave, Zigbee, MQTT 컨트롤러 설정
            3. **장치 생성** — 센서, 스위치, 온도 조절기 설정
            4. **자동화 생성** — Blockly 에디터 또는 Lua/dzVents 스크립트
            5. **알림 설정** — Email, Pushover, Telegram 등

            ## 주요 기능

            - 실시간 그래프 웹 대시보드
            - 100개 이상의 하드웨어 프로토콜 지원
            - 내장 이벤트 스크립트
            - 에너지 모니터링
            - REST API

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/domoticz/domoticz)
    th-TH:
        description: |
            Domoticz คือระบบ home automation แบบ self-hosted ที่เบา ตรวจสอบและควบคุมอุปกรณ์อัจฉริยะจากแดชบอร์ดเว็บ รองรับ Z-Wave, Zigbee, MQTT และโปรโตคอลฮาร์ดแวร์ 100+
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Domoticz
            - key: PASSWORD
              type: STRING
              name: รหัสผ่านผู้ดูแล
              description: รหัสผ่านสำหรับหน้าจัดการ
        readme: |
            # Domoticz

            ระบบ home automation ที่เบา พร้อมแดชบอร์ดเว็บสำหรับตรวจสอบและควบคุมอุปกรณ์อัจฉริยะ

            ## สิ่งที่ทำได้หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** — แดชบอร์ดโหลดพร้อมตัวช่วยตั้งค่า
            2. **เพิ่มฮาร์ดแวร์** — Z-Wave, Zigbee, MQTT ฯลฯ
            3. **สร้างอุปกรณ์** — เซ็นเซอร์ สวิตช์ เทอร์โมสตัท
            4. **สร้างออโตเมชัน** — Blockly หรือสคริปต์ Lua/dzVents
            5. **ตั้งค่าการแจ้งเตือน** — Email, Pushover, Telegram

            ## ฟีเจอร์หลัก

            - แดชบอร์ดเว็บพร้อมกราฟเรียลไทม์
            - รองรับโปรโตคอลฮาร์ดแวร์ 100+
            - สคริปต์อีเวนต์ในตัว
            - ตรวจสอบการใช้พลังงาน
            - REST API

            ## สัญญาอนุญาต

            GPL-3.0 — [GitHub](https://github.com/domoticz/domoticz)
    zh-CN:
        description: |
            Domoticz 是轻量级的自托管智能家居自动化系统，通过网页仪表板监控和控制智能设备。支持 Z-Wave、Zigbee、MQTT 等 100 多种硬件协议。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Domoticz 的域名
            - key: PASSWORD
              type: STRING
              name: 管理员密码
              description: 管理界面的密码
        readme: |
            # Domoticz

            轻量级智能家居自动化系统，通过网页仪表板监控和控制智能设备。

            ## 部署后可以做什么

            1. **打开域名** — 仪表板加载设置向导
            2. **添加硬件** — Z-Wave、Zigbee、MQTT 等控制器
            3. **创建设备** — 配置传感器、开关、温控器
            4. **创建自动化** — Blockly 编辑器或 Lua/dzVents 脚本
            5. **设置通知** — Email、Pushover、Telegram 等

            ## 主要功能

            - 实时图表网页仪表板
            - 100+ 硬件协议支持
            - 内置事件脚本引擎
            - 能源监控
            - REST API

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/domoticz/domoticz)
    zh-TW:
        description: |
            Domoticz 是輕量級的自架智慧家庭自動化系統，可從單一網頁儀表板監控和控制智慧裝置、感測器、開關等。支援 Z-Wave、Zigbee、MQTT 等 100 多種硬體協定。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Domoticz 的網域
            - key: PASSWORD
              type: STRING
              name: 管理員密碼
              description: 管理介面的密碼
        readme: |
            # Domoticz

            輕量級智慧家庭自動化系統，透過網頁儀表板監控和控制智慧裝置。支援多種硬體和協定。

            ## 部署後可以做什麼

            1. **開啟網域** — Domoticz 儀表板載入並顯示設定精靈
            2. **新增硬體** — 前往 設定 > 硬體，加入 Z-Wave、Zigbee、MQTT 等控制器
            3. **建立裝置** — 設定個別感測器、開關、溫控器和電表
            4. **建立自動化** — 使用事件系統（Blockly 視覺編輯器或 Lua/dzVents 腳本）建立規則和排程
            5. **設定通知** — 設定 Email、Pushover、Telegram 等通知服務

            ## 主要功能

            - 即時圖表和樓層平面圖的網頁儀表板
            - 支援 100+ 硬體協定（Z-Wave、Zigbee、MQTT、Hue、Sonoff 等）
            - 內建 Blockly、Lua、dzVents、Python 事件腳本
            - 能源監控與用量圖表
            - REST API 支援自訂整合

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/domoticz/domoticz)
