Shelly Dimmer 2

Sonoff RF Bridge 433 New
Sonoff RF Bridge 433 New
--

Shelly Dimmer 2 an einem Standard Lichtschalter betreiben mit ESPHome
Danke Felix für diesen Code

esphome:
  name: esszimmerlicht

esp8266:
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "52ff9510bfff9248629c0ec7f460b8b2"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esszimmer Fallback Hotspot"
    password: "dKQbQ4sGASAu"
    
web_server:
  port: 80

captive_portal:
    
    
    
uart:
    tx_pin: 1
    rx_pin: 3
    baud_rate: 115200
sensor:

light:
    - platform: shelly_dimmer
      name: Esszimmer Licht
      id: thislight
      power:
        name: Esszimmer Licht  Power
      voltage:
        name: Esszimmer Licht  Voltage
      current:
        name: Esszimmer Licht Current
      min_brightness: 260
      max_brightness: 1000
      firmware:
        version: "51.6"
        update: true
        
        
binary_sensor:

  - platform: gpio
    pin:
      number: GPIO14
    name: "Esszimmerlicht"
    on_state:
      then:
        - light.toggle: thislight
    internal: true
    id: switchid