새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


● 스위치 카운트 전등 스위치 on off 갯수 확인하기

♨ 카랜더 일정 : 2024년10월17일
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    ● 스위치 카운트 전등 스위치 on off 갯수  확인하기

    ,,, 그룹으로 구성 진행

    https://cafe.naver.com/homestation/73

    1) 그룹 구성

    climate_group:

    name: Group climate

    entities:

    - climate.485_ttl_esp32_ip109_livingroom_boier

    - climate.485_ttl_esp32_ip109_bigroom_boier

    - climate.485_ttl_esp32_ip109_smallroom_boier

    - climate.485_ttl_esp32_ip109_bookroom_boier


    all_switch_group:

    name: Group switch all

    entities:

    - switch.sonoff_100173eaad

    - switch.sonoff_1001739bad

    - switch.ew11_living_room_light_1

    ----------------- 구성후 재부팅 -------------

    구성요소에서 counts_all_switch_light_on_group 을 조회 합니다

    sensor.all_switch_light_on_group 을 센서로 활용 합니다


    2) 센서 구성

    /config/configuration.yaml 에 구성

    template:

    - sensor:

    - name: counts_all_switch_light_on_group

    unique_id: all_switch_light_on_group

    state: "{{ expand(states.group.all_switch_group) | selectattr('state', 'eq', 'on') | list | count }}"

    unit_of_measurement: "개"

    - name: counts_all_switch_light_off_group

    unique_id: all_switch_light_off_group

    state: "{{ expand(states.group.all_switch_group) | selectattr('state', 'eq', 'off') | list | count }}"

    unit_of_measurement:

    "개"

    ===========================

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.


    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-10-18 00:21:51

    오늘의 홈 현황


    • 현재 접속자♨ 390 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 3 명
    • 주간 가입자※ 9 명
    • 오늘 방문자 620 명
    • 어제 방문자 2,269 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,704,782 명
    • 전체 게시물※ 8,822 개
    • 전체 댓글수※ 25,151 개
    • 전체 회원수 11,274 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