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: actions. Actions are basically conditions that you can set on your feeds, for example to link two feeds.
We'll define a new reactive action from the Actions section of Adafruit IO, linking our fingerprint & lock feeds:
Here is how it should look like with both actions 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!