Skip to content

## πŸ”§ [2.0.2] β€” 2026-07-17

Choose a tag to compare

@smogaone smogaone released this 17 Jul 13:25
· 3 commits to main since this release
a91c44a

πŸ”§ [2.0.2] β€” 2026-07-17

✨ Added

  • MQTT: 4 new sensor topics β€” temp_min_today, temp_max_today, hum_min_today, hum_max_today are now published every 30 s and registered via HA auto-discovery
  • MQTT auto-discovery extended β€” discovery now registers 9 sensors (previously 5); new entities appear in Home Assistant automatically without any manual configuration

πŸ› Fixed

  • Compiler warning: format specifier mismatch β€” uint32_t variables in uptime formatting now correctly use (unsigned int) cast; eliminates all -Wformat= warnings on ESP32 toolchain where uint32_t resolves to long unsigned int
  • Buffer overflow warning: port_str β€” increased from [8] to [16] bytes in custom_mqtt.h; eliminates -Wformat-truncation= warning for port numbers
  • Unused function warnings β€” keep_alive() and disconnect() in custom_mqtt.h marked with __attribute__((unused)); reserved for future use

ℹ️ Notes

  • Firmware version string updated to 2.0.2 (visible in web interface)
  • No display or UI changes β€” behavior identical to v2.0.1
  • Flash required to apply MQTT changes; after reflash, new min/max entities appear automatically in HA