|
1 | 1 | # Featured Extensions |
2 | 2 |
|
3 | | -*Coming soon: In-depth guides for ChefByte (kitchen management) and Home Assistant (smart home control) extensions.* |
| 3 | +Luna Hub comes with powerful extensions that add AI capabilities to your daily life. Here are the featured extensions that showcase what's possible. |
4 | 4 |
|
5 | | -## ChefByte |
6 | | -Kitchen and nutrition management powered by Grocy integration. |
| 5 | +--- |
7 | 6 |
|
8 | | -## Home Assistant |
9 | | -Complete smart home control through natural language. |
| 7 | +## ChefByte: Your AI Kitchen Assistant |
| 8 | + |
| 9 | +**ChefByte** transforms Luna Hub into your personal kitchen manager. By connecting to Grocy (a self-hosted household management app), ChefByte gives you AI-powered control over everything food-related—from tracking what's in your pantry to planning meals and managing shopping lists. |
| 10 | + |
| 11 | +### What is ChefByte? |
| 12 | + |
| 13 | +Think of ChefByte as having a knowledgeable friend who always knows what's in your kitchen, can suggest meals based on what you have, and keeps your shopping organized. Instead of manually logging every item or clicking through menus, you simply talk to your AI assistant and ChefByte handles the rest. |
| 14 | + |
| 15 | +### What Can You Do With ChefByte? |
| 16 | + |
| 17 | +#### 🥫 Inventory Management |
| 18 | +**Never wonder "what do I have?" again.** |
| 19 | + |
| 20 | +- **Check your pantry instantly**: *"What's in my inventory?"* or *"Do I have milk?"* |
| 21 | +- **Track expiration dates**: See what's about to expire so nothing goes to waste |
| 22 | +- **Add items when you shop**: *"I bought 2 cartons of milk and a dozen eggs"* |
| 23 | +- **Mark items as used**: *"I used 1 cup of flour for baking"* |
| 24 | + |
| 25 | +ChefByte keeps a real-time count of everything in your kitchen, including: |
| 26 | +- Current quantities (2 gallons of milk, 6 eggs remaining, etc.) |
| 27 | +- Expiration dates |
| 28 | +- Storage locations |
| 29 | + |
| 30 | +#### 🛒 Shopping List Management |
| 31 | +**Build and manage shopping lists effortlessly.** |
| 32 | + |
| 33 | +- **Add items by voice**: *"Add milk to my shopping list"* |
| 34 | +- **Remove items**: *"Remove bread from the shopping list"* |
| 35 | +- **Check what you need**: *"What's on my shopping list?"* |
| 36 | +- **Smart restocking**: Automatically add items that are running low |
| 37 | +- **Clear completed lists**: Start fresh after shopping |
| 38 | + |
| 39 | +Your AI can intelligently manage multiple shopping lists and even suggest quantities based on your usage patterns. |
| 40 | + |
| 41 | +#### 📅 Meal Planning |
| 42 | +**Plan your week's meals with AI assistance.** |
| 43 | + |
| 44 | +- **Add meals to your calendar**: *"Add spaghetti to dinner on Friday"* |
| 45 | +- **Use saved recipes**: Link meal plans to your recipe collection |
| 46 | +- **Track what you've eaten**: *"Mark today's breakfast as complete"* |
| 47 | +- **Plan ahead**: See the whole week's meal plan at a glance |
| 48 | +- **Remove or change meals**: *"Delete Tuesday's dinner plan"* |
| 49 | + |
| 50 | +ChefByte connects your meal plans to your inventory, so it knows what ingredients you have and what you'll need. |
| 51 | + |
| 52 | +#### 🍳 Recipe Management |
| 53 | +**Store and organize your favorite recipes.** |
| 54 | + |
| 55 | +- **Save recipes with ingredients**: *"Create a recipe for chocolate chip cookies"* |
| 56 | +- **Add ingredient lists**: Link recipes to products in your inventory |
| 57 | +- **See cookable recipes**: *"What can I make with what I have?"* |
| 58 | +- **Get all recipes**: Browse your collection anytime |
| 59 | + |
| 60 | +Recipes in ChefByte automatically check if you have the ingredients, making meal planning effortless. |
| 61 | + |
| 62 | +#### 📊 Nutrition Tracking |
| 63 | +**Track calories and macros automatically.** |
| 64 | + |
| 65 | +- **Log meals**: *"I ate 2 eggs and toast for breakfast"* |
| 66 | +- **Track macros**: See your daily protein, carbs, fats, and calories |
| 67 | +- **Review your day**: *"What did I eat today?"* |
| 68 | +- **Monitor progress**: Check nutrition over time |
| 69 | + |
| 70 | +ChefByte integrates with Nutritionix API to automatically calculate nutrition info for common foods, and you can create custom "temporary items" for home-cooked meals. |
| 71 | + |
| 72 | +#### 💰 Price Tracking |
| 73 | +**Keep tabs on grocery costs.** |
| 74 | + |
| 75 | +- **Log product prices**: *"Milk costs $4.99"* |
| 76 | +- **Compare over time**: See if prices are going up or down |
| 77 | +- **Budget better**: Know how much your groceries actually cost |
| 78 | + |
| 79 | +### Real-World Examples |
| 80 | + |
| 81 | +Here's how ChefByte works in everyday situations: |
| 82 | + |
| 83 | +**Morning:** |
| 84 | +> *"Good morning! Did I run out of coffee?"* |
| 85 | +> → ChefByte checks inventory: "You have 1 cup of coffee left" |
| 86 | +> *"Add coffee to my shopping list"* |
| 87 | +> → Added to shopping list |
| 88 | +
|
| 89 | +**Planning Dinner:** |
| 90 | +> *"What can I cook tonight with what I have?"* |
| 91 | +> → ChefByte checks cookable recipes: "You can make spaghetti, stir-fry, or chicken tacos" |
| 92 | +> *"Add chicken tacos to dinner tonight"* |
| 93 | +> → Meal added to today's plan |
| 94 | +
|
| 95 | +**After Dinner:** |
| 96 | +> *"I made chicken tacos, mark them as done"* |
| 97 | +> → Meal marked complete |
| 98 | +> *"Log my dinner: 3 tacos with rice and beans"* |
| 99 | +> → ChefByte calculates nutrition and logs it |
| 100 | +
|
| 101 | +**At the Grocery Store:** |
| 102 | +> *"What's on my shopping list?"* |
| 103 | +> → ChefByte reads the list: "Coffee, milk, chicken, tortillas..." |
| 104 | +
|
| 105 | +**After Shopping:** |
| 106 | +> *"I bought 1 pound of coffee, 2 gallons of milk, and 2 pounds of chicken"* |
| 107 | +> → ChefByte adds everything to inventory |
| 108 | +> *"Clear my shopping list"* |
| 109 | +> → List cleared, ready for next week |
| 110 | +
|
| 111 | +### How ChefByte Works |
| 112 | + |
| 113 | +ChefByte is an extension that connects Luna Hub to Grocy, a powerful household management web application. Here's how they work together: |
| 114 | + |
| 115 | +1. **Grocy** runs as a Docker container managed by Luna Hub (see Apps/Services) |
| 116 | +2. **ChefByte extension** provides AI tools that talk to Grocy's API |
| 117 | +3. **Your AI agent** uses ChefByte's tools when you ask kitchen-related questions |
| 118 | +4. **Everything syncs** in real-time—changes in Grocy appear in ChefByte and vice versa |
| 119 | + |
| 120 | +You can use Grocy's web interface directly for detailed management, or talk to your AI for quick tasks. ChefByte makes Grocy conversational. |
| 121 | + |
| 122 | +### Getting Started with ChefByte |
| 123 | + |
| 124 | +**Prerequisites:** |
| 125 | +- Luna Hub installed and running |
| 126 | +- Grocy app/service installed (see Apps/Services in Luna Hub) |
| 127 | +- OpenAI API key (for intelligent meal suggestions) |
| 128 | + |
| 129 | +**Installation:** |
| 130 | +1. Navigate to **Extensions** in Luna Hub |
| 131 | +2. Find **ChefByte** in the store (currently listed as "grocy") |
| 132 | +3. Click **Install** |
| 133 | +4. Add required API keys in **Settings → Environment Keys**: |
| 134 | + - `GROCY_BASE_URL` - Your Grocy instance URL (auto-configured) |
| 135 | + - `GROCY_API_KEY` - Grocy API key |
| 136 | + - `OPENAI_API_KEY` - For meal planning intelligence |
| 137 | + |
| 138 | +**Configuration:** |
| 139 | +ChefByte needs a few Grocy settings: |
| 140 | +- `GROCY_DEFAULT_LOCATION_ID` - Where items are stored (e.g., "Pantry") |
| 141 | +- `GROCY_DEFAULT_QU_ID_PURCHASE` - Default purchase unit (e.g., "piece") |
| 142 | +- `GROCY_DEFAULT_QU_ID_STOCK` - Default stock unit (e.g., "piece") |
| 143 | + |
| 144 | +Luna Hub's installer can set these up automatically when you install Grocy. |
| 145 | + |
| 146 | +**First Steps:** |
| 147 | +1. Open Grocy's web UI (at `/apps_services/grocy/` in Luna Hub) |
| 148 | +2. Add a few products manually to get familiar |
| 149 | +3. Ask your AI: *"What's in my inventory?"* |
| 150 | +4. Start adding to shopping lists and planning meals! |
| 151 | + |
| 152 | +### Tips for Using ChefByte |
| 153 | + |
| 154 | +**Be Natural:** |
| 155 | +ChefByte understands conversational language. You don't need to be precise: |
| 156 | +- ✅ *"Do I have any milk?"* |
| 157 | +- ✅ *"Add a couple avocados to shopping list"* |
| 158 | +- ✅ *"What's for dinner this week?"* |
| 159 | + |
| 160 | +**Use Product Names Consistently:** |
| 161 | +ChefByte works best when you use the same product names. "Milk" vs "Whole Milk" vs "2% Milk" are different products. |
| 162 | + |
| 163 | +**Plan Your Week:** |
| 164 | +Set aside 10 minutes on Sunday to: |
| 165 | +1. Check what you have |
| 166 | +2. Plan the week's meals |
| 167 | +3. Generate a shopping list |
| 168 | +4. Let ChefByte add missing ingredients automatically |
| 169 | + |
| 170 | +**Log As You Go:** |
| 171 | +After meals, quickly tell your AI what you ate. This builds a nutrition history over time. |
| 172 | + |
| 173 | +**Review Regularly:** |
| 174 | +Ask periodic questions like: |
| 175 | +- *"What's about to expire?"* |
| 176 | +- *"What am I low on?"* |
| 177 | +- *"What did I spend on groceries this month?"* |
| 178 | + |
| 179 | +### Advanced Features |
| 180 | + |
| 181 | +**Placeholders:** |
| 182 | +Create "placeholder" items for ingredients you don't have exact counts for (like "1 onion" or "fresh basil"). ChefByte can add these to shopping lists without tracking exact inventory. |
| 183 | + |
| 184 | +**Temporary Nutrition Items:** |
| 185 | +Log one-off meals that aren't in your inventory: |
| 186 | +- *"Log a burger and fries, estimate 800 calories"* |
| 187 | +- ChefByte creates a temporary entry for that day |
| 188 | + |
| 189 | +**Recipe-Based Meal Planning:** |
| 190 | +Link meal plans to saved recipes, and ChefByte will: |
| 191 | +1. Check if you have all ingredients |
| 192 | +2. Add missing items to shopping list |
| 193 | +3. Mark ingredients as consumed when you cook |
| 194 | + |
| 195 | +**Batch Operations:** |
| 196 | +ChefByte can handle multiple requests at once: |
| 197 | +- *"Add milk, eggs, and bread to my shopping list"* |
| 198 | +- *"I bought 2 pounds of chicken, 1 pound of beef, and 3 apples"* |
| 199 | + |
| 200 | +--- |
| 201 | + |
| 202 | +## Home Assistant: Voice-Controlled Smart Home |
| 203 | + |
| 204 | +**Home Assistant** is Luna Hub's smart home extension, giving you voice control over lights, switches, thermostats, and more through natural conversation with your AI. |
| 205 | + |
| 206 | +### What is Home Assistant? |
| 207 | + |
| 208 | +Home Assistant is one of the most popular open-source smart home platforms. Luna Hub's Home Assistant extension connects your AI to your home automation setup, letting you control everything with natural language instead of apps and switches. |
| 209 | + |
| 210 | +### What Can You Do? |
| 211 | + |
| 212 | +**Device Control:** |
| 213 | +- *"Turn on the living room lights"* |
| 214 | +- *"Set the thermostat to 72 degrees"* |
| 215 | +- *"Turn off all the lights"* |
| 216 | + |
| 217 | +**Status Checks:** |
| 218 | +- *"Is the garage door open?"* |
| 219 | +- *"What's the temperature in the bedroom?"* |
| 220 | +- *"Are any lights on downstairs?"* |
| 221 | + |
| 222 | +**Media Control:** |
| 223 | +- *"Play music in the kitchen"* |
| 224 | +- *"Pause the TV"* |
| 225 | +- *"Set volume to 50%"* |
| 226 | + |
| 227 | +**Scenes and Automation:** |
| 228 | +- *"Set movie mode"* (dims lights, closes blinds, starts TV) |
| 229 | +- *"I'm going to bed"* (locks doors, turns off lights, sets alarm) |
| 230 | + |
| 231 | +### How It Works |
| 232 | + |
| 233 | +The Home Assistant extension provides tools that connect to your Home Assistant instance: |
| 234 | +- **Get device status**: Check if lights are on, doors locked, etc. |
| 235 | +- **Control devices**: Turn things on/off, adjust settings |
| 236 | +- **Run scenes**: Trigger complex automation with one command |
| 237 | + |
| 238 | +You need a running Home Assistant instance (separate from Luna Hub). Once connected, your AI can control anything Home Assistant manages. |
| 239 | + |
| 240 | +### Real-World Example: Private Alexa Alternative |
| 241 | + |
| 242 | +Combine Luna Hub's Home Assistant extension with the Agent API, and you've built your own privacy-focused voice assistant: |
| 243 | + |
| 244 | +1. Install Luna Hub on a home server |
| 245 | +2. Connect the Home Assistant extension |
| 246 | +3. Use a voice interface on your phone to talk to Luna's Agent API |
| 247 | +4. Ask natural questions like: |
| 248 | + - *"Turn on the lights and tell me what's on my shopping list"* |
| 249 | + - *"Lock the doors and set the alarm"* |
| 250 | + - *"What's in my pantry? And is the garage door closed?"* |
| 251 | + |
| 252 | +Unlike Alexa or Google Home, your conversations never leave your network. You control the data, the tools, and the privacy. |
| 253 | + |
| 254 | +### Getting Started |
| 255 | + |
| 256 | +**Prerequisites:** |
| 257 | +- Home Assistant running (locally or remotely) |
| 258 | +- Home Assistant API token |
| 259 | + |
| 260 | +**Installation:** |
| 261 | +1. Install **Home Assistant extension** from Luna Hub's store |
| 262 | +2. Add credentials in **Settings → Environment Keys**: |
| 263 | + - `HA_URL` - Your Home Assistant URL |
| 264 | + - `HA_TOKEN` - Long-lived access token from Home Assistant |
| 265 | + |
| 266 | +**First Steps:** |
| 267 | +1. Ask: *"What devices do you see?"* |
| 268 | +2. Test control: *"Turn on the kitchen light"* |
| 269 | +3. Build scenes and automation in Home Assistant |
| 270 | +4. Control everything with your voice! |
| 271 | + |
| 272 | +--- |
| 273 | + |
| 274 | +## What's Next? |
| 275 | + |
| 276 | +These are just two examples of what Luna Hub extensions can do. Developers can create extensions for: |
| 277 | +- Calendar and task management |
| 278 | +- Email and messaging |
| 279 | +- File management and backups |
| 280 | +- Weather and news |
| 281 | +- Custom integrations for work tools |
| 282 | +- Anything with an API! |
| 283 | + |
| 284 | +**Want to build your own extension?** Check out the [Developer Guide](../developer-guide/creating-extensions.md). |
| 285 | + |
| 286 | +**Ready to install these extensions?** Visit **Extensions** in your Luna Hub dashboard and browse the store! |
0 commit comments