Adafruit IO is a service to send data to and be able to perform actions or visualize data. The basic tier is free. You can learn more in the guide below.
Freezer Alarm Project Setup
Open Adafruit IO and log in to your account. Start a new project and follow the steps below:
You will need top create 5 feed keys for the code:
- Alarm
- Door 1
- Door 2
- Motion
- Alarm Resolved
You also will be creating two IO Actions:
-
Alarm - send alarm notification
-
Alarm Resolved - send resolved notification
Setup the Dashboard
Create a new Dashboard
- From Dashboard Settings select Create New Block, add a line chart for the last 2 hours for the motion feed, check Stepped Line.
- From Dashboard Settings select Create New Block, add a line chart for the last 2 hours for the door feeds, check Stepped Line.
- From Dashboard Settings select Create New Block, add an indicator for motion, make sure to set the Conditions as < 1. Use the Test Value to make sure 0 is green and 1 is red.
- Repeat step 4 for the both doors and alarm feeds.
If you make more than one alarm double up on the indicators and combine the line charts
- From Dashboard Settings select Create New Block, add a line chart for the last 2 hours for the motion feeds, check Stepped Line
- From Dashboard Settings select Create New Block, add a line chart for the last 2 hours for all of the door feeds, check Stepped Line
- From Dashboard Settings select Create New Block, add indicator for a motion sensor, make sure to set the Conditions as < 1.
- Repeat step 3 for all motion sensors, doors, and alarms
Text editor powered by tinymce.