Awesome Open Source
Awesome Open Source


HomeAssistant integrated Weather station for ESP8266 powered by fadushin/solar-esp32 solar power charge supervisor, with optional direct to InfluxDB output.

This is a work in progress. This code is meant for a solar power weather station. Mine is built with an ESP-12E module, but any ESP8266 will work. With very few modifications it should work on and ESP32 as well. The board is powered by a LiFePo4 battery and an amazing little (1 inch square) open hardware solar charge module that you can build yourself. See for more details on the solar charger. I am currently using mine with a very small 36x68mm solar panel and it keeps the battery near full all the time, and it recovers to a full charge even on cloudy days.

A BME280 is used to collect temperature, air pressure, and humidity. An ADS1115 is used to collect battery and panel voltage readings from the solar-esp32 module. A 2N2222 transistor is used to cut power to the sensor modules during sleep, assuring as minimal of a power drain as possible. A lux meter will be added soon. I also have plans to add a rain intensity sensor and an anemometer.

Copy conf.h.example to conf.h and edit to set the device details, select Home Assistant and/or InfluxDB output, server addresses, and passwords.

Alternatives To Esp Solmon
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C Plus Plus (236,456
Arduino (30,661
Esp8266 (4,893
Home Assistant (3,666
Influxdb (2,833
Solar (2,397
Weather Station (202