Repository navigation
Conversation
This was referenced Dec 3, 2026
A grid cut left the grid CT at 0 W per phase and raised device_fault for 39067 = 0x0980 while Status 3 said off-grid, so FTW dropped the driver. 0.12.0 reads the EPS block and does not latch that code during islanding. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Johan Leitet <johan@sourceful-labs.com>
cursor
Bot
force-pushed
the
cursor/foxess-h3-smart-eps-7b81
branch
from
December 5, 2026 14:18
073f7aa to
b9fb94c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A grid cut on a FoxESS 1K5-HI-10-V1 (3 December 2026, H3-Smart map) left the grid CT at 0 W per phase, so the site had no phase readings while the house was on backup. Status 3 (39065–39066) showed off-grid, and 39067 read 0x0980 (2432). The fault latch raised
device_fault, FTW Core excluded the driver, andsite-bat_socbecame 0 even though SoC at 37612 still read 86%. The same 0x0980 during islanding is reported in nathanmarlor/foxess_modbus#1314.0.12.0 is read-only on top of 0.11.0. The remote-control path is unchanged and no write register was added.
foxess_modbuslists a pair as[low word, high word]becauseModbusController.readshifts the first address by 0 and the next by 16. Current R is[39205, 39204]and power R is[39211, 39210], so the high word is at the lower address. That matchesdecode_i32_beand the PV pairs at 39279 already confirmed on this 1K5.Inv.H3_SMARTin entity_descriptions.py (#669) and FoxESS Modbus definition V1.05.04.00:eps_l1_v/eps_l1_a/eps_l1_wand the same for l2 and l3, pluseps_wandeps_hz, both viahost.emit_metricand on the inverter emit (FTW keeps the emit asinverter.dataon/api/drivers, and metrics on the same view). The grid CT meter is unchanged; EPS does not overwrite grid phases.device_faultwhile Status 3 bit 0 says off-grid. The raw status and fault words are logged. Every other code still latches, and so does 0x0980 while the grid is present. Going off-grid clears a latch that 0x0980 raised on-grid, so Core keeps the driver.house_load_w(i32 watts, vendor sign). No extra read.Overlay for a local test, raw file on this branch:
https://raw.githubusercontent.com/srcfl/device-drivers/cursor/foxess-h3-smart-eps-7b81/drivers/lua/foxess_h3_smart.lua
Driver evidence
entity_descriptions.py(Inv.H3_SMART, #669) andmodbus_controller.py(readword order); FoxESS Modbus definition V1.05.04.00; island code from foxess_modbus#1314 and the 3 December cutSafety
Control evidence
Not applicable. No write register and no remote-control change. Existing
test_foxess_h3_smart_control.pystill passes. An EPS poll writes nothing.Checks
Signed-off-by.make test-driver ID=foxess_h3_smart— 93 passed, 5 skipped.make check— 5579 passed, 927 skipped.