- Streamline and enhance documentation for API, architecture, getting started, and usage - Improve clarity, readability, and organization of documentation files - Update content to be more concise and informative - Ensure consistent formatting and style across documentation
34 lines
1.3 KiB
Markdown
34 lines
1.3 KiB
Markdown
# Usage Guide
|
|
|
|
This guide explains how to use the Home Assistant MCP Server for smart home device management and integration with language learning systems.
|
|
|
|
## Basic Usage
|
|
|
|
1. **Starting the Server:**
|
|
- For development: run `npm run dev`.
|
|
- For production: run `npm run build` followed by `npm start`.
|
|
|
|
2. **Accessing the Web Interface:**
|
|
- Open [http://localhost:3000](http://localhost:3000) in your browser.
|
|
|
|
3. **Real-Time Updates:**
|
|
- Connect to the SSE endpoint at `/subscribe_events?token=YOUR_TOKEN&domain=light` to receive live updates.
|
|
|
|
## Advanced Features
|
|
|
|
1. **API Interactions:**
|
|
- Use the REST API for operations such as device control, automation, and add-on management.
|
|
- See [API Documentation](api.md) for details.
|
|
|
|
2. **Tool Integrations:**
|
|
- Multiple tools are available (see [Tools Documentation](tools/README.md)), for tasks like automation management and notifications.
|
|
|
|
3. **Security Settings:**
|
|
- Configure token-based authentication and environment variables as per the [Configuration Guide](getting-started/configuration.md).
|
|
|
|
4. **Customization and Extensions:**
|
|
- Extend server functionality by developing new tools as outlined in the [Development Guide](development/README.md).
|
|
|
|
## Troubleshooting
|
|
|
|
If you experience issues, review the [Troubleshooting Guide](troubleshooting.md). |