Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Digital Squads: IoT and Smart Farms

Digital Squads: IoT and Smart Farms

Michel Fernandes

November 28, 2018
Tweet

More Decks by Michel Fernandes

Other Decks in Technology

Transcript

  1. … then escalate MESHILIUM WASPMOTE + SOLAR PANEL ANEMOMETER, PLUVIOMETER,

    WIND VANE SOIL MOISTURE, TEMPERATURE, HUMIDITY, PRESSURE, WATER TEMPERATURE, SOIL TEMPERATURE, SOLAR RADIATION, LEAF WETNESS
  2. Logic Apps start by a periodic polling or triggers (integration,

    webhook or request) each action is run under flows
  3. Stream Analytics [{"data":[{"id_wasp":"SAG_SAP01","id_secret":"0D3CAAE80593E458","sensor":"PAR","value":"0.0","datetime": "Nov 26, 2018 10:23:39 AM"},{"id_wasp":"SAG_SAP01","id_secret":"0D3CAAE80593E458","sensor":"SOILTC","value":"23.3197","datetime ":"Nov 26,

    2018 10:23:39 AM"},{"id_wasp":"SAG_SAP01","id_secret":"0D3CAAE80593E458","sensor":"LW","value":"0.14024353","datetime" :"Nov 26, 2018 10:23:39 AM"},{"id_wasp":"SAG_SAP01","id_secret":"0D3CAAE80593E458","sensor":"SOIL_C","value":"59.97361","datetim e":"Nov 26, 2018 10:23:39 AM"},{"id_wasp":"SAG_SAP01","id_secret":"0D3CAAE80593E458","sensor":"PRES","value":"93502.94","datetime" :"Nov 26, 2018 10:23:39 AM"},{"id_wasp":"SAG_SAP01","id_secret":"0D3CAAE80593E458","sensor":"HUM","value":"54.819336","datetime" :"Nov 26, 2018 10:23:39 AM"},{"id_wasp":"SAG_SAP01","id_secret":"0D3CAAE80593E458","sensor":"TC","value":"19.33","datetime":"Nov 26, 2018 10:23:39 AM"},{"id_wasp":"SAG_SAP01","id_secret":"0D3CAAE80593E458","sensor":"BAT","value":"87","datetime":"Nov 26, 2018 10:23:39 AM"}],"EventProcessedUtcTime":"2018-11- 26T17:21:27.6060983Z","PartitionId":1,"EventEnqueuedUtcTime":"2018-11- 26T12:21:55.7500000Z","IoTHub":{"MessageId":null,"CorrelationId":null,"ConnectionDeviceId":"SAG_SAP01"," ConnectionDeviceGenerationId":"636736569187823396","EnqueuedTime":"2018-11- 26T12:21:55.6090000Z","StreamId":null}} iot messages translation (standarization)
  4. Stream Analytics "SAG_SA01" "122367057C105480" "WV" null "SW" "2018-11-26T07:40:00.0000000Z" "SAG_SA01" "122367057C105480"

    "PLV3" "0.00" null "2018-11-26T07:40:00.0000000Z" "SAG_SA01" "122367057C105480" "PLV2" "0.00" null "2018-11-26T07:40:00.0000000Z" "SAG_SA01" "122367057C105480" "PLV1" "0.00" null "2018-11-26T07:40:00.0000000Z" "SAG_SA01" "122367057C105480" "ANE" "0.00" null "2018-11-26T07:40:00.0000000Z" "SAG_SA01" "122367057C105480" "LW" "0.000" null "2018-11-26T07:40:00.0000000Z" "SAG_SA01" "122367057C105480" "SOILTC" "22.31" null "2018-11-26T07:39:59.0000000Z" "SAG_SA01" "122367057C105480" "SOIL_B" "1061.57" null "2018-11-26T07:39:59.0000000Z" "SAG_SA01" "122367057C105480" "SOIL_C" "1879.70" null "2018-11-26T07:39:59.0000000Z" "SAG_SA01" "122367057C105480" "PRES" "93378.92" null "2018-11-26T07:39:59.0000000Z" "SAG_SA01" "122367057C105480" "HUM" "59.4" null "2018-11-26T07:39:59.0000000Z" "SAG_SA01" "122367057C105480" "TC" "19.04" null "2018-11-26T07:39:59.0000000Z" "SAG_SA01" "122367057C105480" "BAT" "96" null "2018-11-26T07:39:59.0000000Z" the output standarized is stored in SQL db
  5. Notifications for now, we need to water the plants, but

    only if they need CHIKORITA HAS 1,18% OF UMIDITY FROM THE SENSOR #2, PLEASE, WATER IT. COLLECTED AT 11/26/18 12:08 SNIVY HAS 36,36% OF UMIDITY FROM THE SENSOR #2, PLEASE WATER IT. COLLECTED AT 11/26/18 12:09