Awesome Open Source
Awesome Open Source

"McuLamp" Plugin

npm version

Example config.json:

"accessories": [
  {
      "accessory": "McuLamp",
      "name": "Node Lamp",
      "ip" : "192.168.0.29",
      "manufacturer" : "Your manufacturer",
      "model" : "Your model",
      "serialnumber" : "Your serial number",
      "firmwarerevision" : "Your firmware revision"
  }
],

manufacturer, model, serialnumber, firmwarerevision are optional

This Plugin lets you control a Relay attached to a pin on an ESP8266 Device, For example I use a NodeMCU with an ESP-12E

Wiring

Relay vin <-> ESP 3v3 Relay gnd <-> ESP gnd Relay in <-> ESP Pin 2 (D4 on NodeMCU)

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,047,647
Arduino (30,636
Pin (9,821
Esp (8,437
Esp8266 (4,887
Relay (4,333
Home Automation (2,191
Lamp (1,940
Nodemcu (1,594
Homebridge (1,521
Homebridge Plugin (611