m5stack Fire v2.6 Living Room Clock and environment sensor
I've been at this for a while and it's a fun project. It essentially shows current Time (sync'd via NTP), weather conditions (courtesy of OpenWeatherAPI - where i pre-downloaded all the logos to flash and simply identify weather status with the corresponding icon), and gave use to the RGB LEDs to make it breathe (although it's a bit asmatic).
First real dive onto Micropython.
Goals/implemented
Using an M5stack Fire v2.6
- NTP syncd table clock
- Current weather (temp/wind speed)
- Forecast
- Icon
- temp/wind/textual description
- breathing LED - color according to forecast conditions
- w/ protoboard addon
- CO2 sensor (MH-Z19b)
- BH1750 lux sensor
- BME280 temperature/humidity/pressure

TODO
- Learn how to code properly.
- MQTT integration
- Improve breathing algorithm using - truly breathing function
which can be summarized as
import math
val = (math.exp(math.sin(time.ticks_ms()/2000.0 * math.pi)) - 0.368) * 108.0;
Code is available on my GitHub (please excuse every single line of "code" - mind the quotes)