Smart Washing machine
Introduction
Raise the IQ of your family washing machine. 🤖 Using the IoT box, programme a notification to let your parents know that the load has been finished.
In this project, you will learn to set up the box so that it recognizes when the washing machine is finished and sends a notification to the mobile. 📱 👈
All you need is the box with the button and the USB dongle. You will be all set with the basic HARDWARIO kit - the Start Set.
Download new firmware
- Upload new firmware to the Core Module - bcf-radio-washing-machine-monitor (you will find it among other firmware in the Playground). Thanks to this firmware, the box will be more sensitive 1to vibrations of the washing machine. 🔃
Our tip: If you don’t know how to download the firmware or what it is, you will find out here.
- Pair the Core Module with the USB Dongle Right after pairing it, you will see that your Core Module changed Alias to washing-machine-detector. 👌

Get it started in the Node-RED
- In the Playground, click on the Functions tab, where the Node-RED programming desktop is located. 🤖
- Start as usual: first, place the MQTT node from the Input section on the desktop.
Double-click on it and copy Topic in the field. With this, the box will know when the washing machine stops shaking:
node/washing-machine-detector:0/washing/finished

Confirm it with the Done button.
- Place the Change node from the Functions section next to it.

- Inside the Change node, set up a message that will be sent to your parents’ mobile after the washing is done. The message should be free of diacritics.
Here’s a little inspiration:
- There’s clean laundry for you.
- I am finished. Do I get a week holiday now?
- Done and leave me alone. Your washing machine.

Confirm it with the Done button.
Prepare the Blynk IoT app
-
If you don’t have one yet, create an account in the Blynk IoT app. See this guide for how to do it — it also covers how to create templates and datastreams. You’ll need both.
-
The second step is to create a device template. You’ll find how to do it in the same guide. You can also reuse a template from previous projects if you have one.
-
Now set up a new Datastream. On the template detail, click the Datastreams tab. In the top right, click Edit. A + New Datastream button appears — click it, choose Virtual Pin, and a dialog opens:

-
Set a name for the new Datastream and pick one of the free Pins. We’ll want to send your own custom message in the mobile notification, so choose the String data type (a text string).
-
At the bottom of the dialog, also expand Advanced settings and tick the last option, Expose to Automation, so we can use it in automations. In the selector next to it, choose Sensor and also tick Available in Conditions. Create the Datastream by clicking Create.

- In the top right, save your work with the Save button.
Create a device
If you don’t have one yet, create a device from the template you made. We describe how to do it in the guide you already know.
Create an automation
- Switch to the Automation section and click the + Create Automation button.

- From the available options, choose Device State. The automation evaluates every time you send a message to the app.

-
Setting up the automation is simple: you set when the automation should run — the When section — and what should happen next — the Do this section.
-
First, set up the When section. Choose your device and the Datastream you created. A third selector appears; leave it set to Is Any.
-
In the Do This section, click Send app notification and set the recipient. To keep it simple, set yourself. Into the Subject and Message fields, drag the Trigger value item with your mouse — it’s the variable that holds the text of your message.
-
Finally, don’t forget to set the automation name. In the Limit period select, you can limit how soon the next notification can arrive after one is sent.

- Save the automation by clicking Save.
Set up your mobile
-
It’s time to steal your mom’s or dad’s mobile and set up their own Blynk IoT. If you don’t know Blynk yet, check out the guide.
-
In Blynk, sign in with your account.
Finish the programming
- Go back to your computer. On the Node-RED canvas, add a green Write node after both nodes. You’ll find it on the left under the Blynk IoT section (Careful! Not Blynk ws).

- Double-click the node. Then click the pencil. ✏

- A window has opened for pairing with Blynk. Here set the Url to
blynk.cloud, and into the Auth Token and Template ID fields copy the values from the device detail in the web app on your computer.

Confirm the settings with the Add button.
-
Fill in the virtual Pin number of the Datastream you created and save everything with the Done button.
-
All that’s left is to connect it and send a command to the space with the red Deploy button on the top right. 👏

Give it a spin!
-
Put the box on the washing machine. Stick it with a small piece of tape to prevent it from falling.
-
The box will recognize when the washing machine finishes, because it will stop shaking. It will send a message to your mom’s or dad’s mobile. Cool, huh? All of a sudden, you are living in a smart household! 🤡
