Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 386 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 386 Bytes

MQTT Light - Home Assistant

A simple example to control a led connected to a NodeMCU board (ESP8266).

Configuration

configuration.yaml :

light:
  platform: mqtt
  name: 'Office light'
  state_topic: 'office/light1/status'
  command_topic: 'office/light1/switch'
  optimistic: false

Schematic

  • GND - LED - Resistor 220 Ohms - D1/GPIO5

Schematic