mqtt驱动里面,用这个查询表里面有没有item和channel的记录,去更新这个记录,却通不过条件进不去更新步骤(红框写字那个条件)
画面管理
-
@核桃酥 我这是在mqtt驱动脚本里面,channel为数字2
传送的报文:
{"id":"864708065108196",
"type":"MQTT",
"values":{
"channel":2,
"server":"192.168.1.1",
"port":"1883", "dev_id":"aaa1111",
"user":"user1",
"passwd":"123456",
"ver":"3.1.1",
"QOS":0,
"topic_pub":"topic1,topic2",
"topic_sub":"topic1,topic2" },
"time":1697075971000}
用的这个查询