1 Introduction

Despite thousands of years of domestication and more than a century of academic research on bee behaviour, many aspects of the behavioural biology and ecology of bees remain poorly understood (Goulson 2010; Seeley 2010). This gap of knowledge is due to major technical difficulties for collecting quantitative data about the everyday activities of such small and fast-moving insects. Identifying individual bees among several thousands, observing their interactions in dark and busy nests, and monitoring their flights across large spatial scales are among the multiple challenges that have limited these investigations so far.

To address this problem, researchers have developed experimental hives and equipped bees with various kinds of tags that facilitate behavioural observations. Some of the most important breakthroughs have been made using flat glass hives. Famously, by observing inside hives, Darwin and Teigmeier broke the mystery of the perfect architecture of honey bee combs, showing that hexagonal cell-building is an emergent process reminiscent of round cell-building exhibited by less social bee species (Darwin 1859). A century later, von Frisch decoded the behavioural sequence honey bee foragers display on the combs to convey locational information about food resources, a unique abstract communication in insects known as the ‘waggle dance’ (von Frisch 1967). More recently, researchers have introduced electronic sensors into bee hives (e.g. (Struye et al. 1994; Woods 1957)) to automatically monitor physicochemical and/or biological parameters associated to colony health status (for reviews, see Bromenshenk et al. 2015; Meikle and Holst 2015). The first standalone ‘connected’ honey bee hives, combining scales under the hive to measure honey production, bee-counters at the hive entrance to monitor foraging activity, temperature and relative humidity sensors inside the hive to assess the ability of colonies to maintain homeostasis, and weather stations to keep track of local environmental conditions, were developed in the 1990s (Bromenshenk et al. 1996). Modern connected hive systems now include acoustic and vibration sensors to measure communication (Bencsik et al. 2015; Vidrascu et al. 2016), infrared imaging for estimating the size of the colonies (Basile et al. 2008; Edwards Murphy et al. 2015; Shaw et al. 2011), gas concentration to assess the metabolic activity of bees (Ohashi et al. 2009; Seeley 1974), and cameras to monitor social interactions in the hive (Gernat et al. 2018; Wario et al. 2017).

With the raise of the Internet of Things (IoT), connected hives are rapidly developing and increasingly used outside academic research, for precision beekeeping, commercial pollination, but also as an education tool for outreach events and science dissemination (Debauche et al. 2018). In 2018, for instance, 13% of French beekeepers used commercial connected hives systems in their apiary (Lettmann and Chauzat 2018). When deployed in sufficient numbers, these sentinel hives provide precious information about the potential strength of all colonies in an apiary. The data are typically sent online on a dedicated website or smartphone application, enabling beekeepers to make fast and informed decisions for managing their stock and honey production.

While bee researchers are increasingly using sensors to monitor specific hive parameters, all available sensors have rarely been combined, for instance to explore potential relationships between the behaviour of individual bees, their past experience, the performance history of colonies, and the environmental conditions around the hive (weather, forage quality, beekeeping practices, use of agricultural chemicals), an approach that is not possible with conventional hives. Here, we argue that bee research can greatly benefit from a broader utilisation of connected hive technologies. High-throughput quantification of behaviour, sometimes called ‘ethomics’ (Branson et al. 2009), is an emerging approach in behavioural biology. Modern methods from computer science and engineering to automatically measure and analyse behaviour now offer the possibility for collecting larger datasets, discovering features that humans cannot, and providing a vocabulary for discussing and describing behaviour that is consistent across labs and species that one wants to compare (Brown and de Bivort 2018). While such studies have so far mostly been restrained to model animals in the lab (e.g. drosophila, mice (Egnor and Branson 2016)), connected bee hives provide a unique opportunity to start extending the approach out of the lab and study complex behaviours in their ecological context.

