● ha작업)zigbee2mqtt에서 HAOS 부팅시 switch 동작 변동없이 현재 상태 유지하기




컨텐츠 정보


본문

● ha작업)zigbee2mqtt에서 HAOS 부팅시 switch 동작 변동없이 현재 상태 유지하기

다음과같이 switch 상태 변화 없이 최종 설정을 z2m에 설정 하였습니다

엘베콜 스위치를 현관에 zigbeed의 switch를  설차하여  엘베 call 스위치와 연동

  스위치 on시 엘베 콜이 되게 설정을  relay 스위치로 통신 단자에 연결 상태 엘베call 통신되게 설정 하였습니다

문제는 추가된  z2m에서 스위치 구성조건을  S:\zigbee2mqtt\configuration.yaml 확인을 아래와 같이 가능 합니다

z2m을 다른 스위치와 연동 스위치동기화 사용에 zigbee 스위치를 확인 사용합니다

이때 HA를 재부팅시 TTS 방송으로 설정 사용하면서 스위치 동작이 ha재부팅시 on/off 되는것을 알게 되었습니다

최종설정 상태) zigbee2mqtt에서  switch 동작 변동없이 현재 상태 유지하기 입니다

homeassistant: true
advanced:
  network_key:
    - 190
    - 193
    - 222
    - 170
    - 211
    - 14
    - 124
    - 89
    - 57
    - 40
    - 170
    - 54
    - 121
    - 20
    - 115
    - 222
  pan_id: 61145
  ext_pan_id:
    - 91
    - 73
    - 204
    - 163
    - 164
    - 181
    - 136
    - 195
  homeassistant_legacy_entity_attributes: false
  legacy_api: false
  legacy_availability_payload: false
mqtt:
  server: mqtt://core-mosquitto
  user: mqtt_user
  password: mqtt_pass
serial:
  port: /dev/ttyUSB0
  adapter: auto
frontend:
  port: 8099
device_options:
  legacy: false
devices:
  '0xa4c1386f095ddcef':
    friendly_name: 1버튼_zigbee
    description: |-
      0xa4c1386f095ddcef
      1버튼_zigbee
    icon: >-
      data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QEERXhpZgAATU0AKgAAAAgACAESAAMAAAABAAEAAAEaAAUAAAABAAAAbgEbAAUAAAABAAAAdgEoAAMAAAABAAIAAAExAAIAAAANAAAAfgEyAAIAAAAUAAAAjAITAAMAAAABAAEAAIdpAAQA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R+cVeEbqvp9BGgVDJzjBy3dbLBkMcUplKtKiSxUNKR4Pq20JZJJ25iOYVziKYwehbeaWFq/hxxkNF5c1LoLYLn3SytewtHZNckBxpBSElQ06vvbRmIMyZdTaPcMNxTxY8NqEa3cYU9q6QR3ilhSfQgptCDi64ZSjuxjqloH/NP/rGwHB7n3UnYQHSlOpRHwG5/KGn1Pje4aKdMNydLxIisurv9VIIW6rb4J29I86T4ic4sxHFSeQeVVdqZ5CYqTbcrLehCu87y36Ea7yA+yTQr2RC09EjSOV77Q03OjjLynyoq7OAqApeMMYThcTK0Ckj2mZLzNtQeSi/dJSSBqWAN48SR4KONviEl0SXEBjVjBVDJB+jMPqPtlgb6TMOISoC23htEgnDnwX5A8MNOW3lvR0uT8y4XZuqzX106+6eZU45qVfzN41cwMmyZ4L82OIDF8jnZxru91ISyxMUnCEu4VyTLg912aNgHHk8gCmyennEvshJytLp7NJpraWJaXQG22kCyEpHIBPKMsp3KRcadwD7qfUecJGjYCwvceQH5QQQRgBBBBABBBBABBBBABBBBABCKkmZxpTbrTS023C0A/wgggDmdbyUylr7hdrmHKfMqPVTQjT5Xhf4bUKW8zgilNL6FDAH8YIIA6DRMtcuMNMo+h6JKSxR7vdtJEb200ylIdbQlFtgEpA/YIIIAWCCCACCCCACCCCACCCCAP/Z
  '0xa4c138b8e24d5b1a':
    friendly_name: 현관_sensor_zigbee
    description: |-
      0xa4c138b8e24d5b1a
      현관_sensor_zigbee
    availability_timeout: 60
    availability_blocklist:
      - 1
      - 2
  '0xa4c1386ecad47eaa':
    friendly_name: 서재불
    description: |-
      서재불
      0xa4c1386ecad47eaa
  '0xa4c138de3a46f086':
    friendly_name: 침대_스탠드
    description: |-
      침대_스탠드
      0xa4c138de3a46f086
  '0xa4c1389cf4984e08':
    friendly_name: 4gang_switch
    description: 4gang_switch
  '0xa4c138f71c97c0d2':
    friendly_name: 2gang_zigbee_relay
    state_action: false
    description: |-
      2gang_zigbee_relay
      0xa4c138f71c97c0d2
  '0xa4c13844c6aeb0f8':
    friendly_name: all_switch_doorfront_zigbee
    description: |-
      all_switch_doorfront_zigbee
      0xa4c13844c6aeb0f8
  '0xa4c138b2f2bdc249':
    friendly_name: power_meter_2port
    description: |-
      power_meter_2port
      0xa4c138b2f2bdc249
    voltage_precision: 1
