Integration of Sparkfun-style Weather Kit into HA via ESPHome.io

I based mine largely on the code that @mkuoppa was working on, and largely on the hardware/wiring from https://tysonpower.de/blog/esp8266-weather-station and other breakout board similar to the SparkFun board. @pilotak has a github project using an ESP8266 without ESPHome, but I could not get it to compile. He also has .h libraries that should be able to be included in ESPHome for all of the weather calculations (and I mean all, excellent library!)

It’s been running now about 2 months with no issues. I am still tweaking the code and it is accurate enough. Wind speed readings are pretty close to my local PWS. I have not recorded any of the recent 50mph winds we had, even though I had when I first put it in position. This may be either that the software pulse counter cannot keep up in the ESP8266, or the station being placed on my detached garage in a back alley, roughly 15’ in the air. If the wind is from the east or west, it is buffeted by the surrounding houses (all attached). So my current location is not ideal, but I have just got a pair of ESP32’s to play with, adding hardware pulse counter and more ADC for solar/battery monitoring. If all goes well, once I have roof access it’ll be 30’ up on top of the house.

I posted my project on reddit: https://www.reddit.com/r/Esphome/comments/g385ls/wemos_d1_mini_esphome_powered_weather_station/

For the terminal blocks, I used some CAT5e keystones since I had them lying around. RJ11 uses the inside 6 of the RJ-45. Or you could always cut off the RJ11 ends on the sensors. There’s only 6 wires from the unit, with 3 of them being grounds.

I would recommend you give it a try. It works and was fun! Would be happy to answer any questions!

1 Like