Minor changes

This commit is contained in:
Alexey Zholtikov 2023-01-07 10:20:33 +03:00
parent 25e154368d
commit a18d4366ac
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ ESP-NOW based window/door sensor for ESP8266. Alternate firmware for Tuya/SmartL
## Features ## Features
1. When triggered transmits system information, battery status and sensor status. 1. When triggered transmits system information, battery status (HIGH/MID/LOW) and sensor status (OPEN/CLOSED).
2. Average response time of 1 second (depends on the MCU of the sensor). 2. Average response time of 1 second (depends on the MCU of the sensor).
3. In setup/update mode creates an access point named "ESP-NOW Window XXXXXXXXXXXX" with password "12345678" (IP 192.168.4.1). 3. In setup/update mode creates an access point named "ESP-NOW Window XXXXXXXXXXXX" with password "12345678" (IP 192.168.4.1).
4. Automatically adds sensor and battery configuration to Home Assistan via MQTT discovery as a binary_sensors (2 different binary_sensor). 4. Automatically adds sensor and battery configuration to Home Assistan via MQTT discovery as a binary_sensors (2 different binary_sensor).

View File

@ -12,9 +12,9 @@ Communication protocol used in the firmware (only necessary "cuts" from the orig
MCU returns 55 AA 00 01 00 ............ (MCU system information) MCU returns 55 AA 00 01 00 ............ (MCU system information)
Module sends 55 AA 00 02 00 01 04 06 (Network connection established) Module sends 55 AA 00 02 00 01 04 06 (Network connection established)
MCU returns 55 AA 00 02 00 00 01 (Confirmation message) MCU returns 55 AA 00 02 00 00 01 (Confirmation message)
The MCU sends 55 AA 00 08 00 0C 00 01 01 01 01 01 03 04 00 01 02 23 (Battery status. 02 23 - high, 01 22 - medium, 00 21 - low) MCU sends 55 AA 00 08 00 0C 00 01 01 01 01 01 03 04 00 01 02 23 (Battery status. 02 23 - high, 01 22 - medium, 00 21 - low)
Module returns 55 AA 00 08 00 01 00 08 (Confirmation message) Module returns 55 AA 00 08 00 01 00 08 (Confirmation message)
The MCU sends 55 AA 00 08 00 0C 00 02 02 02 02 02 01 01 01 00 22 (Sensor position. 01 23 - open, 00 22 - closed) MCU sends 55 AA 00 08 00 0C 00 02 02 02 02 02 01 01 01 00 22 (Sensor position. 01 23 - open, 00 22 - closed)
Module returns 55 AA 00 08 00 01 00 08 (Confirmation message) Module returns 55 AA 00 08 00 01 00 08 (Confirmation message)
Module power off Module power off
@ -25,7 +25,7 @@ Communication protocol used in the firmware (only necessary "cuts" from the orig
MCU returns 55 AA 00 01 00 00 ............ (MCU system information) MCU returns 55 AA 00 01 00 00 ............ (MCU system information)
Module sends 55 AA 00 02 00 01 04 06 (Network connection established) Module sends 55 AA 00 02 00 01 04 06 (Network connection established)
MCU returns 55 AA 00 02 00 00 01 (Confirmation message) MCU returns 55 AA 00 02 00 00 01 (Confirmation message)
The MCU sends 55 AA 00 08 00 0C 00 01 01 01 01 01 03 04 00 01 02 23 (Battery status. 02 23 - high, 01 22 - medium, 00 21 - low) MCU sends 55 AA 00 08 00 0C 00 01 01 01 01 01 03 04 00 01 02 23 (Battery status. 02 23 - high, 01 22 - medium, 00 21 - low)
Module returns 55 AA 00 08 00 01 00 08 (Confirmation message) Module returns 55 AA 00 08 00 01 00 08 (Confirmation message)
Module power off Module power off
@ -36,7 +36,7 @@ Communication protocol used in the firmware (only necessary "cuts" from the orig
MCU returns 55 AA 00 01 00 00 ............ (MCU system information) MCU returns 55 AA 00 01 00 00 ............ (MCU system information)
Module sends 55 AA 00 02 00 01 04 06 (Network connection established) Module sends 55 AA 00 02 00 01 04 06 (Network connection established)
MCU returns 55 AA 00 02 00 00 01 (Confirmation message) MCU returns 55 AA 00 02 00 00 01 (Confirmation message)
The MCU sends 55 AA 00 03 00 00 02 (Message for switching to setting mode) MCU sends 55 AA 00 03 00 00 02 (Message for switching to setting mode)
Module returns 55 AA 00 03 00 00 02 (Confirmation message) Module returns 55 AA 00 03 00 00 02 (Confirmation message)
Update mode has started. Will be available during 120 seconds until the module is powered off. Update mode has started. Will be available during 120 seconds until the module is powered off.