This project measures the wind in km/h and reports the value via MQTT. I used that for retrieving my blind if the wind is 4 BFT (20 km/h) or higher.
The following hardware is used for building this project:
- ESP8266 (Wemos D1)
- Eltako Windsensor (http://amzn.to/2ps1Tte - German Amazon)
I connected the anemometer with the D7 and GND Pin of my Wemos D1. But it can be all other suitable Pins used.
For using this software you have to copy the myconfig_samples.h to myconfig.h and change the values for the MQTT server and the WLAN settings.