File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 599599 "type" : " function" ,
600600 "z" : " 09012e75c72a4968" ,
601601 "name" : " getRoomIDAndActuatorType" ,
602- "func" : " let jsonData = JSON.parse(msg.payload);\n msg.roomID = jsonData[msg.actuator_id][\" room\" ]\n msg.type = jsonData[msg.actuator_id][\" type\" ]\n return msg;" ,
602+ "func" : " let jsonData = JSON.parse(msg.payload);\n msg.room_id = jsonData[msg.actuator_id][\" room\" ]\n msg.type = jsonData[msg.actuator_id][\" type\" ]\n return msg;" ,
603603 "outputs" : 1 ,
604604 "noerr" : 0 ,
605605 "initialize" : " " ,
638638 "type" : " function" ,
639639 "z" : " 09012e75c72a4968" ,
640640 "name" : " getSerial" ,
641- "func" : " let jsonData = JSON.parse(msg.payload);\n msg.serial = jsonData[msg.room ]\n return msg;" ,
641+ "func" : " let jsonData = JSON.parse(msg.payload);\n msg.serial = jsonData[msg.room_id ]\n return msg;" ,
642642 "outputs" : 1 ,
643643 "noerr" : 0 ,
644644 "initialize" : " " ,
13161316 "z" : " 09012e75c72a4968" ,
13171317 "name" : " " ,
13181318 "serial" : " 94b8abb47e4cb1f2" ,
1319- "x" : 2150 ,
1319+ "x" : 2070 ,
13201320 "y" : 1280 ,
13211321 "wires" : []
13221322 },
You can’t perform that action at this time.
0 commit comments