Salesforce Smart Refrigerator
Asset Monitoring is an important horizontal solution for IoT. This project is an example of a retrofit Asset Monitoring use case using an Electric Imp–powered device and the Electric Imp IoT Connectivity Platform. In this example, the asset you are monitoring is a refrigerator—integrating current temperature, humidity, and fridge door status information with Salesforce IoT. You analyze real-time data with Salesforce to detect anomalous conditions and create business processes within your Salesforce org.
The project can be completed using one of two Electric Imp–powered devices—the impExplorer™ Kit or Battery Powered Sensor Node (BPSN). The device in this example reads temperature and humidity data from its onboard sensors, and sends those readings to Salesforce IoT using Platform Events. The device also senses light and uses this to determine whether the fridge door is open (bright light) or closed (no light). The light-level reading is also sent to Salesforce using Salesforce IoT Platform Events.
Salesforce stores the incoming data and opens a Case using IoT Explorer Orchestration if one of the following occurs.
- The refrigerator door is open for longer than a predefined period.
- The temperature rises above a predefined threshold.
- The relative humidity rises above a predefined threshold.
All thresholds are defined later when you set up the IoT Explorer Orchestration.
Step 1: What You Need
- Your Wi-Fi network name (SSID) and password.
- A smartphone (iOS or Android).
- A computer with a web browser.
- An Electric Imp developer account.
- The Electric Imp mobile app (iOS or Android).
- A Salesforce Developer Edition or Trailhead Playground org account.
- An Electric Imp impExplorer Kit or Battery Powered Sensor Node.
- Three AA batteries (to run the board from inside a fridge).
This project uses either the impExplorer Kit or the Battery Powered Sensor Node (BPSN) hardware, both of which are part of Electric Imp’s IoT QuickStart family of devices. This family of devices includes off-the-shelf hardware and reference designs and helps enterprises move quickly from proof of concept (PoC) to market-ready solutions.
Because the Electric Imp platform abstracts away the underlying hardware, the same IoT software can run on both devices. The majority of IoT projects start with a PoC and eventually move to a production-grade product. Electric Imp’s technology makes that migration seamless. By moving from prototype to mass deployment on the same underlying platform, you can minimize complexity, risk, cost, and time to market.
This kit uses the imp001, which contains an STM32 MCU and Cypress Wi-Fi radio in an SD card form factor. The module is EOL for commercial production, but uses the Electric Imp platform, so application code can easily be ported to the newer imp modules. This device contains onboard temperature, humidity, accelerometer, and air pressure sensors, and has Grove connectors for easy expansion.
Battery Powered Sensor Node (BPSN)
The Battery Powered Sensor Node is a completely housed environmental-sensing package to help you quickly develop and refine data-gathering modules. It is powered by a solder-down imp003, which has a newer STM32 MCU and Cypress Wi-Fi radio. In addition to onboard sensors for metrics including temperature, humidity, air pressure and motion, the unit also supports the addition of 1-Wire®, UART, and I²C interface devices. This kit is appropriate for power sensitive applications as it’s able to operate for years at a time from standard AA batteries.
We won’t check any of your setup. Click Verify Step to go to the next step in the project.