Thanks, got it working. Do get the data element, but as an xml adict, I have difficulty how to select count and temp separately from the json
Complete flow[{"id":"2a596153.f0ee06","type":"mqtt-broker","z":"6b7beaee.dd1934","broker":"croft.thethings.girovito.nl","port":"1883","clientid":"","usetls":false,"verifyservercert":true,"compatmode":true,"keepalive":"15","cleansession":true,"willTopic":"","willQos":"0","willRetain":null,"willPayload":"","birthTopic":"","birthQos":"0","birthRetain":null,"birthPayload":""},{"id":"5d38a3b5.40e4e4","type":"json","z":"6b7beaee.dd1934","name":"","x":300.4444580078125,"y":71.33332824707031,"wires":[["f7b37250.59d2d"]]},{"id":"9d14d01a.683978","type":"mqtt in","z":"6b7beaee.dd1934","name":"","topic":"nodes/02012902/packets","broker":"2a596153.f0ee06","x":109.77777099609375,"y":71.88888549804688,"wires":[["5d38a3b5.40e4e4"]]},{"id":"c5cf4f9.5ed94b","type":"debug","z":"6b7beaee.dd1934","name":"","active":true,"console":"false","complete":"payload.data","x":619.5555419921875,"y":70.66665649414062,"wires":[]},{"id":"f7b37250.59d2d","type":"function","z":"6b7beaee.dd1934","name":"decode","func":"msg.payload.data = new Buffer(msg.payload.data, \"base64\").toString();\nreturn msg;","outputs":1,"noerr":0,"x":435.4444580078125,"y":71.4444580078125,"wires":[["c5cf4f9.5ed94b"]]}]