Repository navigation
Releases
Releases · srcfl/ftw
v0.176.0-beta.1
Changes in this beta
Minor Changes
- FTW's MQTT topics move from
forty-two-watts/toftw/: state, commands
and status, for exampleftw/cmd/modeandftw/state/plan_json. FTW's
entities in Home Assistant follow by themselves and keep their IDs and
history. Automations that publish or subscribe to the old topics directly
must change toftw/. FTW clears the old retained status when it connects,
so nothing shows the old prefix as online.
Patch Changes
- The bundled
vag_vehicledriver, 0.3.1, selects the newest SoC reading by
measurement timestamp and explains its selection in bounded, VIN-masked logs
(srcfl/device-drivers#213). The bundleddeye-svkdriver, 0.2.3, skips energy
headroom calculation when a poll cannot read SoC (srcfl/device-drivers#224). - More on the box's page has Help, as the apps do: ask your AI assistant first (it opens Settings → Access), then the FTW community on Discord at ftw.energy/discord, with the help file to attach. System's help line says the same.
- The MQTT topic
ftw/state/plan_schedule_jsonnow carries the
whole plan, not only the next 24 hours, withgenerated_at_ms,baselines
andforecast_pv_wandforecast_load_wper slot. The Home Assistant app
closes FTW's API to the home network, so automations that read
/api/mpc/plancan read this topic instead. The Plan entity still holds 24
hours. - In planner_self, planner_cheap and passive arbitrage, a battery that
discharges while the meter shows export now cuts that discharge on the next
tick, past the slew limit. With the setup guide's 500 W a tick, each drop in
house load, such as a heat pump's compressor stopping, sold battery energy
for about half a minute. Raising the discharge again still follows the slew
limit, and a discharge that feeds a car the battery does not cover keeps its
ramp. - The setup guide now gives a new home Core's control timings: a 2 s control
interval, a 3000 W ramp limit per cycle and 2 s between battery commands. It
wrote 5 s, 500 W and 5 s, so a battery could take 30 s to follow a sudden drop
in house load. Settings → Control shows the same values as its defaults. Homes
already set up keep their stored timings.
v0.175.0-beta.1
Changes in this beta
Minor Changes
- Share your home's data with FTW research. The Overview asks once, with
"Share" and "Not now" side by side; Settings → FTW app → Research keeps the
choice. It is off until the owner says yes. When on, the box sends
research.ftw.energy every day it still holds, newest first, then each day
once it closes: household load, solar, prices, the forecasts and plans the
box made each hour, the meters, the battery and fuse, driver types and a
weather square of about 55 km, under a random id with no name, address or
serial. A day with any reading goes, with its coverage. "Show one day"
shows exactly what goes. Turning it off deletes everything sent. The schema
iscontract/research-episode-v1.schema.json.
v0.174.1-beta.1
Changes in this beta
Patch Changes
- The bundled
easee_clouddriver, 1.5.1, reports 0 W for a charger with no
car (srcfl/device-drivers#290). With 1.5.0, a restart while no car was plugged
in left the charger's power unknown until the next car arrived. Home use then
went unknown, History lost those hours and the daily saving went negative.
Nothing else in the bundled drivers changed. - History reads answer faster.
/api/energy/dailysums each day's recorded
time in SQL instead of reading every minute row into Go, and keeps it for a
day that is over, so a month asked for again reads no history rows. On the
home box a month took 1.4 s each time./api/energy/peakskeeps each day of
the month under way once it is over and reads only the days still open. A
month under way took 1.4 s each time; the phone asks for it every quarter
hour while History is on screen. /api/savings/dailyno longer charges the saving for time it has nothing to compare with. While Home use is unknown, for example while a charger's power is unknown, that time has no baseline, so its import now stays out ofsaved_oretoo. A day with no known Home use saves 0 at 0 % coverage instead of minus its whole bill. The bill is unchanged:import_cost_ore,export_revenue_oreandactual_cost_orestill count all measured import and export. A newcompared_actual_cost_oreis the bill for the time that has a baseline, andsaved_oreisbaseline_cost_oreminus it. Totals andself_consumption_saved_orefollow the same rule. On days recorded before source intervals, the bill now also counts import while Home use was unknown.
v0.174.0-beta.1
Changes in this beta
Minor Changes
/api/savings/dailycan say how today will end. While the day runs, today's row adds aforecast: the saving so far, plus what the plan saves from now to midnight, plus the battery's stored energy at midnight against where it started the day, valued at today's mean import price. A battery charged in the morning for the evening no longer reads as a loss at noon, and a day that spends energy bought yesterday pays for it.forecast.closing_saved_oreis what the row will read at midnight if the plan holds, since a finished day is not corrected for stored energy. The forecast is absent when there is no current plan, the plan stops before midnight, the day so far is less than 95 % measured and priced, or the battery level at midnight is unknown.
v0.173.0-beta.1
Changes in this beta
Minor Changes
- FTW now knows when the house is islanded. A hybrid inverter's driver that
reads an explicit vendor status reportsgrid_stateon its inverter stream
(foxess_h3_smart0.11.0 andkonja-261-svk0.5.0, once the bundled
drivers' pin includes them). The site is
off grid once a fresh report has said so for 30 seconds, and back on grid
after every report has said so for a minute; with no report it is unknown,
and nothing behaves differently./api/statusshowsgrid_statewith when
it began and the reports it rests on, and the control journal keeps each
outage as a warning. A device fault the inverter raises while islanded does
not hide its grid state. The site does not yet act on it, and the push
notifications follow with the app.
Patch Changes
- The bundled
foxess_h3_smartdriver, 0.11.0, reports whether the inverter is
on the grid or islanded, so/api/statusshows the site'sgrid_stateon a
FoxESS H3-Smart or 1K5 site (srcfl/device-drivers#285). Nothing else in the
bundled drivers changed.
v0.172.1-beta.1
Changes in this beta
Patch Changes
- The box page, the setup wizard, the favicon and the README show FTW's mark, Planbandet: the word FTW over a band of the next twelve hours, gold where the battery gives and blue where it stores. In the box the mark follows the light or dark look. It replaces the pixel "FTW" pictures, which are gone.
v0.172.0-beta.1
Changes in this beta
Minor Changes
- The box answers two new History reads for the phone apps.
/api/energy/peaks?month=YYYY-MMgives each day's highest hour of grid import in that month. With a demand tariff set, the tariff's hours count, and the answer adds the month's top hours on different days and their mean, the basis the grid company charges on./api/savings/dailytakesmonth=YYYY-MMtoo, so a client can read a whole year one month at a time, past the 90 days thatdays=reaches.
Patch Changes
- A box whose host never tells the kernel that NTP has set the clock, such as FTW in Docker on a Synology NAS or a host that steps its clock, now has its clock confirmed by FTW Cloud at each connect. The box checks its own time against the time the service signs in
hello_okand never sets its clock from it. When the two agree to within 16 s, the box turns on what waited for a known clock: statistics, history in FTW Cloud's copy, alert times, live times through FTW Cloud, the daily energy report and agents. A box on 1970, or days behind, still counts as having no clock.
v0.171.2-beta.1
Changes in this beta
Patch Changes
- With FTW Cloud on, the box now sends the daily energy report: the date and that closed UTC day's six whole-kWh sums, with no box id. It goes straight to FTW Cloud at
/v1/energy, which sees the box's address while the request is open and keeps neither the address nor the report. The report had waited for an independent relay that never came, so no box sent one and stats.ftw.energy showed no energy. Without FTW Cloud nothing is sent. Settings → FTW app → Statistics says where it goes.
v0.171.1-beta.1
Changes in this beta
Patch Changes
- The privacy and terms links in the box page now point to ftw.energy, the one public domain. Old links to ftw.sourceful.energy still work.
- Remove the retired relay client: the relay dial, hourly handle rotation, dead man's switch and their tests. Phone sessions and watch exchanges keep running through FTW Cloud. The network route lookup that binds software identity now asks for cloud.ftw.energy. The pairing QR keeps its shape.
v0.171.0-beta.1
Changes in this beta
Minor Changes
- Home Assistant gets lifetime energy totals for its Energy dashboard: Total grid import, Total grid export, Total PV generation, Total battery charged, Total battery discharged and Total load, in kWh. They come from the box's stored energy history since it began, never go down, never return to zero at midnight and count nothing twice across a restart. FTW's entities now have short names in sentence case that Home Assistant shows after the device name, such as "FTW Grid power"; a new install gets entity IDs such as
sensor.ftw_grid_power. The sensors that show the grid target, peak limit and EV charging power end in "setpoint", so they no longer share a name with the number entities that set them. Unique IDs do not change, so an updated install keeps its entity IDs, history and the names you set yourself.
Patch Changes
- Project statistics are part of FTW Cloud and nothing else. With FTW Cloud on, the box sends the hourly reports, which Sourceful links to your Cloud home for 48 hours so it can delete them, and the daily reports with no box id, as before. Without FTW Cloud it sends none, whatever an earlier release stored, and a statistics-only link from an earlier release ends. That includes a collector of your own set in
fleet_ping.endpoint: without FTW Cloud it gets no daily report, andfleet_ping.enabledis no longer read. The "Share anonymous statistics" switch is gone; Settings → FTW app → Statistics says which case holds. Accepting the terms when you pair, on the box page, in the app or in the web app, is enough: the box no longer asks again, and the Overview no longer prompts for them. An assistant's access now lasts 90 days unless you pick another length, on the box page and for invitations.