신치 SMS(Sinch SMS)


sinch 플랫폼은 Sinch를 사용하여 Home Assistant에서 알림을 전달합니다.

전제 조건

Sinch Dashboard로 이동하여 “Add new REST API”를 클릭하십시오. 이제 service_plan_idapi_key를 얻을 수 있습니다.

설정

설치시 Sinch를 추가하려면 Home Assistant configuration.yaml 파일에 다음을 추가하십시오.

# Example configuration.yaml entry
notify:
  - platform: sinch
    service_plan_id: SINCH_SERVICE_PLAN_ID
    api_key: SINCH_API_KEY

Configuration Variables

name

(string)(Optional)

Setting the optional parameter name allows multiple notifiers to be created. The default value is Sinch. The notifier will bind to the service notify.NOTIFIER_NAME.

service_plan_id

(string)(Required)

Your Sinch Service Plan ID.

api_key

(string)(Required)

Your API Token.

default_recipient

(string | list)(Optional)

A single or multiple phone numbers. This is where you want to send your SMS notification messages by default (when not specifying target in the service call), e.g., 09171234567 or [09171234567, 09177654321].

sender

(string)(Optional)

The name or number of the sender.

Default value:

Home Assistant

알림을 사용하려면 getting started with automation page를 참조하십시오.

전체 설정 예시

# Example configuration.yaml entry
notify:
  - platform: sinch
    name: Sinch
    service_plan_id: SINCH_SERVICE_PLAN_ID
    api_key: SINCH_API_KEY
    default_recipient: [PHONE_NO1, PHONE_NO2]
    sender: Home Assistant