###### Abstract  
With the emergence of the Internet of Things, environmental sensing has been gaining interest, promising to improve agricultural practices by facilitating decision-making based on gathered environmental data (i.e., weather forecasting, crop monitoring, and soil moisture sensing). Environmental sensing, and by extension what is referred to as precision or smart agriculture, pose new challenges, especially regarding the collection of environmental data in the presence of connectivity disruptions, their gathering, and their exploitation by end-users or by systems that must perform actions according to the values of those collected data. In this paper, we present a middleware platform for the Internet of Things that implements disruption tolerant opportunistic networking and computing techniques, and that makes it possible to expose and manage physical objects through Web-based protocols, standards and technologies, thus providing interoperability between objects and creating a Web of Things (WoT). This WoT-based opportunistic computing approach is backed up by a practical experiment whose outcomes are presented in this article. Web of Things; intermittent connectivity; opportunistic computing; opportunistic sensing; precision agriculture; smart agriculture [1]  
allow transfering, thanks to a higher throughput, a significant amount of data in a short time from sensors (e.g., camera) or to agribots (field maps, tasks to achieve, etc.). Such an alternative, which relies on opportunistic communication and computing techniques, is known as the opportunistic sensing paradigm [4]. Besides these problems, the lack of semantic description and logical representation of physical objects does not allow easily consolidating collected data with data from external Web services (e.g., weather forecast and plant growth models), to assemble objects to build sophisticated systems, and to create high level services and applications that should help farmers to take decisions, or even to perform tasks automatically. The Web of Things (WoT) [5] is an attractive solution to address these issues. Indeed, the WoT extends the IoT, and aims at doing for physical objects what the Web did for information resources, namely an identification of resources using Uniform Resource Identifiers (URIs), a semantic description of resources, an access of resources through standard protocols, and the inclusion in resources of links to other resources to enable a scalable discovery of highly distributed resources. Following the trend of Web 2.0 participatory services, in particular Web Mashups, it thus is possible to create applications mixing physical devices with virtual services on the Web--this type of applications is often referred to as physical Mashup [6; 7]. In this paper, we present a WoT oriented platform called ASAWoO ([[https://asawoo.gitlab.io/](https://asawoo.gitlab.io/)]([https://asawoo.gitlab.io/](https://asawoo.gitlab.io/)) [8]), that implements opportunistic and disruption-tolerant networking and computing techniques. This platform makes it possible to define and instantiate logical extensions, called Avatars, of physical objects. Physical objects can be configured and controlled through their avatar. Avatars provide a semantic description of physical objects and of their functionalities. Functionalities are implemented as REST services, and can be deployed dynamically by the Avatars themselves according to the description of the physical objects and of the execution context of these ones. Similar to the functionalities, execution contexts are described semantically, thus allowing Avatars to reason on these descriptions and to perform adaptations dynamically. REST services can be invoked using standard protocols such as HTTP or CoAP, either using Internet-legacy transport protocols or disruption-tolerant and opportunistic protocols.