Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,16 @@ hardware.
readings now come from the vendor maps, and the ECU's 0xFFFFFFFF "no meter"
value stays nil.

### alphaess 1.1.2, kstar 1.1.2, solax 1.1.2, varta 1.1.2

These four declare `read_only = true` and say why in their new `DRIVER`
table: no control code has been written for them. Their `driver_command`
only logs and refuses, yet the signed channel shipped them as controlling,
because it counts any `driver_command` as control. FTW then offered control
that could not work. Reading is unchanged. Their channel artifacts change:
the generated header now marks them read-only and drops their write
permissions.

### zaptec_cloud 0.2.1

The stand-down now acts only after FTW has written a current in this run.
Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,16 @@ promoted with `gh workflow run ftw-drivers-release.yml --ref main -f
channel=stable`; it accepts only the exact commit `drivers-beta` carries, and
serves installs that read the stable channel.

The channel contains every catalog driver as its own signed Lua asset. A driver
the catalog marks `control: true` keeps its control path; every other one is
read-only. Refreshing the signed catalog never installs or activates code.
FTW keeps its own safety, activation, rollback and bundled copies.
The channel contains every catalog driver as its own signed Lua asset. A
driver that can command its device ships with control: its `driver_command`
writes to the device. A driver that cannot declares `read_only = true` in its
`DRIVER` table and says why in its description, and ships read-only. A
`driver_command` that only logs and refuses does not count as control. The
manifest's `control:` field states the same, and `make check` fails when it
disagrees with the code or when a stub ships as control. The catalog page
shows each driver's answer. Refreshing the signed catalog never installs or
activates code. FTW keeps its own safety, activation, rollback and bundled
copies.

