mirror of
https://github.com/Anonym-tsk/smart-domofon.git
synced 2026-02-01 15:21:05 +03:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
ba097123dc
commit
f9fc8ba334
41
README.md
41
README.md
@@ -13,15 +13,19 @@ Thanks to [Metori](https://github.com/Metori) for [original progect](https://git
|
|||||||
* Some resistors
|
* Some resistors
|
||||||
|
|
||||||
## Example Parts
|
## Example Parts
|
||||||
1. Оптопара PC817B - https://roboshop.spb.ru/PC817B
|
1. [Оптопара PC817B](https://roboshop.spb.ru/PC817B)
|
||||||
2. Реле электромеханическое 2-канальное - https://roboshop.spb.ru/SRD-05VDC-SL-C-2-channel-rele
|
2. [Реле электромеханическое 2-канальное](https://roboshop.spb.ru/SRD-05VDC-SL-C-2-channel-rele)
|
||||||
3. NodeMCU V3 - https://roboshop.spb.ru/NodeMCU-v3-dev-board
|
3. [NodeMCU V3](https://roboshop.spb.ru/NodeMCU-v3-dev-board)
|
||||||
4. RGB светодиод на плате - https://roboshop.spb.ru/RGB-led-module
|
4. [RGB светодиод на плате](https://roboshop.spb.ru/RGB-led-module)
|
||||||
5. Кнопка тактовая 6х6х13мм KFC-A06-13H - https://roboshop.spb.ru/KFC-A06-13H
|
5. [Кнопка тактовая 6х6х13мм KFC-A06-13H](https://roboshop.spb.ru/KFC-A06-13H)
|
||||||
6. Провода "мама-мама" 10см, 20 шт. - https://roboshop.spb.ru/female-to-female-line
|
6. [Провода "мама-мама" 10см, 20 шт.](https://roboshop.spb.ru/female-to-female-line)
|
||||||
7. Провода "папа-мама" 10см, 20 шт. - https://roboshop.spb.ru/male-to-female-line
|
7. [Провода "папа-мама" 10см, 20 шт.](https://roboshop.spb.ru/male-to-female-line)
|
||||||
8. Резисторы - https://roboshop.spb.ru/600-resist-set
|
8. [Резисторы](https://roboshop.spb.ru/600-resist-set)
|
||||||
9. microUSB кабель
|
9. [microUSB кабель](https://roboshop.spb.ru/BS-410)
|
||||||
|
|
||||||
|
## Scheme
|
||||||
|

|
||||||
|
*Thanks to Oleg Yu*
|
||||||
|
|
||||||
## Status MQTT messages (domofon/status):
|
## Status MQTT messages (domofon/status):
|
||||||
* 'R' - ready; sent after successfull boot-up or after receiving of 'P' message
|
* 'R' - ready; sent after successfull boot-up or after receiving of 'P' message
|
||||||
@@ -40,16 +44,9 @@ Thanks to [Metori](https://github.com/Metori) for [original progect](https://git
|
|||||||
* 'S' - success; sent in response to 'O' or 'N' command
|
* '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)
|
* '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 configuration
|
## Home Assistant integration
|
||||||
```
|

|
||||||
binary_sensor:
|
|
||||||
- platform: mqtt
|
[Full configuration with sensor, switches and automations](https://github.com/Anonym-tsk/smart-domofon/blob/master/homeassistant/domofon.yaml)
|
||||||
name: "Domofon"
|
|
||||||
state_topic: "domofon/out"
|
Put this file into `/config/modules/domofon.yaml` and correct notification service in automations.
|
||||||
availability_topic: "domofon/status"
|
|
||||||
payload_on: "C"
|
|
||||||
payload_off: "H"
|
|
||||||
payload_available: "R"
|
|
||||||
payload_not_available: "L"
|
|
||||||
device_class: lock
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user