In this review article, we describe the main sensors and measures commonly used in connected hives and discuss how combining these approaches with automated movement tracking systems will help link investigations of bee behaviour inside and outside the hive. Our aim is not to provide a comprehensive review of all the sensors available (for such reviews, see Bromenshenk et al. 2015; Meikle and Holst 2015). Rather, we discuss how developing more integrated monitoring systems, with multiple sensors to connect information about bee behaviour, hive function and the external environment, will help explore new grounds in bee biology.

2 What is measured by connected hives?

Regardless of their usage (e.g. research, beekeeping, outreach), the main objective of connected hives is to inform in real time about the state of a bee colony and the quality of its environment. It is therefore important that the systems measure a set of insightful parameters whose variations can be interpreted independently from each other or in combination. Here, we describe some of these parameters and the main technologies used to monitor them (see summary in Table I).

Table I Main technologies used in connected hives and where to find them. For extensive reviews of sensors, see Bromenshenk et al. (2015) and Meikle and Holst (2015)

2.1 Temperature and humidity

Connected hives are typically equipped with temperature and humidity sensors. Variations in these two parameters can inform about changes in colony sizes. Honey bees are ectothermic insects that collectively regulate in-hive temperature (Simpson 1961) and humidity (Ayton et al. 2016; Human et al. 2006) in order to maintain optimal colony function, such as queen egg production and brood development. Any failure in doing so, as identified by in-hive sensors, may indicate an abnormal drop in population size in weak colonies (Stalidzans et al. 2017). However, when measured to specific areas in the hive (e.g. bottom part of the first frame), an increase of temperature can also predict imminent swarming (i.e. when the old queen and about a third of the workers leave the hive to found a new colony) (Zhu et al. 2019).

2.2 Weight

Connected hives also typically include weight scales under the nest comportment (Holst and Meikle 2018; Meikle et al. 2018). On the short term, variation in colony weight can inform about the overall traffic of bees entering and departing the hive, a proxy for foraging activity (Meikle et al. 2008), or swarming. On the longer term, however, gradual colony weight variations can be related to changes in nectar and pollen availability, honey production and brood development (Flores et al. 2019).

2.3 Weather

Colony foraging activity is correlated to external parameters such as light intensity, humidity, temperature, wind velocity and atmospheric pressure (Seeley 2014). All these parameters are now easily accessible using weather stations (Mendelsohn et al. 2007). With the increase of commercial pollination practices, maximising the activity of honey bee foragers over short periods of time has become a major challenge for beekeepers (Breeze et al. 2014). High-resolution weather data can therefore inform about pollination efficiency, allowing beekeepers to adjust the number and locations of hives needed at a given time. Good weather parameters, such as elevated light intensity, are usually correlated with a high level of bee activity (Bai and Ku 2008; Clarke and Robert 2018).

2.4 Bee traffic

The traffic of foragers at the hive entrance can be an indicator of foraging activity, food availability, food demand, colony age structure and colony growth. To measure the in and out movements of foragers, it is possible to mark individual bees with uniquely identified tags that are recognised by sensors at the hive entrance (e.g. radiofrequency identification (RFID) (de Souza et al. 2018; Streit et al. 2003) (Figure 1a), image recognition of coloured number tags (Alaux et al. 2014) (Figure 1b) or image recognition of 2D bar coded papers (Crall et al. 2018a) (Figure 1c)). For instance, long-term recordings of the traffic of bumblebee foragers revealed that individuals adjust their activity to daylight duration (Stelzer et al. 2010) and tend to perform more frequent and longer foraging bouts, but also to collect less food, after exposure to pesticides (Gill et al. 2012). At the individual level, these data also yielded information about the contribution of each bee to the colony workforce, showing that a small proportion of the foragers (i.e. ‘elite’ bees) is responsible for most of food collection (Klein et al. 2019; Tenczar et al. 2014).

Figure 1.
figure 1

