Smart Home Automation Forum
Board for window contact sensors - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: Development (https://www.kincony.com/forum/forumdisplay.php?fid=4)
+--- Thread: Board for window contact sensors (/showthread.php?tid=3800)

Pages: 1 2


Board for window contact sensors - threadstone - 12-07-2023

Dear Kincony-Team,
 
I'm currently looking for a suitable circuit board to realize a new project. At my search I found your website and some boards that could be the right one (for example the KC868-AI) but I’m not sure which one is the right one. Can you possibly tell me if the KC868-AI is the right one respectively which of your boards would be suitable?
 
I have 13 windows in my house and every window has an sensor for the status (open, closed and tilted). I want to integrate these sensors in my already existing Home Assistant installation. I think the integration via ESP could be one solution.
Here the information about the sensors:
 
  • 7-wire cable
    • 2 wires for the sabotage loop / sabotage line
    • 2 wires for the signaling contact (generally open/closed)
    • 3 wires for the open/tilted state (common "ground")
 
According to the instructions, there are also the following technical data:
  • General:
    • Switch voltage max. 48V DC
    • Contact resistance max. 150mOhm
  • Surveillance:
    • Switching current max. 0.5A
    • Transport current max. 1.0A
    • Switch performance max. 10W pure ohmic load
  • or for the tilt status query:
    • Switching current max. 0.25A
    • Transport current max. 1.2A
    • Switch performance max. 3W pure ohmic load
 
Attached you can find an extrude of the installation instructions.
 
It would be nice if you could tell me if the KC868-AI is suitable. If it is not, which of your boards would be suitable? Is there eventually already a program / yaml for ESP or Home Assistant is existing?
 
Thank you in advance.


RE: Board for window contact sensors - admin - 12-07-2023

KC868-AI have 48 channel digital input ports. 0V means ON, 12-24v DC means OFF. so you need to confirm your switch wire's voltage level. if only use by dry contact signal, it's no problem.

here is yaml file for KC868-AI , it can directly use in home assistant:
https://www.kincony.com/forum/showthread.php?tid=2017


RE: Board for window contact sensors - threadstone - 12-08-2023

Sorry, I'm no electrician. So this is not so easy for me.
Is it possible to use KCOM of the KC848-AI for the wire to the sensor and the inputs for the wire from sensor to board? Or did I need an separate power source instead of KCOM?
Like it is written here:
https://www.kincony.com/forum/showthread.php?tid=3771


RE: Board for window contact sensors - admin - 12-08-2023

most window sensor have two wires, not need power supply. two wire connect to KCOM and INPUT for KC868-AI, very easy.


RE: Board for window contact sensors - threadstone - 12-08-2023

(12-08-2023, 01:11 PM)admin Wrote: most window sensor have two wires, not need power supply. two wire connect to KCOM and INPUT for KC868-AI, very easy.

Thank you for your confirmation. I think I will give it a try and order the board.

But two last Questions: Can you give me information what is present at KCOM (voltage / current)? And do you have an manual for the board?


RE: Board for window contact sensors - admin - 12-08-2023

ok


RE: Board for window contact sensors - threadstone - 12-08-2023

Can you give me information what is present at KCOM (voltage / current)? And do you have an manual for the board?


RE: Board for window contact sensors - admin - 12-09-2023

KCOM just GND. digital input short with GND means "trigger".
here is our firmware details: https://www.kincony.com/guide
i think you can using KC868-AI board, when have questions post at here is better do understand.


RE: Board for window contact sensors - threadstone - 01-14-2024

@admin

Now I want to install the board and integrate it in my Home Assistant. The problem is, ESP32 is a complete new world for me and I'm not sure what the next steps are / the right order is.

Is the following doing correct?

1) Connect the Board with the PC
2) Install the sketch from https://www.kincony.com/forum/showthread.php?tid=2017 via https://web.esphome.io/
    -> Before I need to modify the Home Assistent API because they have changed it. But where do I get the API-Key?
    -> Where do I set my Wifi access data?
3) Add the board via ESP integration to Home Assistant

Thank you in advance!


RE: Board for window contact sensors - admin - 01-14-2024

1. install home assistant on your server.
2. install ESPHome addon on home assistant
3. create controller in ESPHome, just copy our yaml file
4. download firmware by USB-Serial port.
here is video tour for ESPHome beginner: https://www.youtube.com/playlist?list=PLQUWhE_6LeOQHyqaxkpndeTw6S3y9YM2V