{"modulePath":"github.com/srcfl/ftw/go","version":"v0.0.0-20261129174712-cc71c169fcd2","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/srcfl/ftw/go/cmd/ftw","name":"main","synopsis":"ftw — Home Energy Management System.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/ftw-backup","name":"main","synopsis":"ftw-backup creates, verifies, inspects and restores portable FTW backups.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/ftw-cli","name":"main","synopsis":"Command ftw-cli is installed on PATH as `ftw`, the operator command for a native install.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/ftw-driver-repository","name":"main","synopsis":"ftw-driver-repository builds, signs, and verifies the independently published Lua-driver catalog sourced from this monorepo.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/ftw-forecast-evaluate","name":"main","synopsis":"ftw-forecast-evaluate reads the bounded forecast archive and prints a causal JSON score report.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/ftw-launcher","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/sim-ferroamp","name":"main","synopsis":"sim-ferroamp: embedded MQTT broker + realistic Ferroamp EnergyHub simulator.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/sim-ferroamp/ferroamp","name":"ferroamp","synopsis":"Package ferroamp contains the physical-ish simulation of a Ferroamp EnergyHub + ESO battery + SSO solar strings.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/sim-ocpp","name":"main","synopsis":"sim-ocpp: OCPP 1.6J / 2.0.1 charge-point simulator for Evify's in-stock home chargers.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/sim-ocpp/ocppcp","name":"ocppcp","synopsis":"Package ocppcp is an OCPP charge-point simulator.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/sim-pcs","name":"main","synopsis":"sim-pcs: Modbus TCP server simulating a multi-rack commercial battery plant.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/sim-pcs/pcs","name":"pcs","synopsis":"Package pcs simulates a multi-rack commercial battery plant: N PCS/rack units, each an independent Modbus unit ID with its own SoC, power lag, and injectable faults.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/sim-sungrow","name":"main","synopsis":"sim-sungrow: Modbus TCP server simulating a Sungrow SH-series hybrid inverter.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/cmd/sim-sungrow/sungrow","name":"sungrow","synopsis":"Package sungrow contains the Sungrow SH-series physics simulation.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/api","name":"api","synopsis":"Package api is the HTTP surface for FTW: control endpoints, telemetry queries, config get/set, battery-model introspection, self-tune orchestration, static file serving for the web UI.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/apiauth","name":"apiauth","synopsis":"Package apiauth says who is asking the box's HTTP API for something.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/appenroll","name":"appenroll","synopsis":"Package appenroll owns the box's half of app enrollment: the long-lived keys behind the QR code on the lid, and the record of which phones have been let in.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/appenroll/approvaltest","name":"approvaltest","synopsis":"Package approvaltest signs approvals the way an owner phone's Secure Enclave key does, for tests of the box's side.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/appproto","name":"appproto","synopsis":"Package appproto speaks the FTW web app's client protocol.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/appproto/gencontract","name":"gencontract","synopsis":"Package gencontract turns contract/registry.yaml into Go constants.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/appproto/gencontract/cmd","name":"main","synopsis":"Command gencontract writes the Go constants for contract/registry.yaml.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/appuplink","name":"appuplink","synopsis":"Package appuplink serves the encrypted app sessions FTW Cloud carries: a phone's stream through the tunnel and a watch's exchange.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/arp","name":"arp","synopsis":"Package arp resolves MAC addresses for IPv4 hosts on the local L2 segment.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/backup","name":"backup","synopsis":"Package backup creates and restores complete, portable FTW backups.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/battery","name":"battery","synopsis":"Package battery is per-battery online learning (ARX(1) via RLS) plus the cascade controller glue (inner PI + inverse model + saturation curves).","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/batteryreturn","name":"batteryreturn","synopsis":"Package batteryreturn works out the figure a Swedish household reports to Skatteverket to get back the energy tax on electricity it bought from the grid, stored in a battery and fed back to the same grid (11 kap.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/cars","name":"cars","synopsis":"Package cars keeps the cars of a box's owners apart from its chargers (docs/cars.md).","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/cloudlink","name":"cloudlink","synopsis":"Package cloudlink is the box's one link to FTW Cloud.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/components","name":"components","synopsis":"Package components defines compatibility contracts for independently released FTW modules.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/config","name":"config","synopsis":"Package config parses and validates the top-level YAML config.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/configreload","name":"configreload","synopsis":"Package configreload applies committed settings to the running system.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/control","name":"control","synopsis":"Package control is the site's closed-loop control system.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/coverage","name":"coverage","synopsis":"Package coverage records where each external data source FTW talks to actually returns usable data.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/currency","name":"currency","synopsis":"Package currency fetches daily FX reference rates from the European Central Bank and caches them in state for offline lookup.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/devtools","name":"devtools","synopsis":"Package devtools hosts developer-only utilities that ship inside the main FTW binary but stay dormant unless explicitly invoked (e.g.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/drivercontrol","name":"drivercontrol","synopsis":"Package drivercontrol owns what is held on a driver: one bounded value at a time, sent and released under one per-driver lock, and handed back to the device's own default when it ends.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/driverinventory","name":"driverinventory","synopsis":"Package driverinventory builds a bounded, secret-free snapshot of the Lua code that FTW has configured and loaded.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/driverrepo","name":"driverrepo","synopsis":"Package driverrepo installs signed, independently versioned Lua drivers.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/drivers","name":"drivers","synopsis":"Lua driver host.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/energyforecast","name":"energyforecast","synopsis":"Package energyforecast adapts Core's observations and issued weather to the versioned Energyplan forecast worker.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/energyreport","name":"energyreport","synopsis":"Package energyreport sends one energy report a day, with no box id, straight to FTW Cloud.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/evcloud","name":"evcloud","synopsis":"","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/events","name":"events","synopsis":"Package events is a tiny synchronous pub/sub bus used to decouple core loops (control tick, API handlers, watchdog) from cross-cutting subscribers (notifications, future webhooks, future audit log).","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/fleetping","name":"fleetping","synopsis":"Package fleetping adds anonymous reports to FTW's daily fleet totals without telling the relay which box sent which report.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/fleetping/genshipped","name":"genshipped","synopsis":"Package genshipped turns drivers/BUNDLED_SOURCE.json into the driver names this build ships with.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/fleetping/genshipped/cmd","name":"main","synopsis":"Command genshipped writes the driver names drivers/BUNDLED_SOURCE.json pins.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/forecast","name":"forecast","synopsis":"Package forecast fetches hourly weather + derives a PV production estimate for the next ~48 hours.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/forecasting","name":"forecasting","synopsis":"Package forecasting defines portable forecast records and causal evaluation.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/ftwcli","name":"ftwcli","synopsis":"Package ftwcli is the ftw operator command for a native install.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/gatewayidentity","name":"gatewayidentity","synopsis":"Package gatewayidentity defines FTW's one gateway identity contract.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/gridcost","name":"gridcost","synopsis":"Package gridcost contains the shared import/export pricing model used by planner decisions, plan reporting, and historical savings calculations.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/gridstate","name":"gridstate","synopsis":"Package gridstate tells whether the site is on the grid or islanded, from what its inverters report (#2125).","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/ha","name":"ha","synopsis":"Package ha is the Home Assistant MQTT bridge: MQTT autodiscovery + periodic state publish + command subscriber for mode/target/peak/ev.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/heatplan","name":"heatplan","synopsis":"Package heatplan proposes when a heated zone should take its heat.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/journal","name":"journal","synopsis":"Package journal records how the box's answer to \"Are we in control?\" changes, so a warning can be explained after it has passed.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/loadmodel","name":"loadmodel","synopsis":"Package loadmodel maintains the existing local household-load predictor.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/loadpoint","name":"loadpoint","synopsis":"Package loadpoint models an EV charge point as a first-class entity the planner can reason about.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/localzone","name":"localzone","synopsis":"Package localzone keeps the household's clock: the zone every wall-clock rule reads, and its name for clients.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/mdnsresolve","name":"mdnsresolve","synopsis":"Package mdnsresolve resolves RFC 6762 \".local\" host names for outbound connections, and provides a dialer that uses it.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/modbus","name":"modbus","synopsis":"Package modbus provides a Modbus TCP capability wrapper for drivers.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/modelstate","name":"modelstate","synopsis":"Package modelstate versions the learned-model state FTW keeps on disk.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/mpc","name":"mpc","synopsis":"Package mpc is a receding-horizon energy scheduler.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/mqtt","name":"mqtt","synopsis":"Package mqtt provides an MQTT capability wrapper for per-driver binding.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/nativeupdate","name":"nativeupdate","synopsis":"","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/notifications","name":"notifications","synopsis":"Package notifications delivers operator-facing push notifications via a pluggable provider (ntfy today; future providers register via RegisterProvider).","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/nova","name":"nova","synopsis":"Package nova is the opt-in federation client that publishes FTW telemetry into Sourceful's Nova Core backend.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/ocpp","name":"ocpp","synopsis":"Package ocpp is the OCPP Central System for FTW, speaking 1.6J and 2.0.1.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/ocpp/chargersocket","name":"chargersocket","synopsis":"Package chargersocket is the WebSocket client every simulated or test charger in this module dials Core with.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/onboarding","name":"onboarding","synopsis":"Package onboarding keeps an unfinished setup on the box.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/optimizercontract","name":"optimizercontract","synopsis":"Package optimizercontract holds stable values shared by Core's configuration and optimizer wire protocol.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/prices","name":"prices","synopsis":"Package prices fetches spot electricity prices from external providers and persists them to the state DB.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/proxy","name":"proxy","synopsis":"Package proxy implements an optional dev-mode reverse proxy for the HTTP handler.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/pvmodel","name":"pvmodel","synopsis":"Package pvmodel is a self-learning digital twin for a PV array.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/redact","name":"redact","synopsis":"Package redact builds what an agent may read of the box's logs and configuration (docs/agents.md, Redaction on the box).","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/savings","name":"savings","synopsis":"Package savings reconstructs how much money the EMS optimizer saved on a given historical day, by re-pricing the measured grid flow with the same cost model the live MPC planner uses (mpc.SlotGridCostOre) and comparing it to a no-battery counter-factual.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/scanner","name":"scanner","synopsis":"Package scanner discovers devices on the local network by TCP-dialing common energy-device ports (Modbus 502, MQTT 1883, HTTP 80, HTTPS 8443) across all /24 subnets attached to non-loopback, non-virtual interfaces.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/selftune","name":"selftune","synopsis":"Package selftune is the per-battery step-response calibration flow.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/selfupdate","name":"selfupdate","synopsis":"Package selfupdate resolves the stable and beta 0.x releases a native install can take, and stages a verified release package in its slots (ADR 0007).","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/sitepower","name":"sitepower","synopsis":"Package sitepower is the site-boundary power identity used by charging policy tests and (later) by planner/dispatch.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/sitesim","name":"sitesim","synopsis":"Package sitesim is a simulated house behind one main fuse, for testing Core in a closed loop.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/state","name":"state","synopsis":"Package state — heal.go: SQLite integrity gate + corruption recovery.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/statsrelay","name":"statsrelay","synopsis":"Package statsrelay posts the box's daily reports, each alone.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/statsrelay/statsrelaytest","name":"statsrelaytest","synopsis":"Package statsrelaytest is a fake FTW Cloud energy route, and a fake relay and gateway, for tests.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/sunpos","name":"sunpos","synopsis":"Package sunpos computes solar position (zenith/azimuth) and plane-of-array irradiance for arbitrary panel orientations.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/telemetry","name":"telemetry","synopsis":"Package telemetry is the central DER data store plus per-signal Kalman smoothing and per-driver health tracking.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/thermal","name":"thermal","synopsis":"Package thermal is the vocabulary heat controls are declared in: which heat store an asset is, and which lever a driver offers on it.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/thermaltwin","name":"thermaltwin","synopsis":"Package thermaltwin learns how a heated zone behaves, in shadow.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/units","name":"units","synopsis":"Package units is the source of truth for physical quantities in FTW core.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/internal/v2x","name":"v2x","synopsis":"Package v2x evaluates the operator policy envelope for bidirectional EV chargers.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/test/fixtures/measurement-api","name":"main","synopsis":"measurement-api serves the real Core read handlers with synthetic telemetry and temporary SQLite data for the paired Cloud MCP integration tests.","isRedistributable":true},{"path":"github.com/srcfl/ftw/go/test/site/runner","name":"main","synopsis":"siterig-runner runs FTW's site test (go/test/site) on a machine of its own and publishes the result as a GitHub commit status on the exact commit: siterig/full on each new master commit, siterig/short on the head of each open pull request that touches code on the control path (watchedPaths), and siterig/random for a night's random seeds.","isRedistributable":true}],"total":91}}
