Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

billabox.yaml

Blame
  • billabox.yaml 11.96 KiB
    esphome:
      name: $devicename
      comment: $comment
      project:
        name: "billament.controller"
        version: "0.1"
      on_boot:
        - priority: -100
          then:
            - lambda: |-
                id(sntp_time).update();
        - priority: 800
          then:
            - switch.turn_on: display_active
            - delay: 3s
            - lvgl.widget.hide: boot_screen
    
    substitutions:
      devicename: "billabox"
      comment: "BILLament Controller"
      domain: !secret domain
      timezone: !secret timezone
    
    esp32:
      board: esp32dev
      framework:
        type: arduino
    
    preferences:
      flash_write_interval: 15s
    
    logger:
      level: DEBUG
    
    api:
      password: !secret api_password
      reboot_timeout: 0s
    
    ota:
      platform: esphome
      password: !secret ota_password
    
    time:
      - platform: sntp
        id: sntp_time
        timezone: ${timezone}
        update_interval: 1h
    
    wifi:
      ssid: !secret wifi_ssid
      password: !secret wifi_password
      power_save_mode: none
      fast_connect: on
      reboot_timeout: 1min
      domain: .${domain}
      use_address: ${devicename}.${domain}
    
    web_server:
      port: 80
      version: 3
      local: true
      # include_internal: true
      sorting_groups:
        - id: g_environment
          name: "Environment"
          sorting_weight: 10
        - id: g_doors
          name: "Doors"
          sorting_weight: 20
        - id: g_lights