Skip to content

Releases: byte4geek/weatherstation

Release v1.0.7

Choose a tag to compare

@byte4geek byte4geek released this 11 Sep 12:13

🌧️ WeatherStation Firmware v1.0.7

Patch release introducing persistent Daily Rain and Rolling 1-Hour Rain History preservation across sudden reboots, power cuts, or WDT resets during storms.

🚀 What's New & Fixed

  • 🌧️ Persistent Daily Rain (daily_rain):
    • day_start_tips and rain_day_key are now stored in NVS Flash memory (Preferences).
    • Upon reboot (due to storm EMI, watchdog, or power cycle), daily rain is immediately restored to the exact millimetres accumulated since midnight.
  • ⏱️ Timestamped 1-Hour Rain History Preservation (hourly_rain):
    • The 60-minute rain history buffer and timestamp are periodically persisted to Flash.
    • Upon reboot and NTP time sync, the firmware calculates elapsed offline minutes and shifts/restores the pre-reboot hourly rain array automatically.
    • Improve stability to avoid crash on memory heap.
  • 🧹 Updated Counter Resets:
    • Web UI and CLI /api/clear_counters properly reset persistent day start tips and clear stored NVS rain history buffers.

📦 Release Assets

  • WeatherStation_v1.0.7.bin: Compiled binary firmware ready for OTA updates or serial flashing.

Release v1.0.5

Choose a tag to compare

@byte4geek byte4geek released this 09 Sep 08:31

🌤️ WeatherStation Firmware v1.0.5

Stable release introducing 10-minute wind gust calculation, solar radiation estimation (W/m²), daily minimum/maximum temperature tracking with configurable reset time, and dynamic firmware version rendering in the Web UI.

🚀 What's New

  • 💨 10-Minute Wind Gust (gust_10m_kmh):
    • Automatic rolling calculation of peak wind gusts recorded over the last 10 minutes.
    • Integrated into the Wind widget on the Web GUI and exposed via REST API (/api/status).
  • ☀️ Solar Radiation (W/m²):
    • Automatic conversion from Lux illuminance readings to Solar Irradiance (W/m²).
    • Displayed inside the Lux widget on the Web GUI.
    • Telemetry support for weather cloud services (Weathercloud, Weather Underground, etc.).
  • 🌡️ Daily Min & Max Temperature (Tmin / Tmax):
    • Continuous tracking of daily minimum and maximum temperature extremes.
    • Customisable daily reset hour in Settings under Anemometer (Wind) Parameters (default: 00:00).
  • 🏷️ Dynamic Web UI Version Badge:
    • The Web UI version badge (c_val_ver) is now fetched dynamically from /api/status, eliminating manual HTML version updates for future releases.

🔧 Improvements & Fixes

  • 🌐 Weather Cloud Services:
    • Modular upload architecture supporting multiple cloud providers (Weather Underground, PWSWeather, CWOP, Weathercloud, Windy, AWEKAS, WOW-BE).
    • Added per-sensor feature flags to selectively toggle individual telemetry fields per provider.
    • Fixed BearSSL memory allocation issues (OOM fix) during HTTPS uploads on ESP8266.
  • 📚 Documentation & API Reference:
    • Updated README.md and RESTAPI_REFERENCE.md with the new API schema and configuration options.

📦 Release Assets

  • WeatherStation_v1.0.5.bin: Compiled binary firmware ready for OTA updates or serial flashing.

WeatherStation v1.0.4

Choose a tag to compare

@byte4geek byte4geek released this 20 Aug 16:37

🚀 Release v1.0.4 - ENS160 Hardware Diagnostics, Pure English DST & Complete Assembly Documentation

We are excited to announce v1.0.4 of the DIY Smart Weather Station! This release introduces advanced hardware diagnostics for the ENS160 air quality sensor, pure English localization for timezone/DST settings, complete REST API documentation, and comprehensive mechanical assembly guides contributed by the community.


⚡ What's New & Highlights

🔬 1. ENS160 Air Quality Diagnostics & Baseline Reset

  • reset_ens160 Console & API Command: Allows triggering an immediate hardware baseline wipe (0xCC Clear Baseline + 0xF0 Soft Reset) via I2C without needing to reboot the NodeMCU (POST /api/command -d "cmd=reset_ens160").
  • ens160_diag Hotplate Diagnostic Command: Added a new diagnostic command (POST /api/command -d "cmd=ens160_diag") to query raw hotplate resistances ($RS_0, RS_1, RS_2, RS_3$) for verifying physical sensor health.
  • Delta-Threshold Compensation Writes: Temperature and humidity compensation is now written to ENS160 registers only when environmental values change noticeably ($\Delta T \ge 0.2^\circ\text{C}$ or $\Delta H \ge 1.0%$), eliminating unnecessary I2C bus traffic.
  • UI Warm-up Indicator: Web Dashboard now explicitly displays Warming Up... during the sensor's mandatory 3-minute initial warm-up phase instead of Unknown.

🌍 2. Web UI & Localization Fixes

  • Pure English DST Settings: Removed Italian localization (Ora Legale) from the Settings dropdown for consistent pure English UI (Disabled (Standard Time +0h) / Enabled (Daylight Saving +1h)).
  • Version Badging: Synchronized version badges across Web UI, REST API (/api/config), and firmware defines to v1.0.4.

📖 3. Documentation & Community Contributions (PR #4 by @dajomas)

  • Assembly.md: Step-by-step mechanical assembly guide, 3D printing parameters (PETG/ASA), bearing degreasing instructions, and rain gauge calibration walkthrough.
  • BoM.md: Complete Bill of Materials detailing core electronics, mechanical fasteners (M3/M8), bearings, magnets, and spare parts.
  • RESTAPI_REFERENCE.md: Detailed documentation for all 15 REST API endpoints, with cURL, Python 3, and Home Assistant integration examples.
  • Wiring Diagrams: Added schematic wiring diagram embeds to README.md and GALLERY.md.

📦 Downloads & Binaries

  • Firmware Binary: WeatherStation_v1.0.4.bin (Ready for USB / OTA Web Flash)
  • Source Code: Available as ZIP / Tarball in assets below.

Thank you to @dajomas for contributing Assembly.md and BoM.md in PR #4!

WeatherStation v1.0.3

Choose a tag to compare

@byte4geek byte4geek released this 07 Aug 12:10

Timezone & Daylight saving support added

WeatherStation v1.0.2

Choose a tag to compare

@byte4geek byte4geek released this 06 Aug 13:46

Added compact UI function

WeatherStation v 1.0.1

Choose a tag to compare

@byte4geek byte4geek released this 06 Aug 12:06

In this release i added the support for the Imperial units.

WeatherStation v1.0.0

Choose a tag to compare

@byte4geek byte4geek released this 22 Jul 14:43

First Release