Giter VIP home page Giter VIP logo

smart-domofon's Introduction

Smart intercom with MQTT based on NodeMCUv3

This is old deprecated version. Please use new ESPHome version

This device can send "door open" command to intercom main unit after receiving of incoming call. It only works with coordinate line intercoms. Tested with Cyfral russian intercom.

Thanks to Metori for original progect

Parts used

  • NodeMCU v3 x 1
  • Double relay module x1 (or two single relay modules)
  • LED x3 (or one RGB LED)
  • Button x2
  • Optocoupler x1
  • Some resistors

Example Parts

  1. Оптопара PC817B
  2. Реле электромеханическое 2-канальное
  3. NodeMCU V3
  4. RGB светодиод на плате
  5. Кнопка тактовая 6х6х13мм KFC-A06-13H
  6. Провода "мама-мама" 10см, 20 шт.
  7. Провода "папа-мама" 10см, 20 шт.
  8. Резисторы
  9. microUSB кабель

Scheme

Scheme Thanks to Oleg Yu

Configuration and build

  1. Fill in WiFi and MQTT credentials in software.h
  2. Fill in upload_port in platformio.ini
  3. Use PlatformIO to build and upload firmware

Status MQTT messages (domofon/status)

  • 'R' - ready; sent after successfull boot-up or after receiving of 'P' message
  • 'L' - last will message; send when device goes offline

Incoming MQTT messages (domofon/in)

  • 'O' - door open command
  • 'N' - call reject command (door will not open)
  • 'P' - ping command (answers with 'R')

Outgoing MQTT messages (domofon/out)

  • 'C' - call; sent after detecting of incoming intercom call
  • 'H' - hangup; sent after detected incoming call finished
  • 'B' - button; sent when "door open" has been performed by green hw button press
  • 'J' - reJected; sent when incoming call has been rejected by red hw button press
  • 'S' - success; sent in response to 'O' or 'N' command
  • 'F' - fail; sent in response to 'O' or 'N' command (this means that 'O' or 'N' command has been received but no incoming call detected)

Home Assistant integration

Home Assistant

Full configuration with sensor, switches and automations

Put this file into /config/packages/domofon.yaml and correct notification service in automations.

smart-domofon's People

Contributors

anonym-tsk avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.