danmed / Home-Assistant---Sonoff-Component

MIT License
3 stars 0 forks source link

Sonoff Wifi Switch

The sonoff switch platform allows you to toggle Sonoff switches. Switches are modified to run ESPEasy or Tasmota firmware to provide a HTTP API.

To enable it, add the following lines to your configuration.yaml:

Example configuration.yaml entry for ESPEasy

switch:
  platform: sonoff_espeasy
  switches:
    bedroom_heating:
      host: hostname_or_ipaddr

Example configuration.yaml entry for Tasmota

switch:
  platform: sonoff_tasmota
  switches:
    bedroom_heating:
      host: hostname_or_ipaddr

Configuration variables: