Skip to content

v3.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 05:39
d13bc48

3.7.0 (2026-11-25)

Added

  • beacon: add offline Beacon SD-card image provisioner (v3.5.0) (380f8ed)
  • beacon: add reusable idempotent local-only Beacon hardening script (v3.4.0) (0c27cb2)
  • collapsible sub-group rollup rows and wildcard HA rules (v3.3.0) (9ddea7c)
  • compare: rework compare telemetry to verify all grouped registers and flag discrepancies (acd9ef1)
  • controls: support custom bounds on mutable fields for proxy and home assistant (81cc5ed)
  • generic SunSpec sub-group support (v3.2.0) (a6218b6)
  • grouping: add export for generalized groupings and telemetry mappings (862d83f)
  • ha: purge stale concept entities, enable all selected sensors, add UI reset/clean actions, bump to 3.0.14 (1660362)
  • migrate to v2.0 groupings, enforce strict device isolation, and optimize polling (3bc2409)
  • mqtt: deduplicate compound entities, add read/write controls, persistence cleanup, and precision formatting (83fd473)
  • mqtt: use add-on unique container hostname as default MQTT client ID, bump version to 3.0.5 (8010053)
  • optimizer: merge inverter output exported energy across MQTT, M102 Wh, and M64207 E (0b56372)
  • optimizer: unified field grouping, minimal model polling solver, and UI explorer enhancements, bump to 3.0.11 (7f5bfc8)
  • recommender: add recommendation engine and approval endpoints (fb6672b)
  • strict explicit telemetry grouping, negation handling, and model isolation (9e80db6)
  • sub-group isolation and rolled-up comparisons and suggestions (v3.2.0) (063a218)
  • ui,grouping: add UI options to group, ungroup, and customize field concepts (43f0a09)
  • ui: add Export Mappings modal with dual format switcher (76b4982)
  • ui: add grouping suggestions tab and approval workflow (9c14fe8)
  • ui: add modal and actions to configure field bounds from UI (8c396e4)
  • ui: add Modbus and SunSpec register details explorer and bounds restrictions for settable fields, bump to 3.0.10 (067a18e)
  • ui: add option to force full device re-scan and clear device cache (v3.1.2) (2304589)
  • ui: make Web Explorer responsive for mobile and add Playwright desktop/mobile UI tests (v3.6.0) (3633436)
  • validation: add physical plausibility bounds and cumulative energy drop protection, bump to 3.0.7 (71b9e64)

Fixed

  • addon: generate pwrcell.yaml safely via yaml.safe_dump with 0600 permissions (19ef20c)
  • addon: set init: false in config.yaml to allow s6-overlay to run as PID 1, bump version to 3.0.2 (beae950)
  • beacon: restore and monitor local MQTT telemetry feed in local-only mode (v3.6.1) (e453d63)
  • bridge: add per-device freshness availability, HA birth republish, and separate poll success tracking (1e41ca8)
  • bridge: ignore retained command messages on MQTT command topics (1478c22)
  • bridge: import os and only mark _running after start succeeds (14608bc)
  • bridge: return None for invalid/sentinel values in format_state_value and preserve strings (b73e9f3)
  • bridge: use single-worker command executor and log listener errors at WARNING (1977fae)
  • catalog: align JSON model point offsets with XML and prevent repeating subgroup collisions (42296cf)
  • catalog: consolidate get_suggested_precision into catalog (1a6b43e)
  • catalog: deduplicate scale factor point detection into is_scale_factor_point (29c02b6)
  • catalog: define named SunSpec model ID constants and resolve control models by name (ce7fd3c)
  • ci: add sanitized test fixtures and fix Release Please config.yaml updater (v3.3.2) (f2aedee)
  • client: classify discovered devices by SunSpec model IDs and skip persisting empty scans (fc40b69)
  • client: import List in pwrcell.client (4eacfb6)
  • client: make mock sim loop interruptible on stop (f7a4890)
  • client: revalidate cached device serials against Model 1 and add rescan endpoint (92d33d2)
  • cli: support --log-level both before and after service subcommand, bump version to 3.0.3 (42d493c)
  • concurrency: release locks before blocking thread joins, Modbus sync, and MQTT discovery I/O (8437d73)
  • concurrency: synchronize shared state access and replace StateField immutably (f46f6bc)
  • config: centralize persistent runtime paths under data_dir() (b17af4f)
  • config: tolerate null/empty device categories in devices.yaml (v3.5.1) (f4dadc6), closes #30
  • config: type DeviceConfig.read as Optional and fail loudly on malformed AppConfig (66fd408)
  • controls: support scaled writable registers and derive HA number bounds from register bounds (f44cf42)
  • deps: update alpine docker tag to v3.24 (#34) (7289639)
  • deps: update dependency dataconf to v4 (d67f222)
  • deps: update dependency dataconf to v4 (b204d7a)
  • deps: update dependency flask to v3.1.3 [security] (#28) (aa749ef)
  • deps: update dependency pyyaml to v6.0.4 (#31) (80bc335)
  • deps: update ghcr.io/home-assistant/base-python docker tag to v3.15 (#24) (cc4ad84)
  • deps: update python non-major dependencies (#22) (503091d)
  • ha: address discovery audit issues and gateway node, bump to 3.0.13 (a575a22)
  • ha: export protected and non-writable fields as read-only sensors (v3.6.2) (242549f)
  • ha: handle null or empty selected_fields in ha_config.yaml gracefully (18d7606)
  • ha: preserve full sensor precision and scale-factor display precision (v3.2.2) (7b99e49)
  • ha: prevent duplicate entities on group selection and fix inverter_state enum mapping (v3.1.6) (bd11a4c)
  • ha: require yaml, write HA config atomically, and use full serial in object_id (93507d8)
  • ha: resolve inverter_state enum mapping, deduplicate system_mode options, and retain compound states (v3.1.7) (16bbc99)
  • ha: restrict writable discovery exposure to explicit allow-list and exclude SAFETY_SHUTDOWN (9ace5ff)
  • ha: seed devices from ha_default_config when ha_config is missing or empty (bd94f2c)
  • lifecycle: prevent worker resurrection after close, stop bridge on client stop, and handle SIGTERM (eff3e27)
  • mapping: query MappingRegistry dynamically instead of import-time caches (c724fbf)
  • modbus: log duplicate serial at WARNING and assign synthetic serials to blank-SN devices (5661a95)
  • modbus: retry only transport errors, lower default socket timeout, and bound consecutive scan misses (4d72736)
  • modbus: skip duplicate serials instead of aborting scan (7f7259b)
  • modbus: treat socket EOF (b'') during drain as disconnect and reconnect immediately (835d476)
  • modbus: verify write read-back value and publish clamped device state (5d0fa5c)
  • models: pin SSH host keys (TOFU), stage SCP downloads atomically, and warn on sync failure (377571f)
  • modes: separate SunSpec SysMd and MQTT proto mode tables and remove broken fallbacks (6ad8773)
  • mqtt: do not abort client startup when initial MQTT connect fails (f08a1f2)
  • mqtt: format large numbers and energy values without scientific notation (4cfd35f)
  • mqtt: subscribe narrowly to energy_recordset_live and reconnect only when tunnel port changes (d978122)
  • optimizer,correlator: resolve voltage, state, polarity, and energy grouping discrepancies (f5b496f)
  • optimizer: fix swapped TotWhImp and TotWhExp synonyms in CANONICAL_SYNONYMS (e0e0fbb)
  • optimizer: normalize %WHRtg unit to % in clean_unit (b3b39eb)
  • poller: derive DEFAULT_MODELS from DEFAULT_PATHS (80dd9a1)
  • poller: make startup stagger stoppable and simplify tier schedule loop (40e5ad3)
  • poller: narrow exception handling and log at debug in safe_point_cvalue (d9cf5e3)
  • poller: poll all instances of repeating SunSpec models with indexed subgroup keys (19520cc)
  • poller: unify subgroup-to-model-ID resolution with exact segment matching (a2292b7)
  • poller: validate polling tier in trigger_sync and return 400 on invalid tier (feb23c7)
  • resolve grouping, mqtt discovery, and combined sensor jitter issues (v3.1.5) (54fa90c)
  • setup_key: create SSH private key file with mode 0600 before writing (f712e42)
  • setup_key: handle PermissionError when probing default SSH key paths (v3.3.3) (39c26e2)
  • ssh: add SSH key normalizer to handle single-line/escaped keys, support passphrase & password, bump version to 3.0.4 (2ce96ca)
  • state: drive plausibility bounds from units/device_class, not name substrings (758c388)
  • state: exempt pv_link session energy counters from drop suppression, bump to 3.0.9 (7e20d4a)
  • state: guard SUNSPEC_SENTINELS membership checks against unhashable values (fe4a928)
  • state: normalize NaN/inf raw_value to None and remove unreachable NaN branch (7ac9576)
  • state: publish zero voltage, inverter state, and battery power limits from MQTT (14cc721)
  • state: remove home-grown scale factor cases in update_from_modbus_points (939f48b)
  • state: replace permanent monotonic counter latch with N-consecutive confirmation (4cbd453)
  • state: suppress out-of-bounds warning log-spam and handle vendor pseudo-sentinels (v3.2.1, fixes #15) (d4bd31a)
  • sunspec: evaluate sentinels by register type at raw level only (45653fb)
  • sunspec: resolve math range error and scale factor sentinel corruption, bump to 3.0.6 (885a6cd)
  • ui,recommender: exclude scale factor registers from merging UI and suggestions (d9febe1)
  • ui: dynamically display package version instead of hardcoded v3.0 (v3.2.0) (7d11a80)
  • ui: remove stray syntax tokens in app.js breaking client execution (4dad7c7)
  • ui: use selectDevice instead of fetchDeviceFields after grouping change (d6cb407)
  • ui: use SUNSPEC_SYS_MD_NAMES instead of inverted OPERATING_MODES dict (10ffaf8)
  • upgrade: reconcile persisted groupings, separate AC/DC energy, and restore PV Link primary defaults (v3.2.0) (0bc3d9f)
  • validation: calibrate plausibility bounds for commercial ratings, bump to 3.0.8 (bf0ed9d)
  • version: derive HA ORIGIN_INFO sw_version from version and align config.yaml (44f8b25)

Changed

  • catalog,optimizer: externalize fallback point abbreviations and optimizer preferences to YAML (5c5f776)
  • controls: derive system operating modes and symbols dynamically from SunSpec metamodels (5440dff)
  • devices: externalize device types, model classification rules, and tier paths to YAML configs (610bd99)
  • eliminate redundant static files in pwrcell/data (e00ad4d)
  • grouping: unify compound, concept, and comparison abstractions (2bf7421)
  • ha: exact-match key selection on normalized serial-qualified keys (b6b69d6)
  • ha: load controllable allowlists and device labels from config files (4259737)
  • mapping: eliminate in-code telemetry mappings and synonyms in favor of YAML (525f554)
  • replace is_compound/poller/bridge getattr probing with real attributes (e0657b4)
  • resolve configuration from system discovery and declarative YAML files (22df8a7)
  • simplify tier config parsing, name mock tick constant, rename models.py to model_sync.py (11da481)
  • state: declarative MQTT-to-field tables for telemetry ingestion (491289f)
  • state: split set_field into metadata, counter-guard and field-merge helpers (b06e05d)
  • telemetry: load MQTT telemetry specs from YAML and derive protobuf enums dynamically (abd1a78)
  • ui: split create_app routes into Flask blueprints (33f26c0)