Files
smart-domofon/ge1mer/domofon.yaml
2022-07-26 12:21:27 +03:00

62 lines
1.8 KiB
YAML

# Smart Intercom project
# https://github.com/Anonym-tsk/smart-domofon/tree/master/ge1mer
############# User configuration #############
substitutions:
# Ge1mer board
board: esp12e
pin_relay_answer: GPIO14 # 330 Ohm, NO relay
pin_relay_phone: GPIO16 # Intercom, NC relay
pin_relay_mute: GPIO12 # 50 Ohm, NO relay
pin_led_red: GPIO5
pin_led_green: GPIO4
pin_led_blue: GPIO15
pin_call_detect: GPIO13
pin_btn_accept: GPIO0
# Build configuration
board_name: "Domofon"
mdns_name: "domofon"
build_path: "domofon/"
# Relays configuration
phone_relay_inverted: 'true' # Set to 'false' if you have NO phone relay
# Wifi credentials
wifi_ssid: "-----"
wifi_password: ""
ap_ssid: "Domofon"
ap_password: "1234567890"
# MQTT credentials
mqtt_host: "10.0.0.1"
mqtt_port: "1883"
mqtt_username: ""
mqtt_password: ""
# OTA and API
ota_password: "esphome"
api_password: "esphome"
# Software configuration
call_end_detect_delay: 4000ms # Interval between rings to detect incoming call
short_click_time_from: 50ms # Short button click min time
short_click_time_to: 1000ms # Long button click min time
########### End user configuration ###########
packages:
base: !include domofon_packages/base.yaml
api: !include domofon_packages/api.yaml
#mqtt: !include domofon_packages/mqtt.yaml
#web_server: !include domofon_packages/web_server.yaml
#captive_portal: !include domofon_packages/captive_portal.yaml
number: !include domofon_packages/number.yaml
script: !include domofon_packages/script.yaml
output: !include domofon_packages/output.yaml
switch: !include domofon_packages/switch.yaml
button: !include domofon_packages/button.yaml
light: !include domofon_packages/light.yaml
binary_sensor: !include domofon_packages/binary_sensor.yaml