blocklist: []

상기는 최종저의 z2m의 

S:\zigbee2mqtt\configuration.yaml

파일 최종 재부팅후 switch 변동없이 설정 상태 유지 입니다


 z2m의  switch의 설정 상태를  다음 같이 사용이 문제 발생

조건1) 스위치 동기화 진행을  다음과 같이 설정후  HA 재부팅 

alias: 스위치 동기화_tuya엘베와현관엘베콜
description: 릴레이 tuya 현관엘베콜 동기화
use_blueprint:
  path: clipman/switch_sync.yaml
  input:
    switch_A: switch.0xa4c13844c6aeb0f8_right
    switch_B: switch.1_433_switch_1

조건2) 의 z2m의  S:\zigbee2mqtt\configuration.yaml  설정 상태

  '0xa4c13844c6aeb0f8':
    friendly_name: all_switch_doorfront_zigbee
    description: |-
      all_switch_doorfront_zigbee
      0xa4c13844c6aeb0f8
    state_action: false

에서 

    state_action: false 

이 포함되면

zigbee2mqtt에서  switch 동기화 상태에서

보이지 않게 on/off 가 부팅시 동작 합니다


조건3) 동기화 스위치 on/off 상태  방법을  TTS방송 상태 확인 방법

   상기 조건2)의 all_switch_doorfront_zigbee 를 on 시

    TTS 방송하게 설정 하면 (저는 node-red로 구성 또는 자동하 구성 확인)

  on/off 상태 를  TTS 방송으로 확인 가능 합니다,


최종  z2m에서 스위치 추가후 

 S:\zigbee2mqtt\configuration.yaml  설정 상태를 확인

        state_action: false  가 포함 되어 있으면 문제 발생

        state_action: false  제거 했습니다


조건 4)  최종 switch 구성상태를  구성 합니다

  '0xa4c13844c6aeb0f8':
    friendly_name: all_switch_doorfront_zigbee
    description: |-
      all_switch_doorfront_zigbee
      0xa4c13844c6aeb0f8

이와같이 

 state_action: false  제거 하니 

zigbee2mqtt에서  switch 동작 변동없이 현재 상태 유지하기 


,,,저의 개인 설정기 입니다,,,,  수고 하세요


☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠1.png

뷰PDF add1,add2



관련자료

댓글 0
등록된 댓글이 없습니다.



♥간단_메모글♥


최근글


새댓글



PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
▶ 2024-11-23 14:31:16

오늘의 홈 현황


  • 현재 접속자♨ 344 명
  • 오늘 가입자※ 1 명
  • 어제 가입자※ 3 명
  • 주간 가입자※ 9 명
  • 오늘 방문자 2,500 명
  • 어제 방문자 3,461 명
  • 최대 방문자 13,042 명
  • 전체 방문자 4,805,117 명
  • 전체 게시물※ 8,856 개
  • 전체 댓글수※ 25,232 개
  • 전체 회원수 11,326 명

QR코드


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

알림 0








최신글↑