Skip to content

Comments

Adding WeeWX - MQTT support#3

Open
fangfufu wants to merge 4 commits intosquirmen:mainfrom
fangfufu:feat/splash-screen-logic
Open

Adding WeeWX - MQTT support#3
fangfufu wants to merge 4 commits intosquirmen:mainfrom
fangfufu:feat/splash-screen-logic

Conversation

@fangfufu
Copy link

I really like your project. For my local use case, I have a local weather station. My local server polls the weather station, and publish the information using MQTT.

For more details on my local weather station set up, please refer to:

These changes PaperS3 to pull weather information from the local MQTT server.

I also changed the way the display gets updated, so it doesn't blank out for so long when waking from sleep. I also encountered the timezone error, I now force the timezone to be pulled from the web API.

- Add MQTTManager class for handling MQTT connections and subscriptions
- Integrate PubSubClient library
- Update Config to include MQTT broker settings
- Modify main loop to fetch and display weather data from MQTT topic
- Add mqtt_debug.py utility script
- indicate MQTT update source in status message
@fangfufu fangfufu force-pushed the feat/splash-screen-logic branch 5 times, most recently from 61fa58c to 30f9c65 Compare December 28, 2025 22:35
This makes the weather update look significantly faster. The screen is no
longer blanked when retriving new weather information. Additionally, more
debugging message is printed when the reset button is pressed.
@fangfufu fangfufu force-pushed the feat/splash-screen-logic branch from ea4e2b6 to 211eff3 Compare December 29, 2025 22:01
- Add LOW_BATTERY_THRESHOLD to constants.h
- Implement drawLowBatteryWarning in display.cpp
- Update displayWeather to check battery level and show warning if below threshold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant