Skip to content

chore(release): version packages - #2073

Open
frahlg wants to merge 1 commit into
masterfrom
changeset-release/master
Open

frahlg wants to merge 1 commit into
masterfrom
changeset-release/master

Conversation

@frahlg

@frahlg frahlg commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

ftw@0.168.0

Minor Changes

  • 0bd640c: Read a hybrid's inverter stream, and say when its inverter has no grid
    headroom left.

    The driver contract lets a battery or hybrid driver report its AC stage with
    host.emit("inverter", …): its power, phases, rating, and
    available_import_W / available_export_W, how much more the inverter will
    take from or give to the grid now. Core refused that emit, so the Solis C&I
    drivers lost it on every poll. Core now keeps the latest inverter reading per
    driver. /api/status shows it while the driver is live (inverter_w,
    inverter_available_import_w, inverter_available_export_w,
    inverter_updated_at_ms), and /api/drivers/{name} shows the last one with
    its age (inverter). It is not a device type: no site total, dispatch, fuse
    guard or energy ledger reads it, and none of it is written to history. A
    field that is not a usable number is left out and the rest kept.

    A battery that gives part of its order while its inverter reports, in the
    same driver poll, no more import headroom while charging, or no more export
    headroom while discharging, now reads "Limited by the inverter", with words
    such as "The inverter reports that it can take no more from the grid now.
    FTW asked for 5.0 kW charge." A battery that gives nothing keeps its warning,
    since a dead battery on a site that may not export sees no export headroom
    either; only the battery's own report of 0 available explains it. Headroom
    above 100 W, headroom from an earlier poll, and a stale, offline or faulted
    driver explain nothing. Wrong direction, power above the order or while
    idle, a changed setpoint and lost readings keep their own reasons. Limited
    verdicts never send the "not following" notice.

  • e1de7f1: A read-only MQTT driver from the signed channel may now send the read
    requests its signed policy declares, such as Victron's
    R/<portal ID>/keepalive.

    Venus OS on a Victron GX publishes its values only while a client sends that
    keep-alive. FTW refused every publish from a signed read-only driver, so
    victron_mqtt from the channel went stale on a GX with no other MQTT client.

    Core now lets such a driver publish to a topic its signed manifest lists, and
    to nothing else. The grant needs mqtt.subscribe and no write permission, so
    an older Core runs the same signed driver read-only and refuses the request.
    A listed topic must start with R/, Venus's read-request namespace; a +
    stands for one whole level, and # is refused. Each request carries at most
    1 KiB, and a driver may send six a minute. Setup measurement mode holds read
    requests as it holds writes. Every other publish, Modbus write and POST from a
    read-only driver is still refused. Bundled, local and control drivers behave
    as before.

Patch Changes

  • 0bd640c: Fix two phrases from the battery limit verdicts. A reported battery limit
    without a known target now reads "The battery reports a limit below what FTW
    asked for." instead of doubling "the". The Numbers list now labels a
    battery's learned current limit "Battery current limit", not "Charger lets
    the car take". The words match the web app's.
  • c1c58c7: Bundle the driver fixes from the battery review: Growatt and victron_mqtt now report battery power with the right sign (charging positive); victron, ferroamp_modbus and growatt leave a failed read out instead of sending 0, and ferroamp_modbus drops NaN and infinite values; GoodWe, Fronius GEN24, AlphaESS and Kstar read the registers their vendors document; victron_mqtt sends the Venus OS keep-alive and declares it as a read request. None of it is verified on hardware yet.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T14:45:32.111506Z e8272e6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@frahlg
frahlg force-pushed the changeset-release/master branch from e8272e6 to 721b95a Compare November 22, 2026 14:46
@frahlg
frahlg force-pushed the changeset-release/master branch from 721b95a to 89d084d Compare November 22, 2026 15:07
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