(01-15-2024, 10:47 PM)admin Wrote: you can download KCS firmware, make IFTTT command , let analog value to control relay output. here is KCS online guide: https://www.kincony.com/esp32-kcsv2-firmware.html
then you can integrate A16S board to home assistant by MQTT, so that KCS and home assistant can work at the same time.
Thank you very much, I will check it. Or maybe code it in ESPHome like this:
Do you have any consideration?
binary_sensor:
- platform: gpio
name: "a16s-input1"
pin:
pcf8574: pcf8574_hub_in_1
number: 0
mode: INPUT
inverted: true
on_press:
- switch.toggle: relay01
switch:
- platform: gpio
name: "a16s-output1"
pin:
pcf8574: pcf8574_hub_out_1
number: 0
mode: OUTPUT
inverted: true
id: relay01
Need to add for every channel, with a counter unique relay ID.