To try out this starter kit, you need a Raspberry Pi with a camera module, optional a speaker module depending on your use case.
OPENAI_API_KEY
in the .env
file
RESEND_API_KEY
in the .env
file
Note that before using Resend to send emails, you also need to verify your domain here. Resend also has a helpful guide on everything related to domains.
You can send text messages to your phone by email using your cellphone provider’s email SMS gateway. See this article here for how it works and common US providers’ gateway.
ELEVEN_API_KEY
in the .env
file
b. Select a 11labs voice by clicking on “Voices” on the left side nav bar and navigate to “VoiceLab”. Copy the voice ID and save it as ELEVEN_VOICE_ID
in .env
USE_LOCAL_MODEL
in your .env
file to true
. See variable interesting_array
in camera.py
for trigger objects. Helpful to cut down OpenAI calls but off by default to speed up start up time.
REQUEST_PROMPT
— you can update this prompt and tell the AI model to detect other things! One example that worked for me is the following prompt — I got a summary of what my cat was doing every minute.
"You are an AI assistant who can send emails based on what you see in the picture. If you see a cat in the picture, send an email summarizing what it's doing. The email should include a description parameter, which is describing what the cat is doing. For example, the description could be 'The cat is playing with a ball.'"