更新二维码
This commit is contained in:
parent
22d1e4ce10
commit
39a40c9b42
@ -92,24 +92,24 @@ def agent_start():
|
|||||||
global agent
|
global agent
|
||||||
|
|
||||||
agent_running = True
|
agent_running = True
|
||||||
# init_db()
|
init_db()
|
||||||
check_and_execute_thread = threading.Thread(target=check_and_execute)
|
check_and_execute_thread = threading.Thread(target=check_and_execute)
|
||||||
check_and_execute_thread.start()
|
check_and_execute_thread.start()
|
||||||
|
|
||||||
#初始计划
|
#初始计划
|
||||||
# fay_core.send_for_answer("""执行任务-->
|
fay_core.send_for_answer("""执行任务-->
|
||||||
# 你是一个智慧农业实验箱里的ai,你的责任是陪伴主人生活、工作,以及协助主人打理好农业种植箱里的农作物:
|
你是一个智慧农业实验箱里的ai,你的责任是陪伴主人生活、工作,以及协助主人打理好农业种植箱里的农作物:
|
||||||
# 1、在每天早上8点、中午12点、晚上10点检查农业种植箱的状态是否附合设定的预期执行,如果不符合请告知我调整。
|
1、在每天早上8点、中午12点、晚上10点检查农业种植箱的状态是否附合设定的预期执行,如果不符合请告知我调整。
|
||||||
# 2、每天12点“语音提醒主人吃饭”;
|
2、每天12点“语音提醒主人吃饭”;
|
||||||
# 3、在星期一到星期五13:30“语音提醒主人开始工作”;
|
3、在星期一到星期五13:30“语音提醒主人开始工作”;
|
||||||
# 4、在星期一到星期五15:15“语音提醒主人冲咖啡”;
|
4、在星期一到星期五15:15“语音提醒主人冲咖啡”;
|
||||||
# 5、在星期一、星期三的11:15“语音提醒主人开会”;
|
5、在星期一、星期三的11:15“语音提醒主人开会”;
|
||||||
# 6、在星期五17:30“语音提醒主人开会”;
|
6、在星期五17:30“语音提醒主人开会”;
|
||||||
# 7、在星期一到星期五18:00“语音提醒主人下班”;
|
7、在星期一到星期五18:00“语音提醒主人下班”;
|
||||||
# 8、在每天21点陪主人聊聊天;
|
8、在每天21点陪主人聊聊天;
|
||||||
# 9、在每天晚上10:30会跟据第二天的天气预报信息和当天的运行情况,检查iotm系统当天的控制规则;
|
9、在每天晚上10:30会跟据第二天的天气预报信息和当天的运行情况,检查iotm系统当天的控制规则;
|
||||||
|
|
||||||
# """)
|
""")
|
||||||
|
|
||||||
def agent_stop():
|
def agent_stop():
|
||||||
global agent_running
|
global agent_running
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 197 KiB After Width: | Height: | Size: 96 KiB |
Loading…
Reference in New Issue
Block a user