08-10-2025, 03:49 AM
Code:
esphome:
name: z1
friendly_name: z1
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "6BypFn6vausn/yYzIgtjCKu0FHPEi4VLa912F22UXCA="
ota:
- platform: esphome
password: "e32c25bb18c69932bd20375b251e1e25"
wifi:
ssid: "KinCony"
password: "a12345678"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Z1 Fallback Hotspot"
password: "CLPH8mbzmyoj"
captive_portal:
remote_receiver:
pin: 1
rmt_channel: 4
dump: all
remote_transmitter:
- id: ir47
pin: 47
carrier_duty_percent: 50%
- id: ir48
pin: 48
carrier_duty_percent: 50%
switch:
- platform: template
name: IR-Send1
turn_on_action:
- remote_transmitter.transmit_panasonic:
transmitter_id: ir47
address: 0x4004
command: 0x8140DFA2
- platform: template
name: IR-Send2
turn_on_action:
- remote_transmitter.transmit_panasonic:
transmitter_id: ir48
address: 0x4004
command: 0x8140DFA2
- platform: gpio
name: "led"
pin: 44
inverted: False
binary_sensor:
- platform: gpio
name: "IO0"
pin:
number: 0
inverted: true
mode:
input: true
pullup: true
- platform: gpio
name: "IO43"
pin:
number: 43
inverted: true
mode:
input: true
pullup: true
web_server:
port: 80
Z1-HA.txt (Size: 1.54 KB / Downloads: 121)
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/

