Skip to content

ffblanch/NodeMCU-Relay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeMCU Relay Module REST API

REST API for a ESP8266 MCU with a 8 Relay Module. Only tested with Amica NodeMCU.

  1. Add a conf.h file with your WiFi credentials:
#define SSID "YourWifiSsid"
#define PW "YourPassword"
  1. Compile and flash.

The API documentation is available on Postman.

The relay module is active low, this explains why ON leads to a LOW GPIO signal.

Connect the relay module IN1 to IN8 to GPIO 5, 4, 0, 14, 12, 2, 10, and 13.

About

NodeMCU Relay Module REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%