Smart Controller for 3 Lights with MQTT and WEB configuration portal.
The project was created in PlatformIO 16.11.2021
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
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/
.
MQTT library v2.8 https://github.com/knolleary/pubsubclient
Copyright (c) 2021 Sen Morgan. Licensed under the MIT license, see LICENSE.md