Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.54 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.54 KB

Python-3.10+ Code style: black

GLaDIOS

My personal home assistant project

Using Nerdaxic's tts GLaDOS

Requirements and Setup

You will need to have a google_creds.json file and supply your own credentials from google in the main directory. It should be in the format:

{
    "installed": {
        "client_id": "",
        "project_id": "",
        "auth_uri": "",
        "token_uri": "",
        "auth_provider_x509_cert_url": "",
        "client_secret": "",
        "redirect_uris": []
    }
}

You will also need to supply Gladios with your own environment variables.

WEATHER_KEY - The key for openweathermap

EMAIL_PASS - The key for your gmail account

EMAIL_ADD - Your gmail address

Running

⚠️ Warning: Only tested on Linux systems and WSL
  1. Create your venv

python3 -m venv ./venv/

  1. Install the requirements

pip install -r requirements.txt

  1. Install espeak on Linux

sudo apt-get update -y sudo apt-get install espeak -y

  1. Run

python3 commands.py

⚠️ Warning: This step is subject to change very soon