Jarvis is a simple IA for home automation with (multi-languages) voice commands written in Python.
This repository has been archived on 2023-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2021-07-26 21:49:03 +02:00
config Implemented all (most) of the NLTK supported languages from the config 2021-07-26 21:49:03 +02:00
ia Implemented all (most) of the NLTK supported languages from the config 2021-07-26 21:49:03 +02:00
intents Support for 12hour format from config file for what_time_is_it intent 2021-07-26 21:48:23 +02:00
utils Implemented all (most) of the NLTK supported languages from the config 2021-07-26 21:49:03 +02:00
.gitignore Base 2021-07-26 18:23:32 +02:00
get_path_file.py Base 2021-07-26 18:23:32 +02:00
main.py Sentence processing can now be used with the REST API 2021-07-26 19:52:20 +02:00
README.md Fully working training and sentence recognition from the model, added stuff to README and requirements 2021-07-26 19:39:24 +02:00
requirements.txt Fully working training and sentence recognition from the model, added stuff to README and requirements 2021-07-26 19:39:24 +02:00

jarvis banner

jarvis

Jarvis is a simple IA for home automation / personal assistant with voice commands written in Python. It can be used alongside with HomeAssistant, the more devices you have on HomeAssistant, the more you will be able to teach to Jarvis.

This is only the server-side of Jarvis, you can download the client here .

Languages

It only supports French and English (normally) for now, but with some changes you should be able to use english or another language.

Compatibility

The server can run on anything that runs Python 3+ (linux recommended)

Installation

If not already installed, you will need Python 3.9, you can install it with these commands.

$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get update
$ sudo apt install python3.9 python3.9-dev python3.9-distutils

After that, run the command python -m pip3 install -r requirements.txt to install the basic requirements for the project.

Then we need to train our model, but before that we need to download "punkt" and "stopwords" from the NLTK downloader, go to the Python Console and enter the following commands :

> import nltk
> nltk.download('punkt')
> nltk.download('stopwords')