The kakao_talk platform uses KakaoTalk to deliver notifications from Home Assistant to your Android device, your Windows phone, or your iOS device.
-
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
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.
Login KakaoTalk service by clicking '카카오톡 로그인' button.
To use notifications, please see the getting started with automation page.
...
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.
- title:
description: Will be composed as '%title\n%message'.
required: false
type: string
- message:
description: Message text.
required: true
type: string
...
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
- url:
description: A remote path to an image.
required: true to support Photo
type: string