A few days ago I started a new project to help me take care of my peppers. Winter is coming ( pun intended ) and unfortunately it’s a bit harsh here in Portugal for people who likes to grow peppers, specially tropical strains that are used to good weather.
For that reason, it all started as simple thermostat that could tell me the temperature over the internet but soon lots of other ideas started to pop up in my mind. So I started developing a tiny appliance that could allow me to control a few things and that’s how this project started.
I don’t plan on creating something super fancy and for that reason these are the initial hardware requirements:
- DHT11 – Temperature and Humidity sensor
- Digital light sensor
- 3v Relay module with four relays
- 16×02 LCD module with an I2C adapter
The idea is very simple: The NodeMCU will create a tiny web api that can be used to retrieve data about the sensors and trigger the relays. That information can also be seen on the LCD so that you can check the sensors when you enter the greenhouse.
The webapp will output the information in json format so that you can easily integrate it with another application.
I’ll post the rest of the howto in the next days but feel free to check the repository containing the code. If you can contribute with ideas or some code, feel free to!