Recording bee behaviour in the hive and at the hive entrance. Bees can be marked with uniquely identified a radiofrequency identification (RFID) tags, b coloured number tags or c 2D bar coded paper tags on their thorax for individual recording of their social interactions (on the comb) and foraging activity (at the hive entrance). c In this example, behavioural tracking was used to analyse honey bee waggle dances. Top left: original image. Top right: pre-processed image. Bottom left: ‘localiser’ step for which the position of the tags is identified. Bottom right: ‘decoder’ step for which the 2D bar code is decoded thus providing the orientation of each individual bee. Red semi-circle indicates the front of the bee, green and blue sections represent the binary code (12 bits) identifying the individual. Picture credits: a and b Tamara Gómez-Moracho, c Wild et al. (2018)

2.5 Nectar and pollen collection

Efficient colony foraging relies on the coordinated activities of up to hundreds of workers to collect water, nectar (main source of carbohydrates) and pollen (main source of protein and fat) in amounts and balances that sustain colony growth and maintenance (Wright et al. 2018). Using motion detection cameras and RFID sensors at the hive entrance, it is possible to identify the type of food (nectar/water or pollen) collected by each forager and how this varies through time. This approach revealed a combined specialisation of bumblebee foragers for nectar and pollen (Russell et al. 2017) as well as the impact of different types of environmental stressors on pollen collection by honey bee foragers (Bordier et al. 2018).

2.6 Social interactions

A honey bee colony contains up to several thousands of workers that must exchange information quickly and reliably for efficient food recruitment. Foragers indicate the location of valuable food resources to their nestmates through the waggle dance (Figure 1c) (von Frisch 1967). Studying dances and the interactions between ‘dancers’ and ‘followers’ that take place all day long in the dark is experimentally challenging. Infrared video recordings combined with post-processing image algorithms now provide solutions to automatically detect and decode these interactions in real time (Wario et al. 2017; Wild et al. 2018), a promising approach to investigate how colonies dynamically exploit resources in complex natural environments. Beyond the waggle dance, extensive analyses of more the 1.2 millions of social interactions in honey bee hives using computer vision revealed that bees do not interact randomly but form social networks characterised by burst interactions that allow for fast spreading of information or food (Gernat et al. 2018).

2.7 Temperature of individual bees

Honey bee workers actively regulate the temperature of the comb on which the brood is located. Infrared imaging of in-hive conditions started to unravel the complex role of food exchange networks in brood comb homeostasis, demonstrating that heating bees that warm up the brood get their fuel (honey) delivered by cooler bees that shuttle between brood and store combs (Basile et al. 2008). Remote thermographic analyses of honey bee hives, using paint to identify individual bees with thermal cameras in glass hives, also revealed caste-dependent sleep patterns, in which older workers generally sleep closer to the perimeter of the nest in colder regions, while younger workers tend to sleep closer to the centre of the nest and spend more time asleep than awake when surrounded by uncapped brood (Klein et al. 2014).

2.8 Vibration and sound

Relatively little is known about the tactile and acoustic communication of bees because vibrational patterns in the hive are complex and diffuse (Sandeman et al. 19961996). Nonetheless, studies using accelerometers inside the wax of the hive frames have begun to explore these phenomena, showing that the amplitude of vibrational oscillations produced by honey bee workers is correlated with the brood cycle of the colony, so that high and low vibrational amplitudes indicate full and empty cells, respectively (Bencsik et al. 2015). Analyses of sound data also revealed a rich acoustic communication in the honey bee hive. Long-term microphone recordings of colonies showed the existence of bee-produced sounds (‘piping’) directed by workers towards dancing bees (Rangel and Seeley 2008). This behaviour is expressed in conditions of stress so that foragers that are attacked at a food source enter in contact with dancing bees that advertise the site and emit the piping danger signal that causes the dancer to stop dancing (Nieh 2010). Modifications of the sounds produced by in-hive honey bees have also been correlated with the presence and absence of a queen in the colony (Cejrowski et al. 2018).

2.9 Crossing data from different measures