Each asset name contains the driver ID, semantic version and source hash. FTW
downloads only the selected driver. The release workflow never replaces a
Expand Down
16 changes: 8 additions & 8 deletions SUPPORT_STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Catalog source is not proof that a target can install or run a driver.
| acuvim | 0.4.3 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| alfen | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| alfen | 1.1.1 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| alphaess | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| alphaess | 1.1.1 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| alphaess | 1.1.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| alphaess | 1.1.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| ambibox | 1.2.0 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| ambibox | 1.2.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| ambibox_v2x | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
Expand Down Expand Up @@ -90,8 +90,8 @@ Catalog source is not proof that a target can install or run a driver.
| konja-261-svk | 0.3.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| kostal | 2.1.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| kostal | 2.1.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| kstar | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| kstar | 1.1.1 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| kstar | 1.1.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| kstar | 1.1.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| mennekes | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| mennekes | 1.1.1 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| myuplink | 1.2.4 | ftw-core | not_assessed | — | not_recorded | not_assessed |
Expand Down Expand Up @@ -148,8 +148,8 @@ Catalog source is not proof that a target can install or run a driver.
| solaredge_legacy | 0.3.3 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| solaredge_pv | 1.2.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| solaredge_pv | 1.2.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| solax | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| solax | 1.1.1 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| solax | 1.1.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| solax | 1.1.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| solinteg | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| solinteg | 1.1.1 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| solis | 2.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
Expand All @@ -172,8 +172,8 @@ Catalog source is not proof that a target can install or run a driver.
| tibber | 1.1.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| vag_vehicle | 0.3.0 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| vag_vehicle | 0.3.0 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| varta | 1.1.1 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| varta | 1.1.1 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| varta | 1.1.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| varta | 1.1.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| victron | 2.1.2 | ftw-core | not_assessed | — | not_recorded | not_assessed |
| victron | 2.1.2 | blixt-l1 | not_assessed | — | not_recorded | not_assessed |
| victron_mqtt | 1.0.3 | ftw-core | not_assessed | — | not_recorded | not_assessed |
Expand Down
40 changes: 20 additions & 20 deletions devices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "alphaess"
version: "1.1.1"
version: "1.1.2"
ders: [pv, battery, meter]
control: false
firmware_versions: ""
Expand All @@ -146,7 +146,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "alphaess"
version: "1.1.1"
version: "1.1.2"
ders: [pv, battery, meter]
control: false
firmware_versions: ""
Expand Down Expand Up @@ -259,7 +259,7 @@ manufacturers:
driver: "deye"
version: "2.1.1"
ders: [battery, meter, pv]
control: false
control: true
firmware_versions: ""
notes: "Single-phase hybrid with LV battery"
- name: "SUN String (Grid-Tie)"
Expand All @@ -270,7 +270,7 @@ manufacturers:
driver: "deye"
version: "2.1.1"
ders: [battery, meter, pv]
control: false
control: true
firmware_versions: ""
notes: "Three-phase grid-tie string inverter (PV + meter only)"
- name: "SUN Three-Phase HV Hybrid"
Expand All @@ -281,7 +281,7 @@ manufacturers:
driver: "deye"
version: "2.1.1"
ders: [battery, meter, pv]
control: false
control: true
firmware_versions: ""
notes: "Three-phase hybrid with HV battery"
- name: "SUN Three-Phase Hybrid"
Expand All @@ -292,7 +292,7 @@ manufacturers:
driver: "deye"
version: "2.1.1"
ders: [battery, meter, pv]
control: false
control: true
firmware_versions: ""
notes: "Three-phase hybrid, supports LV and HV variants with runtime detection"
- name: "SUN-xK-SG0xLP3 / HP3 hybrid"
Expand Down Expand Up @@ -761,7 +761,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "kstar"
version: "1.1.1"
version: "1.1.2"
ders: [pv, battery, meter]
control: false
firmware_versions: ""
Expand All @@ -772,7 +772,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "kstar"
version: "1.1.1"
version: "1.1.2"
ders: [pv, battery, meter]
control: false
firmware_versions: ""
Expand Down Expand Up @@ -1047,7 +1047,7 @@ manufacturers:
driver: "pixii"
version: "2.1.9"
ders: [battery, meter]
control: false
control: true
firmware_versions: ""
notes: ""
- name: "Remne Technologies"
Expand Down Expand Up @@ -1511,7 +1511,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "solax"
version: "1.1.1"
version: "1.1.2"
ders: [pv, battery, meter]
control: false
firmware_versions: ""
Expand All @@ -1522,7 +1522,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "solax"
version: "1.1.1"
version: "1.1.2"
ders: [pv, battery, meter]
control: false
firmware_versions: ""
Expand All @@ -1533,7 +1533,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "solax"
version: "1.1.1"
version: "1.1.2"
ders: [pv, battery, meter]
control: false
firmware_versions: ""
Expand All @@ -1544,7 +1544,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "solax"
version: "1.1.1"
version: "1.1.2"
ders: [pv, battery, meter]
control: false
firmware_versions: ""
Expand All @@ -1559,7 +1559,7 @@ manufacturers:
driver: "solaredge"
version: "2.1.1"
ders: [meter, pv]
control: false
control: true
firmware_versions: ""
notes: "Single-phase string inverters, port 1502"
- name: "SE Series (Three-Phase)"
Expand All @@ -1570,7 +1570,7 @@ manufacturers:
driver: "solaredge"
version: "2.1.1"
ders: [meter, pv]
control: false
control: true
firmware_versions: ""
notes: "Three-phase string inverters, port 1502"
- name: "SolarEdge Home"
Expand All @@ -1581,7 +1581,7 @@ manufacturers:
driver: "solaredge"
version: "2.1.1"
ders: [meter, pv]
control: false
control: true
firmware_versions: ""
notes: "Residential single-phase series"
- name: "SolarEdge inverter (PV only)"
Expand Down Expand Up @@ -1614,7 +1614,7 @@ manufacturers:
driver: "solaredge"
version: "2.1.1"
ders: [meter, pv]
control: false
control: true
firmware_versions: ""
notes: "Hybrid inverters with battery support"
- name: "Solinteg"
Expand Down Expand Up @@ -1889,7 +1889,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "varta"
version: "1.1.1"
version: "1.1.2"
ders: [battery, meter]
control: false
firmware_versions: ""
Expand All @@ -1900,7 +1900,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "varta"
version: "1.1.1"
version: "1.1.2"
ders: [battery, meter]
control: false
firmware_versions: ""
Expand All @@ -1911,7 +1911,7 @@ manufacturers:
protocols:
- protocol: modbus
driver: "varta"
version: "1.1.1"
version: "1.1.2"
ders: [battery, meter]
control: false
firmware_versions: ""
Expand Down
16 changes: 16 additions & 0 deletions drivers/lua/alphaess.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@
-- Register map from AlphaESS Modbus protocol v1.30
-- Hex addresses converted to decimal

