Code moved

This commit is contained in:
Nikolay Vasilchuk
2021-02-09 15:22:27 +03:00
parent 5e1ed29f46
commit de4776eaa8
25 changed files with 14 additions and 14 deletions

View File

@@ -9,7 +9,7 @@
---
[Схема и компоненты](https://github.com/Anonym-tsk/smart-domofon/blob/master/README.md)
[Схема и компоненты](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/README.md)
## Кнопка и индикация
* Красный светодиод мигает

View File

@@ -9,7 +9,7 @@ Enjoy my work? [Help me out](http://yasobe.ru/na/esphome) for a couple of :beers
---
[Scheme and parts](https://github.com/Anonym-tsk/smart-domofon/blob/master/README_EN.md)
[Scheme and parts](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/README_EN.md)
## Button and LED
* Red LED blinks

View File

@@ -1,5 +1,5 @@
# Умный домофон на ESP8266
[English](https://github.com/Anonym-tsk/smart-domofon/blob/master/README_EN.md) | **Русский**
[English](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/README_EN.md) | **Русский**
Устройство умеет открывать домофон при входящем вызове. Работает только с координатными домофонами. Проверено с домофонами Visit, Cyfral, Metakom, Altis.
@@ -33,15 +33,15 @@
9. [microUSB кабель](https://roboshop.spb.ru/BS-410)
## Схема
![Scheme](https://raw.githubusercontent.com/Anonym-tsk/smart-domofon/master/scheme.jpeg)
![Scheme](https://raw.githubusercontent.com/Anonym-tsk/smart-domofon/master/native/scheme.jpeg)
*За схему спасибо Oleg Yu*
### Эта версия прошивки больше не поддерживается. Пожалуйста, используйте [новую прошивку на базе ESPHome](https://github.com/Anonym-tsk/smart-domofon/blob/master/esphome/README.md).
## Конфигурация и прошивка
1. Заполните настройки WiFi и MQTT в файле [software.h](https://github.com/Anonym-tsk/smart-domofon/blob/master/src/config/software.h)
2. Укажите `upload_port` в файле [platformio.ini](https://github.com/Anonym-tsk/smart-domofon/blob/master/platformio.ini)
1. Заполните настройки WiFi и MQTT в файле [software.h](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/src/config/software.h)
2. Укажите `upload_port` в файле [platformio.ini](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/platformio.ini)
3. Используйте [PlatformIO](https://platformio.org/platformio-ide) для компиляции и загрузки прошивки
## MQTT сообщения статуса (domofon/status)
@@ -62,8 +62,8 @@
* 'F' - fail; отправляется в ответ на команды 'O' и 'N' (означает, что команда была получена, но в данный момент не было входящего звонка)
## Интеграция с Home Assistant
![Home Assistant](https://raw.githubusercontent.com/Anonym-tsk/smart-domofon/master/homeassistant/ha.png)
![Home Assistant](https://raw.githubusercontent.com/Anonym-tsk/smart-domofon/master/native/homeassistant/ha.png)
[Конфигурация для Home Assistant с автоматизацией, сенсором и переключателями](https://github.com/Anonym-tsk/smart-domofon/blob/master/homeassistant/domofon.yaml)
[Конфигурация для Home Assistant с автоматизацией, сенсором и переключателями](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/homeassistant/domofon.yaml)
Положите этот файл в `/config/packages/domofon.yaml` и исправьте используемые сервисы в автоматизации.

View File

@@ -1,5 +1,5 @@
# Smart intercom based on ESP8266
**English** | [Русский](https://github.com/Anonym-tsk/smart-domofon/blob/master/README.md)
**English** | [Русский](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/README.md)
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.
@@ -33,14 +33,14 @@ Instead of NodeMCU, you can buy almost any ESP with enough count of GPIO (for ex
9. [microUSB кабель](https://roboshop.spb.ru/BS-410)
## Scheme
![Scheme](https://raw.githubusercontent.com/Anonym-tsk/smart-domofon/master/scheme.jpeg)
![Scheme](https://raw.githubusercontent.com/Anonym-tsk/smart-domofon/master/native/scheme.jpeg)
*Thanks to Oleg Yu*
### This is old deprecated version. Please use new [ESPHome version](https://github.com/Anonym-tsk/smart-domofon/blob/master/esphome/README_EN.md)
## Configuration and build
1. Fill in WiFi and MQTT credentials in [software.h](https://github.com/Anonym-tsk/smart-domofon/blob/master/src/config/software.h)
2. Fill in `upload_port` in [platformio.ini](https://github.com/Anonym-tsk/smart-domofon/blob/master/platformio.ini)
1. Fill in WiFi and MQTT credentials in [software.h](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/src/config/software.h)
2. Fill in `upload_port` in [platformio.ini](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/platformio.ini)
3. Use [PlatformIO](https://platformio.org/platformio-ide) to build and upload firmware
## Status MQTT messages (domofon/status)
@@ -61,8 +61,8 @@ Instead of NodeMCU, you can buy almost any ESP with enough count of GPIO (for ex
* '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](https://raw.githubusercontent.com/Anonym-tsk/smart-domofon/master/homeassistant/ha.png)
![Home Assistant](https://raw.githubusercontent.com/Anonym-tsk/smart-domofon/master/native/homeassistant/ha.png)
[Full configuration with sensor, switches and automations](https://github.com/Anonym-tsk/smart-domofon/blob/master/homeassistant/domofon.yaml)
[Full configuration with sensor, switches and automations](https://github.com/Anonym-tsk/smart-domofon/blob/master/native/homeassistant/domofon.yaml)
Put this file into `/config/packages/domofon.yaml` and correct notification service in automations.

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB