Repository navigation
Add services status tile, header indicator, and Localazy source pipeline - #1205
Merged
Merged
Conversation
Backend exposes a per-service status array in sysinfo.json (one entry per compiled-and-enabled service: primary MQTT, custom MQTT, energy speedometer, price service, NTP, cloud, ZmartCharge) plus a single aggregate byte in data.json. CloudConnector and ZmartCharge gained tiny status accessors (lastError, isInitialized, lastFailed, etc.). The new ServicesTile component on the status page renders the array dynamically (rows shown only for services the firmware actually emits). The header MQTT badge is replaced with a Services badge whose color reflects the worst current state and links to the status page; the tile auto-refreshes whenever the aggregate changes. CUSTOM_MQTT_NAME lets the custom-overlay user pick a label for their custom MQTT row on the tile. Localazy plumbing reorganized: localazy/source/en.json is now the canonical English source-of-truth (tracked), upload config scopes to file:translations.json so future pushes merge into the existing keyset instead of creating a parallel file. Stale ui/translations.json deleted. CLAUDE.md documents the translation workflow and the critical upload config rules. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Re-adds ws.setCustomMqttHandler() in handleCustomMqtt() and the CUSTOM_MQTT_NAME overlay option, decoupled earlier while the custom-MQTT connector was a separate PR. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
🔧 PR Build ArtifactsVersion: All environments built successfully. Download the zip files:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a per-service status view to the web UI plus the Localazy source-of-truth pipeline.
sysinfo.jsonexposes a per-service status array (primary MQTT, energy speedometer, price, NTP, cloud, ZmartCharge), anddata.jsoncarries a single aggregate byte. CloudConnector/ZmartCharge gained small status accessors.ServicesTileon the status page (rows shown only for services the firmware emits); the header MQTT badge becomes a Services badge colored by the worst current state, linking to the status page; auto-refreshes on aggregate change.localazy/source/en.jsonbecomes the tracked canonical English source; upload config scoped tofile:translations.json; staleui/translations.jsonremoved; CLAUDE.md documents the workflow.Note on scope: the custom-MQTT service row (
ws.setCustomMqttHandler+CUSTOM_MQTT_NAME) was decoupled here since the custom-MQTT connector is a separate PR (#1204). Once #1204 lands, a one-line follow-up wires the custom MQTT row in; whichever of the two merges second needs that small reconciliation.Builds: esp8266 + esp32 pass; UI rebuilt.