Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A8 with Motion Sensor HC-SR501
#7
(07-07-2023, 11:15 PM)admin Wrote: change the config line:

inverted: false      ---->      inverted: true

I've changed the config inverted as true.

  - platform: gpio
    name: "a8_study_room_pir"
    device_class: motion
    on_press:
      then:
        - switch.turn_on: a8_study_room_pir
    on_release:
      then:
        - switch.turn_off: a8_study_room_pir
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true


But still is not getting detected, after changing inverted as true, Motion detection is inverted when shorting D1 8 with +12 V. 

Which means when motion detected the logs says it is cleared, and motion clear inverted as detected.
Reply


Messages In This Thread
KC868-A8 with Motion Sensor HC-SR501 - by vijjav - 07-06-2023, 03:03 PM
RE: KC868-A8 with Motion Sensor HC-SR501 - by vijjav - 07-08-2023, 02:37 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)