A GEN24 answers for the inverter on one unit ID and for the Smart Meter on another, behind the same host and port. Isolate the decision to open that second connection as a pure function, so it can be pinned down without nymea, and leave the logging of the refusal to the caller. Refuses a meter slave ID out of the 0..247 range, treats 0 as "no meter on this connection" as documented, and refuses a meter slave ID equal to the inverter one: a second socket on the same unit ID would rediscover the very same models and duplicate every child thing. That last case is reachable, since the discovery writes the scanned slave ID into the thing parameter. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
SunSpec
Connect nymea to SunSpec devices over Modbus TCP
Supported Things
- SunSpec Inverter
- Model ID 101 & 111 Single phase inverter
- Model ID 102 & 112 Split phase inverter
- Model ID 103 & 113 Three phase inverter
- SunSpec Meter
- Model ID 201 & 211 Single phase meter
- Model ID 202 & 212 Split phase meter
- Model ID 203 & 213 Three phase meter
- SunSpec Storage
- Model ID 124
Tested connections
- SolarEdge (with custom battery)
Requirements
- The package 'nymea-plugin-sunspec' must be installed.
- The SunSpec device must support SunSpec over modbus TCP