############################################# ############################################# # # # # V1.0 2025-02-14 Initial Version # # pinout/schematic https://community.home-assistant.io/t/zemismart-ks-811-working-with-esphome/ # # INSTRUCTIONS # - # ############################################# ############################################# substitutions: ############################################# # SPECIFIC DEVICE VARIABLE SUBSTITUTIONS # If NOT using a secrets file, just replace these with the passwords etc (in quotes) ############################################# devicename: "esp-nexmulti1" friendly_name: "esp-nexmulti1" description_comment: "Multisensor 1 test" api_key: !secret esp-nexmulti1_api_key # unfortunately you can't use substitutions inside secrets names ota_pass: !secret esp-nexmulti1_ota_pass # unfortunately you can't use substitutions inside secrets names static_ip_address: !secret esp-nexmulti1_ip update_interval: 60s # update time for for general sensors etc ############################################# # Included Common Packages # https://esphome.io/components/esphome.html ############################################# packages: common_wifi: !include file: common/network_common.yaml vars: local_static_ip_address: ${static_ip_address} local_api_key: ${api_key} local_ota_pass: ${ota_pass} common_mqtt: !include file: common/mqtt_common.yaml common_general_sensors: !include file: common/sensors_common.yaml vars: local_friendly_name: ${friendly_name} local_update_interval: ${update_interval} ############################################# # ESPHome # https://esphome.io/components/esphome.html ############################################# esphome: name: ${devicename} friendly_name: ${friendly_name} comment: ${description_comment} #Appears on the esphome page in HA ############################################# # ESP Platform and Framework # https://esphome.io/components/esp32.html ############################################# esp8266: board: esp01_1m ############################################# # ESPHome Logging Enable # https://esphome.io/components/logger.html ############################################# logger: level: INFO #INFO Level suggested, or DEBUG for testing #baud_rate: 0 #set to 0 for no logging via UART, needed if you are using it for other serial things (eg PZEM) #esp8266_store_log_strings_in_flash: false #tx_buffer_size: 64 ############################################# # Real time clock time source for ESPHome # If it's invalid, we fall back to an internal clock # https://esphome.io/components/time/ # https://esphome.io/components/time/sntp ############################################# #time: # - platform: sntp # id: sntp_time