Smart Home Automation Forum
KC868-A16S configure yaml for ESPhome - 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-A16S (https://www.kincony.com/forum/forumdisplay.php?fid=47)
+--- Thread: KC868-A16S configure yaml for ESPhome (/showthread.php?tid=2789)

Pages: 1 2


RE: KC868-A16S configure yaml for ESPhome - wodgrob - 12-17-2023

Please tell me an example of the code for working with the GSM module in ESPhome (homeassistant)


RE: KC868-A16S configure yaml for ESPhome - admin - 12-18-2023

ESPHome not support 4G SIM7600 moudle directly, it only support SIM800L 2G module. here is details:
https://esphome.io/components/sim800l.html


RE: KC868-A16S configure yaml for ESPhome - djsomi - 01-15-2024

Hi All,

Is there a way to use the analog inputs to control the relays, without a software solution behind?
It is working fine with Home Assistant, but for example a centralized light control it would be essential to fallback electronics only if a network outage occurs or sever is unavailable.

Thanks!


RE: KC868-A16S configure yaml for ESPhome - admin - 01-15-2024

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.


RE: KC868-A16S configure yaml for ESPhome - djsomi - 01-16-2024

(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.


RE: KC868-A16S configure yaml for ESPhome - admin - 01-17-2024

yes, i suggest you only use ESPHome is enough, not need to use KCS.


RE: KC868-A16S configure yaml for ESPhome - Rumlak - 06-10-2024

Can the Digital inputs be used for things other than just binary sensors?


RE: KC868-A16S configure yaml for ESPhome - admin - 06-10-2024

what function you want to use? mainly use for binary sensor type.


RE: KC868-A16S configure yaml for ESPhome - alankrit0113 - 09-04-2024

Hi, everytime I try to upload ESPHOME in the A16S board it shows an error while connecting through serial port. I've attached the screenshot here. Please advise. 
Also if I try to connect through LAN connections it requires OTA password. Could you please provide that too.?


RE: KC868-A16S configure yaml for ESPhome - admin - 09-04-2024

take a photo, how you connected with USB-C cable.