Posts: 9,138
Threads: 1,204
Joined: Oct 2020
Reputation:
237
format problem. you are using ‘output-1’, it should be 'output-1'
that is different character.
Posts: 29
Threads: 1
Joined: Dec 2022
Reputation:
0
Hello sir, i have integrate E16s relay module with KC868-Server - but - manual control button on E16s module is not working
i have attached a screenshot - see output is "on" but when i am trying to manually make it "off" with control button on E16s module it not working
please share a code
Attached Files
Image(s)
Thanks & Regards,
Arshad Abbas
Posts: 9,138
Threads: 1,204
Joined: Oct 2020
Reputation:
237
it's normal, work well, because you have not set the INPUT trigger OUTPUT command.
such as these code:
switch:
- platform: gpio
name: "light1"
id: light1
pin:
pcf8574: pcf8574_hub_out_1
number: 0
mode: OUTPUT
inverted: true
------------------------------------
binary_sensor:
- platform: gpio
name: "input1"
on_press:
then:
- switch.toggle: light1
pin:
pcf8574: pcf8574_hub_in_1
number: 0
mode: INPUT
inverted: true
-----------------------------------------
the important is add these code:
on_press:
then:
- switch.toggle: light1
Posts: 37
Threads: 0
Joined: Jun 2023
Reputation:
0
i just bought the server , AIO and couple of AP .
How do you recommed to start and configure them? by MQTT or ESP Home?
Posts: 9,138
Threads: 1,204
Joined: Oct 2020
Reputation:
237
suggest config by ESPHome, it's easy and stable.