Skip to content

dvintel/rsp-sw-toolkit-im-suite-food-safety-service

 
 

Repository files navigation

Intel® Inventory Suite Food Safety service

license

Food safety service is a sample application that demonstrates how to combine Intel® RSP sensor data with a third-party temperature sensor from EdgeX platform to determine arrival of assets to a specific location (freezer) and ambient temperature of the area. This application also leverages EdgeX Alerts & Notification service to notify users via email.

Food Safety

Getting Started

Dependencies

Software

  • docker
  • docker-compose
  • Intel rsp-sw-toolkit-gw
  • Intel inventory-suite
  • Intel Tempo Device Service
  • EdgeX Edinburgh release

Assumption is that Intel© RSP and temperature sensor are already configured and sending data to EdgeX.

Build Instructions

Compile the Go source code, create the docker image, and start the docker-compose service

sudo make -j iterate

The first time you run this it may take quite some time. Grab some ☕.

To stop the docker services gracefully, simply press Ctrl-C in your terminal. Press Ctrl-C a second time to kill the containers.

Configuration variables

  • freezerReaderName Name of the Intel® RSP readers for destination.
  • emailSubscribers String comma separated of emails to receive notifications. Example: "your@email.com,your@email2.com"
  • trackingEPCs String comma separated of EPC tags that want to be tracked. Example: "30143639F8419145BEEF0000,30143639F8419145BEEF0001"
  • temperatureSensor EdgeX's device name of the temperature sensor for ambient temperature value.

Application Flow

  • Subscribe to EdgeX core data via EdgeX's Apps function SDK to receive inventory_event and temperature messages.
    • When an EPC tag moves to the freezerReaderName an email is sent out that the item arrived its destination along with the current ambient temperature of the area.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.0%
  • Makefile 7.8%
  • Dockerfile 6.4%
  • Shell 1.8%