Importantly, all these sensors yield complementary information and in many cases only their combined responses can reveal specific biological processes, necessary for a precise assessment of colony status. For example, while a long-term weight loss in a newly founded colony may be first interpreted as a reduction in queen brood production due to unfavourable foraging conditions, its combination with good weather parameters may rather indicate a reduction of colony foraging efficiency, for instance due to an exposure to pesticides or parasites that disorient foragers (Henry et al. 2012) and reduce their activity (Lach et al. 2015). If a gradual colony weight loss is associated with a unidirectional flow of foragers (i.e. foragers leave the hive but do not come back) this is likely linked to pathogens or parasites infections that induce colony avoidance behaviours to limit contagion (Higes et al. 2008).

3 Beyond connected hives: connecting nests, bees and flowers

Recent experimental work has gone a step further by using automated movement tracking systems to monitor the foraging behaviour of honey bees and bumblebees, and combining these technologies with in-hive sensors in order to connect both the inside and the outside of the hives.

3.1 In-nest behaviour and foraging activity

Sensors have been combined to correlate the foraging activity of bees to their in-hive individual experience. Using 2D bar coded paper tags (Figure 1c), the spatial locations and body orientations of all bumblebees in a colony were tracked every 10 min for up to 2 weeks, and their foraging activity was recorded with a motion-activated camera at the nest entrance (Crall et al. 2018a). Artificial removal of foragers in the colony showed that in-nest spatial fidelity and frequent interactions with food storage pots (not nestmates or brood) enhanced the probability of hive workers to become foragers (Crall et al. 2018a). A similar approach was used to measure social interactions among bumblebees, showing that imidacloprid, a common neonicotinoid, affects nursing, social interactions, and nest construction behaviours by workers at sublethal doses (Crall et al. 2018b; Tsvetkov et al. 2017). Recent attempts have been developed to correlate local variations of environmental conditions to changes in behaviour and interactions in honey bee hives (Ngo et al. 2019), thus providing a quantitative tool allowing a real-time assessment of different settings within and outside the hive.

3.2 Foraging activity and spatial behaviour

Other studies combined sensors at the colony entrance and on artificial flowers to link the foraging activity of bees with their spatial movements. For instance, automated tracking of flower visits by bumblebees using RFIDs (Figure 1a) showed that foragers tend to develop routes minimising travel distance between multiple flowers (Ohashi et al. 2007), a behaviour also observed in honey bees (Buatois and Lihoreau 2016). This routing behaviour was later described at larger spatial scales, in the field, using motion sensitive cameras on flowers (Figure 2a) combined with harmonic radar (Figures 2 b and c) to record the 2D flight paths of bumblebees during route formation and stabilisation (Lihoreau et al. 2012; Woodgate et al. 2017).

Figure 2.
figure 2

Recording bee behaviour outside the hive. a Flower visits by bees can be recorded using motion sensitive cameras on artificial flowers. The flight path of a bumblebee equipped with b a harmonic transponder can be recorded with a c harmonic radar. Picture credits: a Mathieu Lihoreau, b and c Joe Woodgate

3.3 Spatial behaviour and social interactions

Automated recording of bee traffic at the nest entrance and bee visits to flowers also gave interesting insights into how multiple bees interact to exploit a common array of flowers. In experimental conditions when two bumblebees forage in the same set of artificial flowers, the most experienced foragers tend to develop a route and remain faithful to it (Ohashi et al. 2008), sometimes chasing away less experienced foragers from flowers (Lihoreau et al. 2016). Presumably, this interference behaviour encourages newly arrived foragers that have little experience of the environment to explore other options, ultimately favouring space partitioning among nestmates and efficient colony foraging (Pasquaretta et al. 2019).

4 Future directions

