Testing the Project

It's now time to finally test our project! First, go to your Adafruit IO dashboard, in the Feeds section. You need to check that the fingerprint & lock feeds have been created by your sketches:

If that's not the case, you'll need to create them manually.

Then, we still need a way to link the fingerprint feed, and the lock feed. We want the lock feed to take the '1' value when the fingerprint feed goes to 1, and vice-versa. 

For that, we'll use a very powerful feature of Adafruit IO: triggers. Triggers are basically conditions that you can set on your feeds, for example to link two feeds.

We'll define a new reactivr trigger from the Triggers section of Adafruit IO, linking our fingerprint & lock feeds:

Here is how it should look like with both triggers in the Adafruit IO dashboard:

Once that's done, you can actually test the project! Make sure that both parts of the project are working correctly. Then, put the finger that you enrolled before on the fingerprint sensor.

You should see a little light coming up on the Arduino board, meaning that data was transmitted to Adafruit IO. Then, very shortly after, you should see blinking light on the ESP8266 board, meaning data was received via MQTT. The LED should also light up immediately. 

After the delay you set in the code (10 seconds by default), you should see that the LED will go off again. Congratulations, you are now able to control the LED with your fingerprint, even if both projects were on the other side of the world!

This guide was first published on Sep 17, 2015. It was last updated on Sep 17, 2015. This page (Testing the Project) was last updated on Jul 19, 2019.