Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ESP32 RF
#12
so you save the keycode of your remote, then replace the keycode on your codes about if (keycode== xxxxxxx)

if (keycode==1376533) {Serial1.print("RELAY-KEY-255,1,1");delay(500);} //toggle relay1
if (keycode==1376532) {Serial1.print("RELAY-KEY-255,2,1");delay(500);} //toggle relay2
if (keycode==16405) {Serial1.print("RELAY-KEY-255,3,1");delay(500);} //toggle relay3
if (keycode==16404) {Serial1.print("RELAY-KEY-255,4,1");delay(500);} //toggle relay4
if (keycode==4117) {Serial1.print("RELAY-KEY-255,5,1");delay(500);} //toggle relay5
if (keycode==5723139) {Serial1.print("RELAY-KEY-255,6,1");delay(500);} //toggle relay6
if (keycode==20501) {Serial1.print("RELAY-KEY-255,7,1");delay(500);} //toggle relay7
if (keycode==20500) {Serial1.print("RELAY-KEY-255,8,1");delay(500);} //toggle relay8
if (keycode==5576131) {Serial1.print("RELAY-KEY-255,9,1");delay(500);} //toggle relay9
if (keycode==5575951) {Serial1.print("RELAY-KEY-255,10,1");delay(500);} //toggle relay10
if (keycode==5576188) {Serial1.print("RELAY-KEY-255,11,1");delay(500);} //toggle relay11
if (keycode==5576179) {Serial1.print("RELAY-KEY-255,12,1");delay(500);} //toggle relay12
if (keycode==5576191) {Serial1.print("RELAY-KEY-255,13,1");delay(500);} //toggle relay13
if (keycode==5576128) {Serial1.print("RELAY-KEY-255,14,1");delay(500);} //toggle relay14
if (keycode==5575987) {Serial1.print("RELAY-KEY-255,15,1");delay(500);} //toggle relay15
if (keycode==5575936) {Serial1.print("RELAY-KEY-255,16,1");delay(500);} //toggle relay16
Reply


Messages In This Thread
ESP32 RF - by Matt - 12-13-2022, 09:27 AM
RE: ESP32 RF - by admin - 12-13-2022, 10:24 AM
RE: ESP32 RF - by Matt - 12-13-2022, 02:28 PM
RE: ESP32 RF - by admin - 12-13-2022, 11:01 PM
RE: ESP32 RF - by Matt - 12-14-2022, 10:52 AM
RE: ESP32 RF - by admin - 12-14-2022, 11:19 AM
RE: ESP32 RF - by Matt - 12-14-2022, 11:49 PM
RE: ESP32 RF - by admin - 12-15-2022, 08:05 AM
RE: ESP32 RF - by Matt - 12-15-2022, 10:59 AM
RE: ESP32 RF - by admin - 12-15-2022, 11:16 AM
RE: ESP32 RF - by Matt - 12-15-2022, 12:30 PM
RE: ESP32 RF - by admin - 12-15-2022, 12:46 PM
RE: ESP32 RF - by Matt - 12-15-2022, 12:55 PM
RE: ESP32 RF - by admin - 12-15-2022, 11:05 PM
RE: ESP32 RF - by Matt - 12-16-2022, 12:00 PM
RE: ESP32 RF - by admin - 12-17-2022, 03:16 AM
RE: ESP32 RF - by Matt - 12-18-2022, 09:55 AM
RE: ESP32 RF - by admin - 12-18-2022, 10:51 PM
RE: ESP32 RF - by Matt - 12-21-2022, 11:41 PM
RE: ESP32 RF - by admin - 12-22-2022, 01:04 AM
RE: ESP32 RF - by Matt - 01-10-2023, 10:56 AM
RE: ESP32 RF - by admin - 01-11-2023, 01:59 AM
RE: ESP32 RF - by Matt - 01-12-2023, 01:24 PM
RE: ESP32 RF - by admin - 01-13-2023, 12:32 AM
RE: ESP32 RF - by Matt - 01-17-2023, 12:55 AM
RE: ESP32 RF - by admin - 01-17-2023, 02:04 AM
RE: ESP32 RF - by Wojtek - 01-20-2023, 01:24 AM
RE: ESP32 RF - by admin - 01-20-2023, 01:57 AM
RE: ESP32 RF - by Wojtek - 01-21-2023, 02:35 PM
RE: ESP32 RF - by admin - 01-22-2023, 02:22 AM
RE: ESP32 RF - by Wojtek - 01-22-2023, 05:20 PM
RE: ESP32 RF - by admin - 01-23-2023, 01:49 AM
RE: ESP32 RF - by Wojtek - 01-24-2023, 08:09 PM
RE: ESP32 RF - by admin - 01-25-2023, 12:34 AM
RE: ESP32 RF - by Wojtek - 01-26-2023, 11:11 AM
RE: ESP32 RF - by admin - 01-26-2023, 02:08 PM
RE: ESP32 RF - by Wojtek - 01-26-2023, 03:45 PM
RE: ESP32 RF - by admin - 01-27-2023, 01:37 AM
RE: ESP32 RF - by Wojtek - 01-30-2023, 08:21 PM
RE: ESP32 RF - by admin - 01-31-2023, 01:39 AM
RE: ESP32 RF - by Mandlap - 03-28-2023, 12:56 PM
RE: ESP32 RF - by admin - 03-29-2023, 12:17 AM
RE: ESP32 RF - by Mandlap - 03-29-2023, 09:14 AM
RE: ESP32 RF - by admin - 03-29-2023, 09:56 AM
RE: ESP32 RF - by Mandlap - 03-30-2023, 07:50 AM
RE: ESP32 RF - by admin - 03-30-2023, 10:49 AM
RE: ESP32 RF - by Mandlap - 03-30-2023, 11:00 AM
RE: ESP32 RF - by admin - 03-30-2023, 11:12 AM
RE: ESP32 RF - by Mandlap - 03-30-2023, 05:41 PM
RE: ESP32 RF - by admin - 03-31-2023, 12:06 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)