An ESP32 module collecting measures from various sensors. The measures are then send frequently over MQTT as JSON output. The system is currently supporting a resistor to measure an equivalent of the light intensity and the wind speed.
{ "max_wind" : 0.000000, "avg_wind" : 0.000000, "light" : 0}The goal is to have the device with the probe exposed outdoor. There are also some battery life saving measure in the code (disconnecting from Wifi when unsused, disabling Bluetooth)
For now, the tool was only tested on this ESP-32 board

It is a very simple board with only 2 10k Ohms resistors, one photoresistor and the anemometer.

The best success is to use PlatformIO. Go to https://platformio.org/ and download the IDE. Just open the folder and you can compile the Firmware. Here is a Video tutorial in german language how to install the software.
- PubSubClient by knolleary
Change your configuration in settings.h