1. A method for data processing at a wireless sensor device in a network, the method comprising: receiving, at the wireless sensor device, data for processing; determining, at the wireless sensor device, data characteristics of the data received at the wireless sensor device, wherein the data characteristics comprise data size; determining, at the wireless sensor device, a set of network conditions, wherein the set of network conditions comprises: network traffic makeup, network load conditions, network connectivity conditions, an expected process by which data traffic arrives at the wireless sensor device, the number of paths between the data origin and the data destination, the average number of hops between the data origin and the data destination, the probability of the wireless sensor device being connected to a sink node in the network, and the probability of the data destination being connected to the sink node; determining, at the wireless sensor device, device conditions of the wireless sensor device; determining, at the wireless sensor device, based on the device conditions, supported actions that the wireless sensor device is able to perform on the received data; selecting, at the wireless sensor device, one or more of the supported actions to be performed on the received data according to a pre-determined rule set; and processing, at the wireless sensor device, the received data according to the one or more selected actions, wherein the pre-determined rule set defines actions to be performed on the received data based on the data characteristics and the set of network conditions, and wherein the actions defined by the rule set comprise data transformation actions.