Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kc868-A128 interlock
#1
Hello ingneer 

I have KC868-A128 esp

I used esp protocol 

But we need to make interlock fo curtains and shutters.. 
 Can you give me the code for this operation 
 To add it to me esp config in home assistant 


???????
Reply
#2
do you use ESPHome or KCS firmware?
if you use ESPHome, just config interlock in yaml, for example:

- platform: gpio
name: "curtain2-up"
id: relay7
interlock: [relay8]
pin:
pcf8574: pcf8574_hub_out_1
number: 6
mode: OUTPUT
inverted: true


- platform: gpio
name: "curtain2-down"
id: relay8
interlock: [relay7]
pin:
pcf8574: pcf8574_hub_out_1
number: 7
mode: OUTPUT
inverted: true
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)