My roommate sometimes leaves the door to the fridge open, so the fridge has big power consumption and it makes the frosting. I put my Smart Fridge Monitor in there so I always know about the temperature and also get a notification if he leaves it open for too long so I can close it.
I used HARDWARIO IoT Kit technology, they already have firmware that is suited for this solution, so I just customized the flow in the Node-RED and it was all set up. My device runs just on two AAA batteries, it can work for up to two years.
1. Build HardwareConnect Core Module with your Mini Battery Module, then connect Climate Module to it.
If you have trouble assembling the device you can watch the video below for complete guide. But it should be simple for anyone.
For more information about all the modules you can visit Documentation.
2. Flash firmware- Download HARDWARIO Playground.
- If you bought the ClimateMonitor Kit you will receive the Core Module with the firmware on it.
- Otherwise you can see documentation page on how to flash the firmware with HARDWARIO Playground.
- You will need the bcf-radio-climate-monitor firmware for this project.
- Here you just click Flash firmware and wait. After it is done, unplug the Core Module from the computer and you are ready to continue.
You need to pair the Core module with the Radio dongle that you are using, follow the instructions below to see how it is done.
The same thing will go if you are using a Raspberry Pi as a server, just access the Raspberry through the IP address instead of the Playground
- Connect your USB Radio Dongle to your computer.
- Open HARDWARIO Playground
- Click Start Pairing the LED on the dongle should start blinking
- Connect the device that you want to pair into your computer or insert the batteries.
- Wait for the device to appear in the table
- It should add the device with the Alias: climate-monitor:0
- Click Stop Pairing
After you did all this you can unplug the device from the computer and insert the batteries, it will run on them without a problem. Next steps will be done on the computer, so you can leave the device and focus on the Playground.
4. Import functionOpen Node-RED in Playground (Functions tab) or on your Raspberry Pi and import this simple function from the Attachements. Just copy everything, go to Menu -> Import -> Clipboard and paste it there.
After Import hit Deploy in the top right corner to upload the change.
In this function you can change the message that will appear when the doors are open for too long. You can also change the time before you are notified that they are still open. Go to Open doors checker function and change the marked value. Time will be the value times 5 seconds.
This project is ready for Blynk integration. How to set up Blynk with your HARDWARIO Playground is described in this guide.
Follow the guide if you want to make your own blynk app. If you want to use the one specified for this project in the Blynk app click this Icon and scan the QR code bellow.
In this blynk application, you see the temperature in your fridge and get a notification when the fridge is opened for too long, also if the led is on the fridge is still open.
6. Insert your device to the fridgeJust put your device into the fridge and let the temperature settle down, after a while you will see the correct numbers.
If you have everything done you can get one of the 3D printed enclosures.
You can also put this device into the freezer, it can handle sub-zero temperatures.
I will be happy for any suggestions or ideas about this project.
Feel free to ask and I will try to answer any question.
- Visit HARDWARIO page on hackster.io for more interesting projects or go directly to their website
- Go to HARDWARIO documentation to learn more about their modules and other possibilities of the platform.
- Try more firmware from HARDWARIO Playground or write your own, it is easy to start.
- Because everything is Open source you can get all firmware on GitHub, get some inspiration and try to make your own applications.
- Get your own HARDWARIO Hub to replace your computer in this project so you have always access to your applications.
- Check out more applications that can be used with HARDWARIO IoT Kit in Integrations section.
Comments