Hirdetés

Új hozzászólás Aktív témák

  • vampire17

    addikt

    válasz Degeczi #37232 üzenetére

    En ugyanigy hasznalom mosogepre, szinten nyitaserzekelovel :)

    Csak ott egyertelmu, mikor vegzett, itt kevesbe...

    Mosogepnel jelenleg nekem ESphome figyeli, ami egy template binary sensort allit. ha 5W ala esik a fogyasztas es ez az allapot 10 mp ig legalabb fennmarad, akkor lesz Off ez a szenzor. En 3 allapotot kulonboztetek meg: Megy, nem megy, kész van.

      - platform: template
        name: "Washing Machine Running"
        filters:
          - delayed_off: 10s
        lambda: |-
          if (isnan(id(power).state)) {
            return {};
          } else if (id(power).state > 3) {
            // Running
            return true;
          } else {
            // Not running
            return false;
          }

    - id: '1586422294436'
      alias: Mosógép be
      description: ''
      trigger:
      - entity_id: binary_sensor.washing_machine_running
        from: 'off'
        platform: state
        to: 'on'
      condition:
      - condition: and
        conditions:
        - condition: state
          entity_id: input_boolean.mosogep_state_wait
          state: 'off'
        - condition: state
          entity_id: input_boolean.mosogep_state_finish
          state: 'off'
        - condition: state
          entity_id: binary_sensor.0x00158d0002fd4303_contact
          state: 'off'
      action:
      - data: {}
        entity_id: input_boolean.mosogep_state_finish
        service: input_boolean.turn_on
      - data: {}
        entity_id: input_boolean.mosogep_state_wait
        service: input_boolean.turn_on
      - data: {}
        entity_id: input_boolean.mosogep
        service: input_boolean.turn_on
      - data:
          message: A mosás elindult
          title: Értesítés
        service: notify.csak_norbi
      mode: single
    - id: '1586422294437'
      alias: Mosógép vár
      description: ''
      trigger:
      - entity_id: binary_sensor.washing_machine_running
        from: 'on'
        platform: state
        to: 'off'
      condition:
      - condition: and
        conditions:
        - condition: state
          entity_id: input_boolean.mosogep_state_wait
          state: 'on'
        - condition: state
          entity_id: input_boolean.mosogep_state_finish
          state: 'on'
        - condition: state
          entity_id: binary_sensor.0x00158d0002fd4303_contact
          state: 'off'
      action:
      - data: {}
        entity_id: input_boolean.mosogep_state_wait
        service: input_boolean.turn_off
      - data:
          message: A mosás elkészült, lehet teregetni!
          title: Értesítés
        service: notify.csak_norbi
      mode: single
    - id: '1586422294438'
      alias: Mosógép végzett
      description: ''
      trigger:
      - entity_id: binary_sensor.0x00158d0002fd4303_contact
        from: 'off'
        platform: state
        to: 'on'
      condition:
      - condition: and
        conditions:
        - condition: state
          entity_id: input_boolean.mosogep_state_finish
          state: 'on'
        - condition: state
          entity_id: binary_sensor.0x00158d0002fd4303_contact
          state: 'on'
        - condition: state
          entity_id: binary_sensor.washing_machine_running
          state: 'off'
      action:
      - data: {}
        entity_id: input_boolean.mosogep_state_wait
        service: input_boolean.turn_off
      - data: {}
        entity_id: input_boolean.mosogep_state_finish
        service: input_boolean.turn_off
      - data: {}
        entity_id: input_boolean.mosogep
        service: input_boolean.turn_off
      - data:
          message: A mosási ciklus lezárva, visszaállok alapállapotba.
          title: Értesítés
        service: notify.csak_norbi
      mode: single

    [ Szerkesztve ]

Új hozzászólás Aktív témák