Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.44 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.44 KB

Smart 3 Lights Controller

Smart Controller for 3 Lights with MQTT and WEB configuration portal.
The project was created in PlatformIO 16.11.2021


Build with PlatformIO

ESP8266

ESP32

License: MIT


Home Assistant YAML configuration

light:
  - platform: mqtt
    name: "Smart 3 Lights"
    state_topic: "/smart-3-lights/state"
    command_topic: "/smart-3-lights/set"
    payload_on: "1"
    payload_off: "0"
    availability_topic: "/smart-3-lights/availability"
    payload_available: "online"
    payload_not_available: "offline"
    optimistic: false

Notes

If you want to rebuild this project in VS Code with PlatformIO, you need to manually download WiFiManager library v2.0.4-beta and put it in lib/WiFiManager/.


Dependencies

MQTT library v2.8 https://github.com/knolleary/pubsubclient


Copyright

Copyright (c) 2021 Sen Morgan. Licensed under the MIT license, see LICENSE.md