Node.js code for the Plant Guardian Project.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Plant Guardian

The project aims to create a simple watcher that keeps tabs on plant moisture and let's you check it in real time using your phone. It's based on an Arduino Nano, Raspberry Pi and some analog soil moisture sensors. Of course, you could head out and buy some pre-made device for this, but it's more fun building it yourself. This is the Node.js code for the main application. For the Arduino code, please check this repository.

This was developed in partnership with Conrad in their efforts to showcase makers around Sweden. I would therefore like to thank them for providing the hardware used in this project. Please also check out their website for more interesting projects.


Clone the repository to a folder of your liking and use the following command to start the software:

npm run server

Build guide

Please refer to this link for a complete description on how and where to use this software.

Supervisor job

If you wish to have the software running all the time, you can use Supervisor to accomplish this. This is the configuration file that I use. It should be placed in /etc/supervisor/conf.d and named guardian.conf or similar.

command=npm run server

Finished product

This section will in time be updated with a video of the final build and product.