Smart Home Automation Forum
Home Assistant setting - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-AI (https://www.kincony.com/forum/forumdisplay.php?fid=29)
+--- Thread: Home Assistant setting (/showthread.php?tid=5037)



Home Assistant setting - Powerdata - 03-07-2024

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 ?


RE: Home Assistant setting - admin - 03-08-2024

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


RE: Home Assistant setting - Reyansh02 - 06-28-2024

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.


RE: Home Assistant setting - admin - 06-29-2024

below topic have said, just add "inverted: true" or "inverted: false" to exchange the state.


RE: Home Assistant setting - sheheryar - 07-09-2024

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


RE: Home Assistant setting - admin - 07-09-2024

here is KC868-AI ESPHome yaml : https://www.kincony.com/forum/showthread.php?tid=2017