Update README.md

This commit is contained in:
Nikolay Vasilchuk
2019-06-06 17:22:08 +03:00
committed by GitHub
parent 62c7f0fe94
commit 3d390ca9f0

View File

@@ -4,7 +4,7 @@ This device can send "door open" command to intercom main unit after receiving o
Thanks to [Metori](https://github.com/Metori) for [original progect](https://github.com/Metori/mqtt_domofon)
## Parts used:
## Parts used
* NodeMCU v3 x 1
* Double relay module x1 (or two single relay modules)
* LED x3 (or one RGB LED)
@@ -32,16 +32,16 @@ Thanks to [Metori](https://github.com/Metori) for [original progect](https://git
2. Fill in `upload_port` in [platformio.ini](https://github.com/Anonym-tsk/smart-domofon/blob/master/platformio.ini)
3. Use [PlatformIO](https://platformio.org/platformio-ide) to build and upload firmware
## Status MQTT messages (domofon/status):
## 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):
## 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):
## 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