[{"id":"f21f1297.c6921","type":"inject","z":"6f6ce46.ce6b51c","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{"Device_ID":"94","Channel":"Hum","Qty":1},{"Device_ID":"94","Channel":"Temp","Qty":2},{"Device_ID":"93","Channel":"Hum","Qty":3},{"Device_ID":"93","Channel":"Temp","Qty":4}]","payloadType":"json","x":130,"y":980,"wires":[["c84648c.e7806b8"]]},{"id":"c84648c.e7806b8","type":"function","z":"6f6ce46.ce6b51c","name":"","func":"for(let i of msg.payload){\n if(i.Device_ID == "94") msg[i.Channel] = i.Qty;\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":290,"y":980,"wires":[["a69927cb.9149e8","a690dded.facb6","c684a068.38a13"]]},{"id":"a69927cb.9149e8","type":"debug","z":"6f6ce46.ce6b51c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":920,"wires":[]},{"id":"a690dded.facb6","type":"change","z":"6f6ce46.ce6b51c","name":"湿度","rules":[{"t":"set","p":"payload","pt":"msg","to":"Hum","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":450,"y":960,"wires":[["df2654fd.1fe7c8"]]},{"id":"c684a068.38a13","type":"change","z":"6f6ce46.ce6b51c","name":"温度","rules":[{"t":"set","p":"payload","pt":"msg","to":"Temp","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":450,"y":1000,"wires":[["d27a5035.fa11f"]]},{"id":"df2654fd.1fe7c8","type":"debug","z":"6f6ce46.ce6b51c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":590,"y":960,"wires":[]},{"id":"d27a5035.fa11f","type":"debug","z":"6f6ce46.ce6b51c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":590,"y":1000,"wires":[]}]