Adding Bexie BE - #1080
Conversation
45ac472 to
aab0c31
Compare
|
Anything blocking this PR being accepted? |
Serial number, firmware versions/build dates, and rated specs verified live against hardware at the same register offsets CHINT CPS-SCETL uses. EMS firmware fields renamed to CSB per the Bexie app's own naming; Device Protocol Version omitted as it decodes to garbage on this device. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Lets a profile identify itself during "Auto" selection by declaring an autodetection block (probe registers + expected ASCII value), so adding autodetection support for a new manufacturer is a YAML-only change. Checked before the existing Deye numeric-code probe, since an explicit confirmed string match is higher confidence than inferring a profile from a register-0 code. Adds an autodetection block to bexie_hybrid.yaml, matching on the SKU string confirmed via tools/probe_registers.py against real hardware. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BwWZzRmQBk9aSJhoGkGWAK
|
Added YAML-declared autodetection support (06ba20f) so "Auto" profile selection can identify this device without relying on Deye's register-0 numeric code, which doesn't apply here. A profile can now declare an autodetection:
code: 0x03
start: 0x1A00
end: 0x1A0F
equals: "BE6KW-1PH"
Known limitation: CHINT CPS-SCETL shares the same |
… (Bexie) Battery Power was read as a single signed 16-bit register (0x200A), capping at ±3276.7W. Under Feed-in Priority, battery discharge can exceed that, wrapping the raw value into the negative range and misreporting heavy discharge as charging. Read the full signed 32-bit pair [0x200A, 0x2009] instead, matching the Battery Current pattern. Not yet confirmed against a real charging sample — flagged in the profile comments for follow-up verification. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Reproduced the reported bug directly against the device (mass:1502) via tools/probe_registers.py: while discharging 5397W under Feed-in Priority, the old single-register (0x200A, rule 2) definition read -1156.6W, matching the "shows as charging" symptom. 0x2009 read 0x0000, the expected high word for a value fitting in the low 16 bits, supporting the 32-bit pair read from the prior commit. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…dance Host/port had drifted from the documented 192.168.178.134:502 to mass:1502. Also point future sessions at tools/probe_registers.py directly so testing against real hardware doesn't require re-asking how to connect. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
@davidrapan - anything blocking this PR being approved? |
ModBus over TCP - directly to the inverter
https://bexieenergy.com/product/be3-6-6kw-1ph/
CHINT CPS-SCETL vs Bexie Hybrid differences:
, and Bexie uses the same