Skip to content

Smart Controller for 3 Lights based on ESPx Wi-Fi module with MQTT control

License

Notifications You must be signed in to change notification settings

SenMorgan/Smart-3-Lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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