Integrated Pest Managment

Architecture

---
title: Taxa
---
graph TD;
    DTN(DiversityTaxonNames) -->|Transfer extract of valid data in cache table<br>procFillTaxonName_Cache| CacheTable[Table <u>TaxonName_Cache</u><br>NameID int<br>JSON nvarchar]
    CacheTable --> API
    API --> Lists{separation of data <br>according to Lists}
    Lists --> Pests[Pests]
    Lists --> Bycatch[Bycatch]
    Lists --> Beneficials[Beneficials]
    Pests --> UPests[User selects pests<br>present in collection<br>Selection is stored in app]
    Bycatch --> UBy[User selects taxa<br>that should be recorded<br>Selection is stored in app]
    Beneficials --> UBene[Selected along with<br>application in collection]

Data recording

IPM covers several areas as shown in the mindmap below

mindmap
  IPM
  ::icon(fa fa-bug)
    Lists of Taxa
    ::icon(fa fa-list)
        API: JSON
        ::icon(fa fa-cloud)
            DTN
            ::icon(fa fa-database)
    Floor plan
    ::icon(fa fa-map)
    Prometheus time series database
    ::icon(fa fa-fire)
      Sensors
      ::icon(fa fa-thermometer-half)
    Traps
    ::icon(fa fa-cat)
    Treatment
    ::icon(fa fa-broom)

Taxa

API

The taxon lists are provided by the module DiversityTaxonNames. The data are collected in a cache table and provided via an API as json. The module provides 3 lists.

mindmap
  DTN 
  ::icon(fa fa-database)
    Cache
    ::icon(fa fa-table)
        API: JSON
        ::icon(fa fa-cloud)
            Pests
            ::icon(fa fa-list)
            Bycatch
            ::icon(fa fa-list)
            Beneficials
            ::icon(fa fa-list)

Local lists

The taxa are sorted according to their hierarchy including their stages etc. In the user interface the taxa are grouped according to group defined in DTN that correspond to higher taxa. From every list the user can decide which taxa and their stages, remains etc. should be included in the local list for selection

mindmap
  DiversityTaxonNames containing Taxa 
  ::icon(fa fa-database)
    Cache containing JSON extract of valid taxa
    ::icon(fa fa-table)
        API: JSON
        ::icon(fa fa-cloud)
            Taxa as provided by API
            ::icon(fa fa-list)
                Sorting according to hierarchy
                ::icon(fa fa-sitemap)
                    Local list as selected by the user
                    ::icon(fa fa-check-square)

Plan

The floor plan for the collection provides the position of traps and sensors within the collection.

mindmap
    Floor plan including scale
    ::icon(fa fa-map)
        Rooms within the collection. Calculation of area and volume on base of scale
        ::icon(fa fa-vector-square)
            Sensors and routers and their position
            ::icon(fa fa-thermometer-half)
            Position of traps
            ::icon(fa fa-cat)

Traps

mindmap
    Trap
    ::icon(fa fa-cat)
        Position according to plan
        ::icon(fa fa-map-marked-alt)
        Position within the collection hierarchy
        ::icon(fa fa-database)
        Type of the trap
        ::icon(fa fa-newspaper)
        ID corresponding to trap
        ::icon(fa fa-barcode)
        Adhesive sheets
        ::icon(fa fa-border-none)
            ID for every adhesive sheet
            ::icon(fa fa-barcode)
        Collecting the data
        ::icon(fa fa-user)
            Mobile application
            ::icon(fa fa-mobile)
                Images of whole trap
                ::icon(fa fa-images)
                Images of single pests
                ::icon(fa fa-search)
                Images of previous samplings
                ::icon(fa fa-file-image)

Sensors

mindmap
    Sensor
    ::icon(fa fa-thermometer-half)
        Device collecting bluetooth signals of sensors
        ::icon(fa fa-microchip)
            LoRaWan sender forwarding the sensor data
            ::icon(fa fa-broadcast-tower)
                Receiver collecting data and storing data in a timeseries database
                ::icon(fa fa-wifi)
                    Application transferring data from timeseries databases in central database
                    ::icon(fa fa-database)

Report

Reports provide a summary of all IPM related data in a certain time range

mindmap
    Report
    ::icon(fa fa-list)
        Development over time
        ::icon(fa fa-chart-bar)
            Sensor data: Temperature, Humidity, ...
            ::icon(fa fa-thermometer-half)
            Pests
            ::icon(fa fa-bug)
        People involved in administration and in collecting the data
        ::icon(fa fa-users)
        Floor plan including locations of traps and sensors
        ::icon(fa fa-map)
        Treatments of the collection
        ::icon(fa fa-broom)