a-lost-shadow / gosund-sw2

ESP Home Integration for Gosund SW2 Dimmer
GNU General Public License v2.0
12 stars 9 forks source link

Gosund SW2 Implementation for ESP Home

Features

To use

MQTT

The MQTT implementation uses the ESP Home's pattern for auto discovery. The topics for status and control of the light will be under {app}/light/{id}. Where {app} is the name of the yaml file without the extension, and {id} is the device_id inside the yaml file.

StateTopic: {app}/light/{id}/state

Command Topic: {app}/light/{id}/command

Brightness Command Topic: {app}/light/id/command/brightness_pct