ESP32 controlling 8 Lights using LEDC and communicates with Home Assistant
To-Do
- Update Wiki
- WebSocket and MQTT API
- Web-Interface served on ESP32
- Save previous state in EEPROM
- Station and AP mode (AP mode works trun off LTE OR 4G)
- Home Assistant MQTT Template Light
- Home Assistant Light Auto-discovery (uncomment
//#define HA_AUTO_DISCOVERY
) - MQTT Auto-reconnect (non-blocking)
- Switch topic for MQTT Master light
- Add Temperature Sensor
- platform: mqtt
- name: "Ceiling Lights Master"
- device_class: "temperature"
- state_topic: "ceiling/Your_Mac_Address/temp"
- unit_of_measurement: "°F"
- value_template: '{{ value_json.tempF | round(1) }}'