Skip to content

Alerts you that messages have been sent to you through discord, from home assistant.

Notifications You must be signed in to change notification settings

TeamNightSky/Home-Assistant-Discord-Alerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Alert System

Notifies you when you have notifications from discord.

ENVIRONMENT:

DISCORD_TOKEN=<Discord Bot Token>

HOMEASSISTANT_TOKEN=<Long Lived Home Assistant Token>

data.json

{
    "owner_id": <your discord user id>,
    "cooldown": <command cooldown in seconds>,
    "api-endpoint": <external api endpoint of your homeassistant>,
    "block": <bool>,
    "downtime": {
        "start": "10:00pm",
        "end": "7:00am"
    }
}

Run

Make sure to install dependencies first before using the following command.

$ python -m hotline

About

Alerts you that messages have been sent to you through discord, from home assistant.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages