这个是设置时间时候反馈的代码:
{"get":"timing"}
{"timing":[{"task":0,"act":[{"btn-abc":"on"}],"ena":1,"tim":700,"day":"1111111"}]}
{"set":{"timing":[{"task":0,"act":[{"btn-abc":"on"}],"ena":1,"tim":717,"day":"1111111"}]}}
{"timing":[{"task":0,"act":[{"btn-abc":"on"}],"ena":1,"tim":717,"day":"1111111"}]}
{"get":"state"}
{"timer":"100","state":"online","version":"0.1.0"}
但是到设定时间时候没有显示特定代码,就仅仅显示了:
{"get":"state"}
{"timer":"100","state":"online","version":"0.1.0"}
我同样用倒计时设置了一个短时间,反馈代码也是同样的问题,到设置时间之后只反馈:
{"get":"state"}
{"timer":"100","state":"online","version":"0.1.0"}
但是倒计时那个继电器是能控制风扇开启的,定时的就不行,一直找不到问题在哪里 |