The use of the ESP8266 in the world of IoT

User avatar
By asuz
#81504
mischkasmith wrote:You can switch the relays via hex commands.

Relay1 ON A0 01 01 A2
Relay1 OFF A0 01 00 A1
Relay2 ON A0 02 01 A3
Relay2 OFF A0 02 00 A2

baudrate is 115200

Here is a sample code.
https://github.com/mischkasmith/lctech- ... ech2ch.ino


Hello, Is it possible to edit your sample code for the stm8 based thermostat to communicate with esp 8266 ?
User avatar
By asuz
#81509
mischkasmith wrote:You can switch the relays via hex commands.

Relay1 ON A0 01 01 A2
Relay1 OFF A0 01 00 A1
Relay2 ON A0 02 01 A3
Relay2 OFF A0 02 00 A2

baudrate is 115200

Here is a sample code.
https://github.com/mischkasmith/lctech- ... ech2ch.ino


Hello, Is it possible to edit your sample code for the stm8 based thermostat to communicate with esp 8266 ?