Home automation with the OpenAI Assistants API
Check the video: https://youtu.be/VglcqneAbvE
Note: you will need Hue lights to use this app as is
Ensure you add a .env file with the following:
OPENAI_API_KEY=YOUR_OPENAI_API_KEYEnsure you install portaudio. E.g., on MacOS with brew:
brew install portaudioInstall Python packages with pip install -r requirements.txt
In hue.py, replace the IP with with IP of your bridge. Check https://github.com/studioimaginaire/phue for help with connecting to the bridge.
Now run the app with python3 hue.py