ESPhome homeassistant - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A6 (https://www.kincony.com/forum/forumdisplay.php?fid=22) +--- Thread: ESPhome homeassistant (/showthread.php?tid=7365) Pages:
1
2
|
RE: ESPhome homeassistant - czw00 - 01-24-2025 Right, I am going in circles here with the same thing—where does the yaml file actually live, on the A6 itself? Does it live in the main /homeassistant/configuration.yaml because that does not seem to work, RE: ESPhome homeassistant - admin - 01-24-2025 install esphome on home assistant. then create A6 device, paste our KC868-A6 yaml file. RE: ESPhome homeassistant - czw00 - 01-24-2025 Right - for all those people that are a bit slow like me there are a couple of additional steps here 1. Unpackage the board 2. Flash the Firmware to the board from this site 3. Install ESPHome Builder in HA, use the ESP Home Builder to generate the first part of the YAML file 4. You then have to download this to the A6, I had to use USB for the first time, then wireless worked after that. One you do this you lose access to the original config webpage and it's all through esphome from then on 5. The yaml files here need to be pasted in - not the whole thing, but at least from # Example configuration entry for ESP32 onwards, that will get you at least the 6 outputs and 6 inputs. Ill have to keep searching for the DA1, DA2 IO1, IO2 + A1,A2,A3,A4 config because they are not in the YAML file. RE: ESPhome homeassistant - admin - 01-24-2025 i think you can see these guide firstly if you are esphome beginner: https://www.kincony.com/forum/forumdisplay.php?fid=54 RE: ESPhome homeassistant - Telefonista - 01-30-2025 (01-14-2025, 07:45 AM)charmacf Wrote: is there anything i have to change in the yaml file? HI when I uploaded my yaml, KC868A16 is visible in HA but it does not respond to state changes when I control it from home assistant. have you worked config ? this is mine: esphome: name: kc868a16 friendly_name: kc868a16 esp32: board: esp32dev framework: type: arduino # Enable logging logger: # Enable Home Assistant API api: encryption: key: "........................." ota: - platform: esphome password: "2...................b628" ethernet: type: LAN8720 mdc_pin: GPIO23 mdio_pin: GPIO18 clk_mode: GPIO17_OUT phy_addr: 0 uart: - id: rs485 tx_pin: GPIO13 rx_pin: GPIO16 baud_rate: 9600 remote_receiver: pin: number: GPIO2 ignore_strapping_warning: true remote_transmitter: pin: number: GPIO15 ignore_strapping_warning: true carrier_duty_percent: 100% i2c: sda: GPIO4 scl: number: GPIO5 ignore_strapping_warning: true pcf8574: - id: inputs_1_8 address: 0x22 - id: inputs_9_16 address: 0x21 - id: outputs_1_8 address: 0x24 - id: outputs_9_16 address: 0x25 binary_sensor: - platform: gpio name: "KC868-A16-HT1" pin: number: GPIO32 inverted: true - platform: gpio name: "KC868-A16-HT2" pin: number: GPIO33 inverted: true - platform: gpio name: "KC868-A16-HT3" pin: number: GPIO14 inverted: true - platform: gpio name: "KC868-A16-X01" pin: pcf8574: inputs_1_8 number: 0 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X02" pin: pcf8574: inputs_1_8 number: 1 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X03" pin: pcf8574: inputs_1_8 number: 2 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X04" pin: pcf8574: inputs_1_8 number: 3 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X05" pin: pcf8574: inputs_1_8 number: 4 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X06" pin: pcf8574: inputs_1_8 number: 5 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X07" pin: pcf8574: inputs_1_8 number: 6 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X08" pin: pcf8574: inputs_1_8 number: 7 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X09" pin: pcf8574: inputs_9_16 number: 0 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X10" pin: pcf8574: inputs_9_16 number: 1 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X11" pin: pcf8574: inputs_9_16 number: 2 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X12" pin: pcf8574: inputs_9_16 number: 3 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X13" pin: pcf8574: inputs_9_16 number: 4 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X14" pin: pcf8574: inputs_9_16 number: 5 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X15" pin: pcf8574: inputs_9_16 number: 6 mode: INPUT inverted: true - platform: gpio name: "KC868-A16-X16" pin: pcf8574: inputs_9_16 number: 7 mode: INPUT inverted: true switch: - platform: gpio name: "KC868-A16-Y01" id: out_y01 pin: pcf8574: outputs_1_8 number: 0 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y02" id: out_y02 pin: pcf8574: outputs_1_8 number: 1 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y03" id: out_y03 pin: pcf8574: outputs_1_8 number: 2 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y04" id: out_y04 pin: pcf8574: outputs_1_8 number: 3 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y05" id: out_y05 pin: pcf8574: outputs_1_8 number: 4 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y06" id: out_y06 pin: pcf8574: outputs_1_8 number: 5 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y07" id: out_y07 pin: pcf8574: outputs_1_8 number: 6 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y08" id: out_y08 pin: pcf8574: outputs_1_8 number: 7 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y09" id: out_y09 pin: pcf8574: outputs_9_16 number: 0 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y10" id: out_y10 pin: pcf8574: outputs_9_16 number: 1 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y11" id: out_y11 pin: pcf8574: outputs_9_16 number: 2 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y12" id: out_y12 pin: pcf8574: outputs_9_16 number: 3 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y13" id: out_y13 pin: pcf8574: outputs_9_16 number: 4 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y14" id: out_y14 pin: pcf8574: outputs_9_16 number: 5 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y15" id: out_y15 pin: pcf8574: outputs_9_16 number: 6 mode: OUTPUT inverted: true - platform: gpio name: "KC868-A16-Y16" id: out_y16 pin: pcf8574: outputs_9_16 number: 7 mode: OUTPUT inverted: true RE: ESPhome homeassistant - admin - 01-31-2025 take a photo, how you wire cable. maybe you have not connect with Vin terminal with dc12v. see the photo RED cable. RE: ESPhome homeassistant - Telefonista - 02-03-2025 (01-31-2025, 12:26 AM)admin Wrote: take a photo, how you wire cable. maybe you have not connect with Vin terminal with dc12v. see the photo RED cable. Yes, it WORKS, that was it, my mistake, sorry, I'm just starting the adventure. THANK YOU Can I connect reed switches and motion sensors to the inputs? and the bell button? I want to use it to control the lighting, and how can I make it so that, for example, the pulse from iput 1 controls output no. 1? RE: ESPhome homeassistant - admin - 02-04-2025 sure, any dry contact signal device can be connected with digital input ports. you can download KCS firmware, then config IFTTT , let INPUT toggle OUTPUT. here is KCS v2 firmware online guide: https://www.kincony.com/esp32-kcsv2-firmware.html |