Got Node-Red talking to my garage. Anyone know how to change the msg.payload to make the state more trackable?

[{"id":"51f05c0.3ad1aa4","type":"tab","label":"Flow 3","disabled":false,"info":""},{"id":"ba9067b6.d418d8","type":"webhookrelay","z":"51f05c0.3ad1aa4","buckets":"[{\"id\":\"8731ff50.fa995\",\"type\":\"tab\",\"label\":\"Flow 1\",\"disabled\":false,\"info\":\"\"},{\"id\":\"23126fdc.391d2\",\"type\":\"webhookrelay\",\"z\":\"8731ff50.fa995\",\"buckets\":\"\",\"x\":330,\"y\":300,\"wires\":[[\"70131bab.742634\"]]},{\"id\":\"e79abeda.a9141\",\"type\":\"ifttt trigger\",\"z\":\"8731ff50.fa995\",\"url\":\"\",\"name\":\"Garage\",\"method\":\"POST\",\"ret\":\"txt\",\"event\":\"garage\",\"secretkey\":\"c9Xgl6vC_5CplqaXFRgpHu\",\"val1\":\"garage\",\"val2\":\"\",\"val3\":\"\",\"x\":620,\"y\":460,\"wires\":[[]]},{\"id\":\"f97e3a53.1a3ee8\",\"type\":\"file\",\"z\":\"8731ff50.fa995\",\"name\":\"GarageStatus\",\"filename\":\"C:\\Users\\Matt Markivee\\Documents\\GarageStatus.txt\",\"appendNewline\":false,\"createDir\":false,\"overwriteFile\":\"true\",\"encoding\":\"none\",\"x\":1000,\"y\":300,\"wires\":[[]]},{\"id\":\"25fc268e.4ef55a\",\"type\":\"change\",\"z\":\"8731ff50.fa995\",\"name\":\"\",\"rules\":[{\"t\":\"change\",\"p\":\"payload\",\"pt\":\"msg\",\"from\":\"0\",\"fromt\":\"num\",\"to\":\"1\",\"tot\":\"num\"}],\"action\":\"\",\"property\":\"\",\"from\":\"\",\"to\":\"\",\"reg\":false,\"x\":740,\"y\":300,\"wires\":[[\"f97e3a53.1a3ee8\"]]},{\"id\":\"70131bab.742634\",\"type\":\"function\",\"z\":\"8731ff50.fa995\",\"name\":\"\",\"func\":\"\nreturn msg;\",\"outputs\":1,\"noerr\":0,\"x\":510,\"y\":300,\"wires\":[[\"25fc268e.4ef55a\"]]}]","x":330,"y":240,"wires":[["d798636a.eeab8"]]},{"id":"58cbe5cf.30e46c","type":"ifttt trigger","z":"51f05c0.3ad1aa4","url":"","name":"Garage","method":"POST","ret":"txt","event":"garage","secretkey":"c9Xgl6vC_5CplqaXFRgpHu","val1":"garage","val2":"","val3":"","x":620,"y":400,"wires":[[]]},{"id":"21c91388.03f86c","type":"file","z":"51f05c0.3ad1aa4","name":"GarageStatus","filename":"C:\Users\Matt Markivee\Documents\GarageStatus.txt","appendNewline":false,"createDir":false,"overwriteFile":"true","encoding":"none","x":1000,"y":240,"wires":[[]]},{"id":"43326075.1e23","type":"change","z":"51f05c0.3ad1aa4","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"0","fromt":"num","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":740,"y":240,"wires":[["21c91388.03f86c"]]},{"id":"d798636a.eeab8","type":"function","z":"51f05c0.3ad1aa4","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"x":510,"y":240,"wires":[["43326075.1e23"]]}]

/r/homeautomation Thread Parent