xiaozhi-esp32-server/main/xiaozhi-server/core/utils/IoT_status.py

8 lines
180 B
Python

import requests
def get_IoT_status() -> str:
"""从 IoT 获取, 并生成提示词"""
# request
return "湿度 100% 温度 25°C 亮度 1000lx 二氧化碳 1000ppm"