Methods and technologies for continuous monitoring of bee hives have long been used in fundamental research to monitor selected parameters and address specific scientific questions (Bromenshenk et al. 1996). Since about 15 years, standalone connected hive systems, equipped with sensors, have flourished for improving precision beekeeping (e.g. Bromenshenk et al. 2005). Here we argue that these fast-developing automated colony monitoring systems constitute a powerful yet still under-exploited tool for fundamental research, which can provide new insight for interpreting a wide range of experimental data in different areas of bee biology, not just behaviour and ecology. As we have seen above, sensors can be combined to link individual behaviour inside and outside the hive, with colony performance and environmental conditions (Figure 3). Of course, many important parameters (e.g. parasite loads, pollutants, predation pressure) cannot yet be easily measured with automated devices (Box 1), but it is possible to evaluate them with conventional approaches to complement connected-hives data. Below, we discuss how future developments of connected hive systems will help explore new grounds in several areas of bee research.

Figure 3.
figure 3

Connecting bees, hives and the foraging environment. Hypothetical scheme of a network of connected devices to record bee behaviour inside and outside the hive. Connected glass hive in a field equipped with sensors to collect data about (a) in-hive conditions, (b) colony dynamics and (c) bee foraging activity. (d) Feeding events are recorded by sensors on artificial flowers. (e) Outside conditions are recorded by a weather station. (f) Flight trajectories of individual bees and flower visitations are recorded using a harmonic radar

Box 1. Some missing sensors

New sensors are needed to study the multi-factorial impact of environmental stressors on bee colony health.

1. Predator counter. Invasive predators such as Asian hornets (Vespa velutina) are thought to significantly impact populations of domestic honey bees in Europe and Eastern Asia, but quantitative data are lacking (Monceau et al. 2014). Correlating hornet predation pressure with metrics of bee colony health will bring important answers for the development of population control strategies.

2. Sensor of nutritional quality of pollen and nectars entering the hive. Bees fed synthetic foods in the lab or outside flight cages balance their intake of proteins, carbohydrates, lipids and water at a colony level (Wright et al. 2018). How nutritional balance is achieved in nature, where foods are more diverse and temporarily available, and how this impact colony fitness is still an open question.

3. Pesticides and pollutants sensors. Many products, such as heavy metals, accumulate in the comb. These in hive contaminations may have dramatic effects on bee behaviour and colony growth (Calatayud-Vernich et al. 2019; Crall et al. 2018b; Hladun et al. 2016; Søvik et al. 2015), that remain to be quantified. Various micro sensors for air pollutants already exist and could be adapted to connected hive systems(Choi et al. 2009).

4. Electromagnetic fields sensors. Bees use natural electric fields to forage (Clarke et al. 2013) but artificial (low frequency) fields impair their cognition (Shepherd et al. 2018). Correlating exposure to electromagnetic fields with colony dynamics will inform about the impact of electromagnetic pollution (Wi-Fi, power lines, phones), including communication systems used for connected hives (Rehman et al. 2014), on bee health and pollination.

5. Parasites and pathogens counter. Automated estimation of bee parasite loads, for instance through continuous analyses of the faeces (for gut parasites) or screens at the bottom board of hives (for ectoparasites or fungi) would help understand the impact of these biological agents on bee behaviour and colony health.

6. Cognitive health sensor. Fine-tuned cognition required for foraging on flowers, is a major point of vulnerability for bees facing environmental stressors (Klein et al. 2017). Correlating environmental quality (exposure to stressors) with cognitive scores (by testing large numbers of bees for a variety of specific cognitive tasks using automated setups) will help identify the effects of specific stressors and their combinations on bee cognition.