-- No control code has been written for this inverter yet: driver_command
-- only refuses. It says read_only so FTW and the catalog tell the owner
-- plainly, instead of offering control that cannot work.
DRIVER = {
host_api_min = 1,
host_api_max = 1,
id = "alphaess",
name = "AlphaESS inverter",
manufacturer = "AlphaESS",
version = "1.1.2",
protocols = { "modbus" },
capabilities = { "pv", "battery", "meter" },
read_only = true,
description = "AlphaESS Smile and G2 series inverters via Modbus TCP. Read-only: no control code has been written for it yet, so FTW reads it but cannot charge or discharge the battery.",
}

PROTOCOL = "modbus"

-- A register the inverter never answers costs a failed read on every poll for
Expand Down
16 changes: 16 additions & 0 deletions drivers/lua/kstar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@
-- Port: 502
-- Community tier (untested)

-- No control code has been written for this inverter yet: driver_command
-- only refuses. It says read_only so FTW and the catalog tell the owner
-- plainly, instead of offering control that cannot work.
DRIVER = {
host_api_min = 1,
host_api_max = 1,
id = "kstar",
name = "KSTAR inverter",
manufacturer = "KSTAR",
version = "1.1.2",
protocols = { "modbus" },
capabilities = { "pv", "battery", "meter" },
read_only = true,
description = "KSTAR KSE and BluE-S series inverters via Modbus TCP. Read-only: no control code has been written for it yet, so FTW reads it but cannot charge or discharge the battery.",
}

PROTOCOL = "modbus"

-- Reading a register the device does not have costs a failed read on every
Expand Down
16 changes: 16 additions & 0 deletions drivers/lua/solax.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@
-- Port: 502
-- Community tier (untested)

-- No control code has been written for this inverter yet: driver_command
-- only refuses. It says read_only so FTW and the catalog tell the owner
-- plainly, instead of offering control that cannot work.
DRIVER = {
host_api_min = 1,
host_api_max = 1,
id = "solax",
name = "SolaX X1/X3 inverter",
manufacturer = "SolaX",
version = "1.1.2",
protocols = { "modbus" },
capabilities = { "pv", "battery", "meter" },
read_only = true,
description = "SolaX X1 and X3 hybrid and string inverters via Modbus TCP. Read-only: no control code has been written for it yet, so FTW reads it but cannot charge or discharge the battery.",
}

PROTOCOL = "modbus"

-- Reading a register the device does not have costs a failed read on every
Expand Down
16 changes: 16 additions & 0 deletions drivers/lua/varta.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@
-- Port: 502
-- Community tier (untested)

-- No control code has been written for this storage yet: driver_command
-- only refuses. It says read_only so FTW and the catalog tell the owner
-- plainly, instead of offering control that cannot work.
DRIVER = {
host_api_min = 1,
host_api_max = 1,
id = "varta",
name = "VARTA storage",
manufacturer = "VARTA",
version = "1.1.2",
protocols = { "modbus" },
capabilities = { "battery", "meter" },
read_only = true,
description = "VARTA pulse neo, element and link storage via Modbus TCP. Read-only: no control code has been written for it yet, so FTW reads it but cannot charge or discharge the battery.",
}

PROTOCOL = "modbus"

-- The host counts every failed modbus_read against the poll whether or not
Expand Down
Loading