Hi Tom,
You will need to make sure the sensor is configured for(Raw Data on Demand) first. Then you can use this flow to request Raw Time Domain data from the sensor:
[{"id":"f8778ff4.caf6b","type":"tab","label":"V3 Raw On Demand","disabled":true,"info":""},{"id":"6ee4f293.482d3c","type":"inject","z":"f8778ff4.caf6b","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"devices\":[\"00:13:a2:00:41:b1:72:47\"]}","payloadType":"json","x":550,"y":300,"wires":[["efaab95f.f76e48"]]},{"id":"efaab95f.f76e48","type":"function","z":"f8778ff4.caf6b","name":"Add incomming device to context","func":"var newDevices = msg.payload.devices;\nvar existingDevices = flow.get('devices');\n\nif(typeof existingDevices == 'undefined'){\n flow.set('devices',newDevices);\n msg.payload.devices = newDevices;\n return msg;\n}else{\n for(let newDevice of newDevices){\n exists = false;\n for(let existingDevice of existingDevices){\n if(newDevice == existingDevice){\n exists = true;\n break;\n }\n }\n if(!exists){\n existingDevices.push(newDevice);\n } \n }\n}\nflow.set('devices',existingDevices);\nmsg.payload.devices = existingDevices;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":820,"y":300,"wires":[[]]},{"id":"9da7fd56.80fbb","type":"function","z":"f8778ff4.caf6b","name":"Check Devices","func":"var devices = flow.get('devices');\nvar deviceID = msg.payload.addr;\nif(typeof devices == 'undefined')return;\n\nfor(i = 0; i < devices.length; i++){\n // console.log('device: '+devices[i]+' deviceID: '+deviceID);\n if(deviceID == devices[i]){\n msg.payload.address = deviceID;\n // msg.payload.address = \"00:00:00:00:00:00:ff:ff\"\n msg.payload.data = [0xF8,0x99,0x00,0x00,0x28];\n devices.splice(i,1);\n return msg;\n }\n}","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":420,"y":360,"wires":[["a86ae21.e9b19a","e5aca4b6.98e108"]]},{"id":"e6d5abf2.b40d8","type":"switch","z":"f8778ff4.caf6b","name":"Vibration Check Valve","property":"payload.sensor_type","propertyType":"msg","rules":[{"t":"eq","v":"82","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":640,"y":540,"wires":[["9da7fd56.80fbb","831654f9.5c3818"]]},{"id":"a86ae21.e9b19a","type":"delay","z":"f8778ff4.caf6b","name":"","pauseType":"delay","timeout":"100","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"outputs":1,"x":130,"y":540,"wires":[["b673600b6bff4b6f"]]},{"id":"831654f9.5c3818","type":"debug","z":"f8778ff4.caf6b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":870,"y":540,"wires":[]},{"id":"e5aca4b6.98e108","type":"debug","z":"f8778ff4.caf6b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":360,"wires":[]},{"id":"53605b351d6c1b85","type":"ncd-wireless-node","z":"f8778ff4.caf6b","name":"","connection":"b99bad4c7fc89c79","config_comm":"b99bad4c7fc89c79","addr":"00:13:a2:00:41:c9:43:3c","sensor_type":"82","auto_config":true,"node_id_delay_active":true,"node_id":0,"delay":300,"destination":"0000FFFF","power_active":"","power":4,"retries_active":"","retries":10,"pan_id_active":"","pan_id":"7FFF","change_enabled":"","change_pr":"0","change_interval":"0","cm_calibration":"60.6","bp_altitude":"0","bp_pressure":"0","bp_temp_prec":"0","bp_press_prec":"0","amgt_accel":"0","amgt_mag":"0","amgt_gyro":"0","impact_accel":"0","impact_data_rate":"4","impact_threshold":25,"impact_duration":1,"activ_interr_x":1,"activ_interr_y":2,"activ_interr_z":4,"activ_interr_op":8,"force_calibration_co2_auto_config":"","force_calibration_co2":400,"filtering":0,"data_rate":5,"time_series":0,"reading_type":1,"mode_80_active":"","mode_80":0,"filter_80_active":"","filter_80":0,"output_data_rate_101_active":"","output_data_rate_101":0,"sampling_duration_101_active":"","sampling_duration_101":1,"sampling_interval_101_active":true,"sampling_interval_101":1,"full_scale_range_101_active":"","full_scale_range_101":1,"x_axis_101":"","y_axis_101":"","z_axis_101":"","x":580,"y":780,"wires":[[]]},{"id":"b673600b6bff4b6f","type":"ncd-gateway-node","z":"f8778ff4.caf6b","name":"","connection":"f3d2780c.9b91b","unknown_devices":0,"outputs":1,"x":370,"y":540,"wires":[["e6d5abf2.b40d8"]]},{"id":"b99bad4c7fc89c79","type":"ncd-gateway-config","name":"Zigmo_11_15","comm_type":"serial","ip_address":"","tcp_port":"2101","port":"/dev/tty.usbserial-AC3VPU1B","baudRate":"115200","pan_id":"7fff","rssi":true},{"id":"f3d2780c.9b91b","type":"ncd-gateway-config","name":"Zigmo","comm_type":"serial","ip_address":"","tcp_port":"2101","port":"/dev/tty.usbserial-AC3VPU1B","baudRate":"115200","pan_id":"7fff","rssi":false}]
This flow uses a global variable which can store a list of sensor addresses. If a sensor checks in and the sensor’s address is in the global array then a request will be sent to request raw time domain data, then the sensor will respond with the Raw Data.
To test you will need to alter the address sent by the inject node to send the address of your sensor.
Let me know if you have any questions on this.
Thank you,
Travis Elliott