Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
B16M Digital Input
#2
if you are using ESPHome yaml for home assistant. you need config ymal let INPUT toggle OUTPUT. you can see this yaml demo, it use by KinCony KC868-A8S board, but as same as your B16M. just add line for INPUT toggle OUTPUT.
https://www.kincony.com/forum/showthread.php?tid=1946
Code:
binary_sensor:
  - platform: gpio
    name: "input1"
    on_press:
      then:
        - switch.toggle: light1
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
Reply


Messages In This Thread
B16M Digital Input - by Dutchkiwi - 12-11-2024, 09:16 PM
RE: B16M Digital Input - by admin - 12-12-2024, 12:34 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)