Main Content

Smart plant alerts using nio, Raspberry Pi, and Twitter

Using a Raspberry Pi 3 and a soil moisture sensor, nio sends a tweet mentioning @dale-kylie whenever it’s time to water her plant.

Using nio, I set up my desk plant (aka Keanu Leaves) to tweet me when it needs water. Using a Raspberry Pi 3 and a soil moisture sensor, nio sends a tweet mentioning me whenever it’s time to water my plant.

Difficulty Level:
Easy

Build Time:
Beginner: 1 hrs

Experienced: 20 min

Why would you use nio to create this project?
Even though I see Keanu Leaves on my desk every day, I sometimes forget to water him. Obtaining data from the sensor and setting thresholds to conclude when the plant is getting low on water and when it needs water was very simple with the nio. The most complicated logic necessary for this use case was formatting the tweet. In order to contextualize the tweet’s content, I had to know when the state of the system changed and what the previous state was.”

Link to article