mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 21:18:13 +08:00
判断HA命令mav地址
This commit is contained in:
@@ -386,6 +386,7 @@ void ProcessHaCmd(char* cmd)
|
||||
{
|
||||
int i, on;
|
||||
sscanf(cmd, "set socket %s %d %d", mac, &i, &on);
|
||||
if (strcmp(mac, str_mac)) return;
|
||||
mqtt_log("set socket[%d] on[%d]", i, on);
|
||||
UserRelaySet(i, on);
|
||||
UserMqttSendSocketState(i);
|
||||
|
||||
Reference in New Issue
Block a user