95 lines
4.9 KiB
YAML
95 lines
4.9 KiB
YAML
# =============================================================================
|
|
# Voice Knob - YOUR config. This is the only firmware file you keep locally.
|
|
# -----------------------------------------------------------------------------
|
|
# Copy THIS file (+ partitions.csv + a secrets.yaml) next to each other, edit the
|
|
# entities/tiles below to match your Home Assistant, then:
|
|
#
|
|
# esphome run guition-va.yaml
|
|
#
|
|
# Everything else (the firmware core + the optional screens) is pulled from GitHub
|
|
# at compile time - see the `packages:` block at the bottom - so you only ever
|
|
# maintain this one file. To get the latest changes:
|
|
#
|
|
# esphome clean guition-va.yaml # clears the package cache
|
|
# esphome run guition-va.yaml
|
|
# =============================================================================
|
|
|
|
substitutions:
|
|
name: voice-knob
|
|
friendly_name: "Voice Knob"
|
|
timezone: "Australia/Brisbane" # IANA name; core maps common zones to POSIX. Zone not listed? paste a POSIX string (github.com/nayarsystems/posix_tz_db). DST automatic.
|
|
# For album art: base URL of your HA + the media_player entity
|
|
ha_base_url: "http://ha.iosull.com"
|
|
player_entity: media_player.voice_knob_player
|
|
# On-device wake word. Built-in models: alexa, okay_nabu, hey_jarvis, hey_mycroft.
|
|
wake_word: "alexa"
|
|
# Home screen (weather + room climate). Change to your entities.
|
|
weather_entity: weather.home
|
|
room_temp_entity: sensor.room_temperature
|
|
room_hum_entity: sensor.room_humidity
|
|
# Weather screen forecast: an HA helper sensor (see base/screens/weather.ha-helper.yaml)
|
|
forecast_entity: sensor.va_weekly_forecast
|
|
# Thermostat screen: the climate.* entity it controls
|
|
climate_entity: climate.living_room
|
|
|
|
# Control tiles (swipe up): 4 toggles, each entity + icon + name. Works on any HA domain.
|
|
# tileN_icon = a name from the built-in set: bulb lamp led power plug switch fan ac heater
|
|
# thermometer lock unlock door blinds tv speaker bell wifi home flash. Same icon may repeat.
|
|
# (For an icon outside the set: paste its glyph or a "\U000Fxxxx" code from pictogrammers.com.)
|
|
tile1_entity: light.living_room
|
|
tile1_icon: "bulb"
|
|
tile1_name: "Light"
|
|
tile2_entity: switch.desk_neon
|
|
tile2_icon: "flash"
|
|
tile2_name: "Neon"
|
|
tile3_entity: switch.power_socket
|
|
tile3_icon: "power"
|
|
tile3_name: "Socket"
|
|
|
|
# Sensors screen (knob cycles): up to 6 read-only HA entities, shown one at a time, big.
|
|
# Set as many glanceN as you want; leave the rest at their default (a non-existent entity)
|
|
# and they're skipped. Icon name is optional (same set as the tiles); empty = no icon.
|
|
glance1_entity: sensor.power
|
|
glance1_name: "Power"
|
|
glance1_icon: "flash"
|
|
glance2_entity: sensor.va_glance_unused2
|
|
glance2_name: ""
|
|
glance2_icon: ""
|
|
glance3_entity: sensor.va_glance_unused3
|
|
glance3_name: ""
|
|
glance3_icon: ""
|
|
glance4_entity: sensor.va_glance_unused4
|
|
glance4_name: ""
|
|
glance4_icon: ""
|
|
glance5_entity: sensor.va_glance_unused5
|
|
glance5_name: ""
|
|
glance5_icon: ""
|
|
glance6_entity: sensor.va_glance_unused6
|
|
glance6_name: ""
|
|
glance6_icon: ""
|
|
|
|
# Carousel order, left to right. Reorder/remove names freely; screens you did not
|
|
# include in "files:" below are skipped automatically.
|
|
screen_order: "clock,player,timer,cars,space,snake,knobuss,weather,thermostat,sensors,demo"
|
|
|
|
packages:
|
|
- !include base/core.yaml
|
|
- !include base/screens/player.yaml # optional: music player (album art + transport)
|
|
- !include base/screens/timer.yaml # optional: timer screen in the carousel (voice timers/alarm stay regardless)
|
|
- !include base/screens/cool-cars.yaml # optional: Cool Cars game
|
|
- !include base/screens/space-wars.yaml # optional: Space Wars game
|
|
- !include base/screens/snake.yaml # optional: Snake game (knob steers)
|
|
- !include base/screens/knobuss.yaml # optional: Knobuss - a Gyruss-style tube shooter (knob aims, auto-fire)
|
|
- !include base/screens/weather.yaml # optional: weather (today + 7-day, knob scrolls days)
|
|
- !include base/screens/thermostat.yaml # optional: thermostat (climate.* entity; knob sets target, tap on/off)
|
|
- !include base/screens/sensors.yaml # optional: sensors glance (1-6 HA entities, knob cycles)
|
|
#- !include base/screens/demo.yaml # optional: commented example screen (TAP ME!) + Widgets settings
|
|
# Watchfaces (optional home-screen looks; Classic is built into core and always available).
|
|
# Comment one out to drop it; pick the active one in Settings > Home > Watchface.
|
|
- !include base/watchfaces/neon.yaml # optional: Neon - big two-tone digits + neon rings
|
|
- !include base/watchfaces/minecraft.yaml # optional: Minecraft - blocky scene + pixel clock
|
|
- !include base/watchfaces/demo.yaml # optional: Demo - minimal, heavily-commented template to copy
|
|
|
|
# Wi-Fi comes from your local secrets.yaml (the core uses !secret wifi_ssid / wifi_password).
|
|
# Keep a secrets.yaml and partitions.csv next to this file (both must be local paths).
|