Google Home Notifier
About
This program is designed for letting Google Home Speak text which was sent from Slack.
Install
- Download VOICEVOX Core and Open JTalk dict (UTF-8)
- Clone this repository and compile it.
- Move every files in voicevox_core to the GoogleHomeNotifier binary directory
- Specify settings on
settings/settings.yaml
- Start
☆ If you are using Linux, you have to add libvoicevox_core.so to Library path.
export LD_LIBRARY_PATH=/path/to/so/directory:$LD_LIBRARY_PATH
Settings
GoogleHome:
Addr: # Google Home IP address
Port: 8009 # GoogleHome port number
Detach: true # Optional
ForceDetach: true # Optional
Volume: 0.5 # play volume
Voicevox:
SpeakerID: 3
OpenJtalkDictDir: "open_jtalk_dic_utf_8-1.11" # You have to specify Open JTalk's dict path
MaxDuration: 5 # the message will be interrupted when this amount of time (in seconds) has passed
Slack:
Token: # Slack bot token, which has permissions of app_mentions:read, chat:write, and users:read, (and optinally, chat:write.customize)
AppLevelToken: # Slack App level token, which has a scopeof connections:write.
Icon: # (optional) icon emoji You can use this if you add chat:write.customize permission.