An application to assist people with autism in living independently using Indistinguishable From Magic hardware devices.
rooms/- Room-specific modules (kitchen, laundry, bathroom)opennote/- Opennote API integration for note-taking and journalsutils/- Shared utilities and common functions
Install dependencies:
pip install -r requirements.txtCreate a .env file in the project root with your API keys:
ELEVENLABS_API_KEY- Your ElevenLabs API key for text-to-speechOPENNOTE_API_KEY- Your Opennote API key (get from https://www.opennote.com/)IFMAGIC_API_KEY- Your Indistinguishable From Magic API key (if needed)
Example .env file:
ELEVENLABS_API_KEY=your_key_here
OPENNOTE_API_KEY=your_key_here
IFMAGIC_API_KEY=your_key_here
To automatically collect daily sensor data from all rooms and create an OpenNote log:
-
Ensure your
.envfile contains yourOPENNOTE_API_KEY. -
Run the following script at the end of each day (can be automated with Task Scheduler or cron):
bash run_daily_log.sh
This will:
- Aggregate sensor data from all rooms into a CSV in
data/daily_logs/ - Use OpenNote to create a daily caretaker log from the CSV
You can schedule this script to run automatically every night.
Note: The .env file is already in .gitignore and will not be committed to git.