Repository navigation
Releases
Releases · NickStallman/Rewired-S
v0.9.2
Added
- Power-stage acceptance ranges for the SG-CX (
EMERALD-S), SG-HX (DIAMOND-S) and SH-CX
(GARNET-H) commercial lines (data/dsp_params/), matched by model string. - Ethernet and Wi-Fi in one image (
common/network.yaml): Ethernet carries the traffic while it
has a link, Wi-Fi takes over when it drops and hands back when it returns. The setup access
point stays down while Ethernet is connected.
Changed
- One entry and one pre-built image per dongle. The
-ethernetentries and images and
common/ethernet_fallback.yamlare removed: a pre-built Ethernet install moves to
winet-s-prebuilt/winet-s2-prebuilt(its Firmware entity gets no further updates), a
site file includeswinet-s.yaml/winet-s2.yaml. - The app version carries no
+wifi/+ethernetsuffix; the analyticsnetworkfield is the
interface in use. docs/compatibility.md: SG-CX, SG-HX and SH-CX carry power-stage ranges; SG-RS-L2 and
SH-RL/MG-RL noted as shipping the newerSungrowIAP3.0package, not yet decodable.docs/inverter_registers.md: an SG5.0RS with a meter on its meter port serves the meter's power
block (5601-5608).
Fixed
- The grid meter's active power (5601) reaches iSolarCloud for a string inverter, as cloud point
8018 (#15). - Analytics
modbus_burst: a device's timeout/exception counters resetting (on reconnect) no
longer underflows the 60-second delta into a spurious ~4.29-billion "failed reads" report.
v0.9.1
Feedback round after the first public release: the SH15T (SH-T line) verified on hardware,
the WiNet-S2 install route and Ethernet build verified, the install tooling and docs fixed, a
network fallback for the Ethernet images, and a privacy fix in the diagnostics log tail.
Added
- Power-stage acceptance ranges for the SH-T line (
data/dsp_params/sh15t.csv, PEARL-H). The
range tables are keyed by firmware line and matched by device code or devinfo model string, so
every listed SH-RS, SG-RS and SH-T model gets them (#9). - Network fallback (
sungrow_boardnetwork_fallback:,common/ethernet_fallback.yaml, on in
the pre-built Ethernet entries): a build that has never had a network boots the other OTA slot
after 3 min (1 min when the Ethernet driver fails), if that slot holds a non-Ethernet Rewired-S
image (#11). The app descriptor's version carries the network kind (0.9.1+wifi/+ethernet). - Network fallback state on Settings → Boot slots and in the diagnostics report.
docs/board_pins.md"Other boards": what an ESP32 or ESP32-S3 board needs to run the firmware.tools/pyproject.toml: the install tools as a pip package
(pipx install "git+https://github.com/NickStallman/Rewired-S@v0.9.1#subdirectory=tools"):
rewired-s-deploy,rewired-s-iconfig-server,rewired-s-sgu,rewired-s-package-sgu,
rewired-s-flash-backup,rewired-s-read-identity.
Changed
- Battery controls (
requires: batteryindata/write_registers.yaml) are left out of MQTT
discovery and the web Devices page on a hybrid that reports "No battery" (#9). docs/compatibility.md: every inverter class with its firmware line, reads, controls,
power-stage ranges and hardware verification; WiNet-S2 Ethernet and the stock-updater route
recorded as verified (#9, #10, #11).- The analytics
uncataloguedcheck usesdsp_model_for(dev_code, model): a device is
unrecognised only when no range table matches its code or model string. - The entries work as ESPHome remote packages
(packages: x: github://NickStallman/Rewired-S/<entry>.yaml@v0.9.1): the board files name their
partition tables relative to themselves, thesites/andtests/config/links are gone, and
dashboard_importpins the running release.
Fixed
- Diagnostics: values ESPHome logs as secrets (Wi-Fi password, API key) enter the log tail as
<secret>; the report scrubber replaces the Wi-Fi and MQTT passwords (<psk>,<mqtt-password>). tools/fake_iconfig_server.pyoffers the package only to a request that names a WiNet (the
stock device-update dialog asks with the inverter's model) and matches/web/<name>with or
without the/v2prefix (stockP016) (#10).tools/deploy_debug.py import-keytreatsresult_code=120as "key already stored" and continues.- The release public key is published as
publicKey_V1.pem, the name the stock updater's key
import requires; the install guide names the exact menu path, warns about the device-update
dialog, and notes the browser-address and PowerShell requirements. - The ESPHome dashboard's adoption of a pre-built image failed on the partition-table path.
v0.9.0
First public release (beta). Runs on the WiNet-S (ESP32) and WiNet-S2 (ESP32-S3) dongles with
an SG string inverter or an SH hybrid inverter with SBR battery stacks.
Added
- Per-device Home Assistant MQTT discovery for the connected inverter, battery stacks and meter,
with a Problem binary sensor carrying the active fault codes and names. - Web UI: dashboard, devices and signals, installer and grid-code setup pages, diagnostic captures
(I-V scan, grid waveform, fault recordings) with browser viewers for waveforms and I-V curves,
log console. - Gated inverter register writes (EMS mode, forced charge/discharge, SOC limits, export limit,
power limitation, start/stop) with an allow-list, range checks, read-back verification, a
start/stop follow-up that reports when the inverter has actually stopped or restarted, and a
power-limit re-assert for string inverters after a power-stage restart. - Power-stage acceptance ranges per inverter model (
data/dsp_params/) applied to installer and
profile writes. - Modbus-TCP slave on port 502 served from the signal store.
- iSolarCloud uplink presenting the dongle as the stock unit.
- Tiered RS485 polling (1 s / 5 s / 30 s / 5 min) with a filtered
/api/signalsendpoint. - Reset diagnostics: RTC journal with the previous boot's log tail and core-dump summary, optional
UDP syslog,make deploywith log streaming across the OTA. - Stored core dumps: summarised in "Last reset" and
/api/diag, served at/api/coredump, and
erased by the boot after the one that reported them. - Inverter clock sync from SNTP local time after boot and daily, independent of the writes switch.
- Four generic entries (
winet-s.yaml,winet-s-ethernet.yaml,winet-s2.yaml,
winet-s2-ethernet.yaml) with the production package set, and debug entries for a first install. - Site files under a git-ignored
sites/directory that set the node name,
cloud_firmware_versionand local options on top of an entry. cloud_firmware_versionsubstitution for the version string reported to iSolarCloud.- Native-API device entities as an opt-in package (
common/native_entities.yaml) in place of
MQTT discovery. - Generator inputs under
data/(register maps, grid-code XMLs, translations, stock parameter
tables, power-stage ranges),make genandmake check-gen. fast_loopoption of the RS485 master: the main loop runs without its idle delay while a
transaction is in flight (default off).- Stock-OTA packaging, network flash backup and package-server tools for the first install
(tools/package_sgu.py,tools/flash_backup.py,tools/deploy_debug.py,
tools/fake_iconfig_server.py). - CI: host suites, web suite, generated-file check and
esphome configon every push; firmware
builds on tags.
Changed
- Power-limit reason code 1 is labelled "Temperature or microgrid derating".
- Default log level INFO.