Skip to content

Latest commit

 

History

History
94 lines (71 loc) · 2.63 KB

README.md

File metadata and controls

94 lines (71 loc) · 2.63 KB

kakao_talk

The kakao_talk platform uses KakaoTalk to deliver notifications from Home Assistant to your Android device, your Windows phone, or your iOS device.

Installation

  • All files of this repository should be placed on custom_components\kakaotalk inside of ~/.homeassistant or ~/config folder.

     $ cd ~/.homeassistant
     $ mkdir custom_components
     $ cd custom_components
     $ git clone https://github.com/musk95/kakao_talk.git kakao_talk
    
  • Restart the Home Assistant service

Setup

The requirements are:

  • You need the REST API Key for KakaoTalk.

To enable KakaoTalk notifications in your installation, add the following to your configuration.yaml file:

kakao_talk:
  api_key: YOUR_API_KEY
  redirect_uri: YOUR_HASSIO_URL
  send_to_friends: True
  
notify:
  - name: kakaotalk_noti
    platform: kakao_talk

Restart the Home Assistant service.

And type YOUR_HASSIO_URL/api/kakao_talk on the web browser such as Chrome, Firefox...
You can see below screen then you can find the Login Redirection URI, it should be input Login Redirection URI on the Kakao Development site.
Kakao_Login_Screen

Login KakaoTalk service by clicking '카카오톡 로그인' button.

Configuration

To use notifications, please see the getting started with automation page.

Text message

...
action:
  service: notify.NOTIFIER_NAME
  data:
    title: Send a message
    message: That''s an example that _sends_ a formatted message with a custom inline keyboard.

CONFIGURATION VARIABLES

  • title:

description: Will be composed as '%title\n%message'.
required: false
type: string

  • message:

description: Message text.
required: true
type: string

Photo support

...
action:
  service: notify.NOTIFIER_NAME
  data:
    title: Send an images
    message: That''s an example that sends an image.
    data:
      photo:
        - url: https://i.ibb.co/jkbTKZz/hassio.png

CONFIGURATION VARIABLES

  • url:

description: A remote path to an image.
required: true to support Photo
type: string

image_sample