Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ESPHome: mit ESP8266 Funksteckdosen schalten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ESPHome: mit ESP8266 Funksteckdosen schalten

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tontechniker last edited by Tontechniker

      Ich möchte hier beschreiben, wie ich meine Funksteckdosen mit ESPHome geschaltet habe.
      Hardware:
      ESP8266NOD
      433Mhz Funkmodul (Transmitter)
      Funksteckdosen "arendo Funkschalterset Mod.-Nr.: 300812" (baugl. mit Brennstuhl). Protokoll: transmit_rc_swich_type_a. Diese Kombination hat zehn Dip-Switches, fünf zum Einstellen der Gruppe (System-Code 1 bis 5) und fünf für die Adressierung der jeweiligen Steckdose (unit-code A bis E).

      Hier das Listing:

      esphome:
        name: 433mhz
      
      esp8266:
        board: nodemcuv2
      
      # Enable logging
      logger:
      
      # Enable Home Assistant API
      api:
        password: !secret api_pw_04
        
      ota:
        password: !secret ota_pw_04
      
      wifi:
        ssid: !secret wifi_ssid
        password: !secret wifi_pw
      
        # Manual IP
        manual_ip:
          static_ip: meine IP
          gateway: mein gateway
          subnet: 255.255.255.0
      
        # Enable fallback hotspot (captive portal) in case wifi connection fails
        ap:
          ssid: !secret ap_ssid_04
          password: !secret ap_pw_04
      
      captive_portal:
      
      # Example configuration entry
      
      web_server:
        port: 80
      
      status_led:
        pin:
          number: D0
          inverted: true
      # --------------------------------------------------    
      # 433Mhz Steckdose
      remote_transmitter:
        - id: Mhz
          pin: GPIO10
          # RF uses a 100% carrier signal
          carrier_duty_percent: 100%
      
      switch:
        #Steckdosen
        - platform: template
          id: A
          name: "Steckdose A"
          turn_on_action: 
           - remote_transmitter.transmit_rc_switch_type_a:
              group: '10000'
              device: '10000'
              state: on
              protocol: 1
              repeat: 
                times: 10
                wait_time: 0s
                
            - turn_on_aktion: A
      
          turn_off_action:
           - remote_transmitter.transmit_rc_switch_type_a:
              group: '10000'
              device: '10000'
              state: off
              protocol: 1
              repeat: 
                times: 10
                wait_time: 0s
                
            - turn_off_aktion: A
            
        - platform: template
          id: B
          turn_on_action:    
           - remote_transmitter.transmit_rc_switch_type_a:
              group: '10000'
              device: '01000'
              state: on
              protocol: 1
              repeat: 
                times: 10
                wait_time: 0s
          turn_off_action:
           - remote_transmitter.transmit_rc_switch_type_a:
              group: '10000'
              device: '01000'
              state: off
              protocol: 1
              repeat: 
                times: 10
                wait_time: 0s          
      
        - platform: template
          id: C
          turn_on_action: 
           - remote_transmitter.transmit_rc_switch_type_a:
              group: '10000'
              device: '00100'
              state: on
              protocol: 1
              repeat: 
                times: 10
                wait_time: 0s
          turn_off_action:
           - remote_transmitter.transmit_rc_switch_type_a:
              group: '10000'
              device: '00100'
              state: off
              protocol: 1
              repeat: 
                times: 10
                wait_time: 0s
      
      

      Den GPIO-Pin (Zeile 47) kann man individuell wählen.
      Sehr wichtig ist der Eintrag "wait_time: 0s". Dieser Eintrag fehlte im Beispiellisting aus dem Netz und hat mich etwa einen Tag Suche gekostet.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate
      FAQ Cloud / IOT
      HowTo: Node.js-Update
      HowTo: Backup/Restore
      Downloads
      BLOG

      914
      Online

      31.9k
      Users

      80.2k
      Topics

      1.3m
      Posts

      1
      1
      1624
      Loading More Posts
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
      The ioBroker Community 2014-2023
      logo