Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Home Assistant setting
#1
Hello,

I brought KC868-AI - took me awhile to setting up to work with Home Assistant.  Finally got it to working.

I wired it up all doors in my house to PCB boards.... all door sensors using reed switch.

Got it working as it updating status to Home Assistant BUT.... it shown WRONG information.....  

when door are closed   - it shown in Home Assistant "On / Open",  
when door are open     - it shown "Off / Closed"

thats not right.


How to make it invert to make  correct status ?
Reply
#2
add the "inverted" option in your config yaml of binary sensor. for example:

binary_sensor:
- platform: gpio
pin:
number: D2
inverted: true
name: ...

here is details with ESPHome: https://esphome.io/components/binary_sensor/gpio.html
Reply
#3
Hello Guys,

I recently purchased the KC868-AI and spent quite some time setting it up to integrate with Home Assistant. After some effort, I managed to get it working.

I wired up all the doors in my house to PCB boards with door sensors using reed switches. The sensors are successfully updating their status to Home Assistant. However, there's an issue with the information displayed:

- When the doors are closed, Home Assistant shows "On / Open".
- When the doors are open, it shows "Off / Closed".

This information is incorrect and needs to be corrected.
Reply
#4
below topic have said, just add "inverted: true" or "inverted: false" to exchange the state.
Reply
#5
i have the same problem can you let me know how to bring it in home assistant, i have done exact wiring as the admin told me
Reply
#6
here is KC868-AI ESPHome yaml : https://www.kincony.com/forum/showthread.php?tid=2017
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)