Skip to content

vzakharchenko/smart-intercom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-intercom

  • docker

  • Node.js CI

  • npm

  • GitHub release (latest by date)

  • Docker Image Version (latest by date)

  • Description: Remotely open an apartment intercom (Cyfral, Visit or similar)

Features

  • When the device is inactive or turned off, it does not interfere with the operation of the intercom
  • Can be integrated with various types of smart home systems
  • Integrated with Samsung Smartthings

Required Electronic Components

  • WeMos D1 Mini ($2.03). AliExpress
  • 1 channel relay module Delay Disconnection Triggers Delayed Cycle Timing Circuit Switch XY-J02 (2.32$). AliExpress
  • KY-019 KY 019 5V One 1 Channel Relay Module Board Shield (1.00$). AliExpress
  • micro-usb cable(2.00$)

Total Price

7.35$

Connection diagram

XY-J02 settings

  • Operating Mode: P.2
  • OP: 2 sec
  • CL: 4 sec

Wemos D1 mini firmware

sudo apt-get install -y esptool
esptool --port /dev/ttyUSB0 write_flash --flash_size=detect -fm dout 0x0 intercom.ino.d1_mini.bin

First time configuration

  • Connect to WiFi network "IntercomAP" and setup connection to your WiFi network

Application configuration

  • Gpio number - the gpio number that connects to the relay signal
  • Gpio Level - relay signal level: HIGH/LOW
  • Timeout seconds - how many time (in second) wait for the intercom call

Rest Api

activate relay and wait for someone to call the intercom, then open the door

  • endpoint
http://<DEVICE_IP>/open

Smartthings Integration

Smartthings Integration