Behavioural research will benefit from the combination of new automated quantitative approaches to discover and record new behaviours. For instance, while most studies on bee spatial behaviour have focused on how honey bee foragers find one or two food locations and recruit nestmates to these locations (Collett et al. 2013; von Frisch 1967), in nature bees are expected to visit hundreds of flowers per foraging trips, which may require exploiting large numbers of feeding sites simultaneously. How small brained bees efficiently navigate between multiple known locations is a major question in neuroethology with far reaching implications for pollination (Pasquaretta et al. 2017). Studies have begun to monitor the lifelong history of individual bees using harmonic radars (Woodgate et al. 2016). So far, however, this technology is limited to tracking one identified bee at a time. Other approaches such as weather radars (Loper et al. 1987) and light detection and ranging (LIDARs) (Carlsten et al. 2011) have been used to map the spatial density of bees at local scales but do not provide individual data. Bee counters yield data on the foraging activity of all bees at the hive entrance (Klein et al. 2019; Tenczar et al. 2014), but without information about the behaviour of bees outside the hive. Combining these technologies to track the behaviours of multiple individuals simultaneously inside and outside the nest has the potential to bring entirely new information about how bees use resources in space, whether they spatially or temporarily segregate, and how these collective behaviours are linked to colony performance. Ultimately, mapping bee foraging patterns on satellite data (e.g. to discriminate land cover (Gómez et al. 2016), agricultural practices (Bégué et al. 2018)) will yield critical information about which ecological parameters bees use to exploit their large-scale foraging environments.

Connected devices can also yield important insights into social evolution, for instance to clarify the question of interindividual behavioural variability in social insect colonies (Jandt et al. 2014). Bees are known to express behavioural variability based on morphological and physiological differences associated with division of labour. Yet, growing evidences also indicate that individuals from the same caste show strong interindividual behavioural differences, for instance in foraging activity (Tenczar et al. 2014), foraging performance (Klein et al. 2017), speed and accuracy of decision-making (Chittka et al. 2003), and learning and memory (Cabirol et al. 2018). Behavioural differences have also been observed between colonies (Raine and Chittka 2008). Quantification of individual behaviour over long periods of time and across many hives located in different environments, as now possible with connected hives, can be powerful to inform about the mechanisms underpinning such diversity and help identify whether variability is a key adaptation or an emergent social phenomenon.

Automated quantitative approaches can also potentially greatly contribute to advance comparative research on pollinators. While studies using standalone connected hives or specific sensors have primarily focused on honey bees (Wario et al. 2017), and to a lesser extent on bumblebees (Crall et al. 2018a), this methodology is relevant to all central place foraging bees, including other social bees (such as stingless bees) but also solitary bees, that live in a nest in which sensors could be introduced (e.g. cameras, RFIDs). Recent studies emphasise the crucial ecological role of wild bees, whose majority is solitary (Michener 2000), and point out the need for more research on their fundamental biology to better understand the importance of biodiversity for pollination services (Garibaldi et al. 2016).

Another potential major contribution of connected hives is to conservation biology (Box 1). Bee populations are declining in most of the industrialised world (Potts et al. 2010). The main factors of stress have been identified, but the mechanisms triggering colony losses remain unclear (Goulson et al. 2015). This is because many environmental stressors do not kill the bees but have synergistic sublethal effects that impair the behaviour and cognition of individuals (Klein et al. 2017). Accurate characterisation of the environment surrounding hives and the long-term exposure of colonies to different stressors, together with extensive behavioural measures on bees, will offer the possibility to correlate the levels of exposures, the types of stressors and their combinations, which affect populations. Citizen science initiatives interconnecting academic research, private companies and public communities based on the utilisation of connected hives are blooming (e.g. http://worldbeeproject.org/). Ultimately, these approaches will allow researchers to access large amount of data in order to parameterise models of population growth (Becher et al. 2014; Khoury et al. 2011; Thorbek et al. 2017) and identify constructive interventions for improving conservation plans.

As the costs for electronics decrease and the precision and capacity of sensors increases, connected hives will likely become common tools for bee researchers in the near future. Just like glass hives led to major discoveries about in-hive bee biology, a broader usage of connected hives holds considerable promises for addressing new questions about bee behaviour and ecology while increasing the sample sizes, the statistical power of the analyses, and offering the possibility to take into account potential confounding factors such as hive history and environmental conditions in data interpretations. Automated approaches for behavioural quantification (reviewed in Meikle and Holst 2015) and analyses (i.e. behavioural mapping and unsupervised annotation (Brown and de Bivort 2018)) provide a solid toolkit for the development of computational apidology.