In the last few years smart appliances have become part of our life, our house has become smarter and always connected. However, the interaction with those devices is still difficult because of the different kind of interfaces and not always interoperable. Homie helps users to interact with all smart-home appliances.
This project was born in 2022 as a team work for the PhD course "Human AI Interaction" at Politecnico di Torino. This repository contains the Python code based on the dialogflow-weather example.
It uses the Web Speech API (experimental) for speech-to-text and text-to-speech operations. For Natural Language
Processing, it uses Dialogflow ES agent, included as a .zip
file. Tested in Chrome 57+, Firefox 70+, and Safari 10.1+. Please, notice that speech-to-text capability does not work in
Safari and Firefox.
To get started with the project:
- Import the file
Homie.zip
into Dialogflow - Generate a service key from Google
- Download it as
.json
rename it ashomie-key.json
and place it in the root of the project. - Create a new Python
venv
installing the required packages listed inrequirements.txt
. - Run the
app.py
file
In order to test the app, just run the flask server through the command:
python app.py
- Roberto Chiosa
- Sofia Cretaio
- Simone Monaco
- Lorenzo Vaiani