[{"id":"63b9839fad27ad6a","type":"function","z":"68cb8365d480cc44","name":"function 40","func":"\nlet a ={\"body\": {\n \"devices\": [\n {\n \"_id\": \"xx:xx:xx:xx:xx\",\n \"station_name\": \"Weinkeller\",\n \"date_setup\": 1535040585,\n \"last_setup\": 1535040585,\n \"type\": \"NHC\",\n \"last_status_store\": 1691058884,\n \"module_name\": \"Indoor\",\n \"firmware\": 59,\n \"last_upgrade\": 1535040606,\n \"wifi_status\": 51,\n \"reachable\": true,\n \"co2_calibrating\": false,\n \"data_type\": [\n \"Temperature\",\n \"CO2\",\n \"Humidity\",\n \"Noise\",\n \"Pressure\",\n \"health_idx\"\n ],\n \"place\": {\n \"altitude\": 454,\n \"city\": \"XXXXX\",\n \"country\": \"XXX\",\n \"timezone\": \"Europe/Zurich\",\n \"location\": [\n 5.5,\n 5.8\n ]\n },\n \"dashboard_data\": {\n \"time_utc\": 1691058884,\n \"Temperature\": 22.3,\n \"CO2\": 464,\n \"Humidity\": 60,\n \"Noise\": 54,\n \"Pressure\": 1011.5,\n \"AbsolutePressure\": 958.3,\n \"health_idx\": 0,\n \"min_temp\": 22,\n \"max_temp\": 22.4,\n \"date_max_temp\": 1691013729,\n \"date_min_temp\": 1691018273\n }\n }\n ],\n \"user\": {\n \"mail\": \"ptrsteiner@gmail.com\",\n \"administrative\": {\n \"country\": \"DE\",\n \"feel_like_algo\": 0,\n \"lang\": \"de\",\n \"reg_locale\": \"de-CH\",\n \"unit\": 0,\n \"windunit\": 0\n }\n }\n },\n \"status\": \"ok\",\n \"time_exec\": 0.037837982177734375,\n \"time_server\": 1691059121\n} \n\nmsg.payload = a;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":570,"y":240,"wires":[["a2d03ec676bc8c11","5de969a3b00f4733"]]},{"id":"e900ddba14e8c1d9","type":"inject","z":"68cb8365d480cc44","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":400,"y":240,"wires":[["63b9839fad27ad6a"]]},{"id":"a2d03ec676bc8c11","type":"debug","z":"68cb8365d480cc44","name":"debug 172","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":830,"y":200,"wires":[]},{"id":"5de969a3b00f4733","type":"function","z":"68cb8365d480cc44","name":"function 41","func":"msg.payload = msg.payload.body.devices[0].station_name;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":830,"y":300,"wires":[["3d79538b3871c2a7"]]},{"id":"3d79538b3871c2a7","type":"debug","z":"68cb8365d480cc44","name":"debug 173","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":990,"y":300,"wires":[]}]
install it and you should understand how to extract data