A Home Assistant custom integration that helps with planning and maintaining a hobby vegetable garden using AI assistance. This integration uses AI (Google Gemini) to help you plan your garden, track plantings and harvests, and get personalized plant care recommendations.
- 🌱 Generate AI-powered planting plans based on your available space and desired plants
- 📝 Record and track plantings and harvests
- 🤖 Get AI-assisted plant care recommendations
- 📊 Monitor your garden's status through Home Assistant
- 🌍 Location-aware recommendations for climate-appropriate planting
- Ensure HACS is installed in your Home Assistant instance
- Search for "Smart Home Farming" in HACS
- Click Install
- Restart Home Assistant
- Go to Configuration > Integrations
- Click "+ ADD INTEGRATION"
- Search for "Smart Home Farming"
- Follow the configuration steps
- Download the latest release from GitHub
- Copy the
custom_components/smart_home_farming
directory to your Home Assistantcustom_components
directory - Follow steps 4-7 from the HACS installation
You will need:
- A Google Gemini API key (or other LLM service)
- Your garden's location (for climate-appropriate recommendations)
The integration provides the following services:
Generate an AI-powered planting plan.
Parameters:
available_space
: Description of your available garden spacedesired_plants
: List of plants you want to growplanting_date
: When you plan to start planting
Record when you plant something.
Parameters:
plant
: Name of the plantlocation
: Where in your garden you planted itdate
: Planting date
Record when you harvest something.
Parameters:
plant
: Name of the plantdate
: Harvest dateyield_amount
: How much you harvested
Get the current status of your garden, including all planting plans, planting records, and harvest records.
- Home Assistant
- Google Generative AI Python package (
google-generativeai>=0.1.0
)
Feel free to submit issues and pull requests!
MIT License