23 Commits
Author SHA1 Message Date
Sleeper85 ee12380087 YamBMS: Inverter brand registry and RS485 entry point
Rename the inverter registry to yambms_brand_registry.yaml and add the new brands.
yambms_rs485.yaml becomes the file to include, with a rs485_protocol var that
selects PYLON or Voltronic LIB.
2026-11-08 23:08:34 +01:00
Sleeper85 281d39ac18 New inverter brand select drives the CAN and RS485 protocol
BREAKING CHANGE: both inverter link selects are renamed, so their stored value is
reset. The link stays inactive until an inverter brand is selected. See
documents/README/changelog/Changelog_Inverter_brand_and_protocol.md

New `Inverter brand` select (16 brands) and reworked `Protocol` select, now
defaulting to `Automatic`. Selecting the brand is enough, the protocol follows;
an explicit protocol still takes priority over the brand.

The protocol is resolved once, at boot and on every select change, into
`canbus${canbus_id}_active_protocol` / `rs485${rs485_id}_active_protocol`.
Everything else reads that integer instead of dispatching on `active_index()`,
where `== 5` meant LuxPower purely by convention of the option order.

New shared `yambms_inverter_registry.yaml`: protocol dictionary (`YB_PROTO_*`),
brand to protocol mapping, and the battery mode and note of each couple.

Removed the `YamBMS name` select: the manufacturer name sent on CAN frame 0x35E
now derives from the protocol in use, which is what `Automatic` already did.

Removed the `canbus_extended_ack` substitution: both the 11-bit and the 29-bit
ACK triggers are registered, so the Schneider XW Pro needs no configuration.

Renamed CAN `PYLON 1.2` to `PYLON V1` and RS485 `Pylontech` to `PYLON`.

New per-link diagnostics `Inverter link protocol`, `Inverter battery mode` and
`Note`, with a markdown card in the dashboards, alongside a system fault card.

Telemetry: `comm_bus` / `comm_protocol` replaced by `inverter_brand`,
`inverter_bus`, `inverter_protocol` and `inverter_protocol_source`, one slot per
declared link instead of a single value overwritten by the last one.

RS485 packages split: `yambms_rs485.yaml` is the entry point carrying the selects,
`yambms_rs485_pylon.yaml` the protocol implementation. The baud rate is applied
with `set_baud_rate()` + `load_settings()` instead of extending the uart
component, so boards using a UART expander no longer need their own include.

Fixes:
- the CAN bus kept re-emitting the last frame every 100 ms when the protocol was
  set to `Disabled` at runtime
- the RS485 link kept answering the inverter with stale data on `Disabled`, the
  proxy sensors it reads are now invalidated
- a `Disabled` link no longer lights the fault LED, it is unregistered from the
  fault registry instead of being reported as failing
- the reported bus and protocol were overwritten when a node declares several
  inverter links
- changing the protocol restarts the CAN frames immediately instead of waiting up
  to 30 s for the next retry tick
2026-11-08 23:08:33 +01:00
Sleeper85 0f7bf94111 Added KS BMS support #151 2026-11-08 23:08:33 +01:00
Sleeper85 5841192281 Added Ecoworthy BMS (RS485) 2026-02-16 11:24:26 +01:00
Sleeper85 f38f12df00 Simplified list of supported inverters 2026-02-16 11:02:54 +01:00
Sleeper85 18d8306de5 YamBMS 1.6.0 readme 2026-01-15 18:54:26 +01:00
Sleeper85 f3e77c327f Improved Board documentation 2025-12-29 13:49:30 +01:00
kolins-cz 7c5523eaf4 Add Studer XTM-4000 to supported inverters (#133) 2025-12-10 12:50:07 +00:00
Sleeper85 d6f211fdd3 Added Waveshare ESP32-S3-RS485-CAN 2025-11-14 23:27:10 +01:00
Sebastian fffd7c6087 Add support for external balancer
This adds support for external balancers, for example NEEY using JK BLE.
2025-08-14 15:01:51 +02:00
Sleeper85 ca43d7a310 Update README 2025-07-24 21:18:54 +02:00
Sleeper85 4115a33d87 Merge pull request #33 from 20after4/olimex-evb
Board package for olimex ESP32-EVB
2025-03-09 22:30:22 +01:00
Mukunda Modell 3f9956f4d5 Board package for olimex ESP32-EVB 2025-03-08 05:35:15 -06:00
ogremustcrush 4a0f3c6090 Update Supported_devices.md to add SRNE HESP48120U200-H 2025-02-07 12:05:34 -07:00
Sleeper85 d889d091f7 T-CAN485 chips SN65HVD231DR / MAX13487E 2025-02-07 14:56:09 +01:00
Andy Fraley 7ec5fc02ac Add afraley 12000XP 2025-02-06 21:57:28 -05:00
Sleeper85 c7b8c29fbf Update Supported_devices.md 2025-01-06 21:37:30 +01:00
Sleeper85 402d895a48 Update of supported devices 2025-01-05 22:05:20 +01:00
Sleeper85 70a00ff733 YamBMS 1.5.2 2024-12-23 22:42:35 +01:00
Sleeper85 24b90f4bd1 Update README files 2024-11-16 21:37:30 +01:00
Sleeper85 78e268d46b Update Supported_devices.md 2024-11-04 10:15:47 +01:00
Sleeper85 b2761ace67 Update supported devices README 2024-10-19 14:34:53 +02:00
Sleeper85 da7d3a43f5 YamBMS 1.4.5 2024-10-07 18:25:33 +02:00