使用说明
基本能力
产品定位
三星SmartThings酒店集成演示系统是一个展示智能家居技术与酒店管理系统集成的解决方案。
核心功能
-
Streamlit前端:
- 管理用户及其温度偏好
- 管理酒店房间
- 创建和管理预订
- 分配房间和办理退房
- 查看酒店统计数据和SmartThings集成状态仪表板
- 使用AI聊天机器人界面与系统交互
-
MCP后端:
- 为前端提供API端点
- 与SmartThings API集成以控制设备
- 管理用户偏好、房间分配和预订
适用场景
- 智能酒店管理系统
- 个性化房间环境控制
- 酒店运营数据可视化
使用教程
使用依赖
- Python 3.8或更高版本
- pip包管理器
安装教程
-
克隆仓库:
git clone <repository-url> cd mcpSmartThings -
安装依赖:
pip install streamlit fastapi uvicorn pydantic pandas torch transformers
调试方式
-
启动MCP后端服务器:
cd mcpSmartThings python -m mcp.server -
启动Streamlit前端:
cd mcpSmartThings streamlit run app.py -
访问API文档: http://localhost:8000/docs
