Project

General

Profile

ESP relayx4 » History » Version 9

Frédéric Blanc, 2021-04-18 08:37

1 1 Frédéric Blanc
h1. ESP relayx4
2
3 7 Frédéric Blanc
4
!clipboard-202003251417-5kz5b.png!
5 1 Frédéric Blanc
ESP-01 (8266EX) with 1M memory
6
7
baud_rate: 115200 # speed to STC15L101EW
8
9
Open relay 1: A0 01 01 A2
10
Close relay 1: A0 01 00 A1
11
Open relay 2: A0 02 01 A3
12
Close relay 2: A0 02 00 A2
13
Open relay 3: A0 03 01 A4
14
Close relay 3: A0 03 00 A3
15
Open relay 4: A0 04 01 A5
16
Close relay 4: A0 04 00 A4
17 2 Frédéric Blanc
18 8 Frédéric Blanc
h2. pluging easy mega
19
20
utiliser le firmware:
21
22
ESP_Easy_mega_2021xxxx_hard_LCtech_relay_x2_1M.bin
23
24
2021xxxx = date du firmware
25 2 Frédéric Blanc
26
https://github.com/enesbcs/ESPEasyPluginPlayground/blob/master/_P165_SerSwitch.ino
27 3 Frédéric Blanc
28 5 Frédéric Blanc
[P091] Move P165 SerSwitch from playground to main repository
29
30
https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P091_SerSwitch.ino
31
32 3 Frédéric Blanc
h2. MQTT
33
34 4 Frédéric Blanc
!clipboard-202003251217-pqhvb.png!
35
36 3 Frédéric Blanc
!clipboard-202003251215-cpdu4.png!
37 6 Frédéric Blanc
38 9 Frédéric Blanc
<code><pre>
39
ESP_MCU_Relay/LCTech/cmd 
40 1 Frédéric Blanc
relay,2,1
41 9 Frédéric Blanc
</pre></code>