SMA Data Manager
In the web interface of the SMA Data Manager you need to activate "Modbus Server activated" in the section "External communication".
Domaines d’utilisation
- Compteur avant réseau
- Production solaire
- Batterie
Paramètres
| Nom | Description | Valeur | Niveau |
|---|---|---|---|
id | ID Modbus | int | obligatoire |
host | Adresse IP ou nom d’hôte | obligatoire | |
port | Port | int | obligatoire |
capacity [kWh] | Battery capacity | facultatif | |
minsoc [%] | Minimum charge Lower limit as configured on the battery system. Used by optimizer. | facultatif | |
maxsoc [%] | Maximum charge Upper limit as configured on the battery system. Used by optimizer and, on some devices, for grid charging. | facultatif | |
maxchargepower [W] | Maximum charge power Highest power the battery system can charge with. The optimizer plans with charging up to this power. Some devices also use it as grid charging power. | avancé | |
maxdischargepower [W] | Maximum discharge power Highest power the battery system can discharge with. The optimizer plans with discharging up to this power. Smart mode assumes the battery supplies at most this power to vehicle charging. | avancé |
Exemple de configuration pour evcc.yaml
Si vous ne souhaitez pas passer par l’interface, vous pouvez utiliser ce bloc YAML à la place.
meters: - name: my_grid type: template template: sma-data-manager usage: grid
# Modbus TCP modbus: tcpip id: 2 host: # Hostname port: 502 # Portmeters: - name: my_pv type: template template: sma-data-manager usage: pv
# Modbus TCP modbus: tcpip id: 2 host: # Hostname port: 502 # Portmeters: - name: my_battery type: template template: sma-data-manager usage: battery
# Modbus TCP modbus: tcpip id: 2 host: # Hostname port: 502 # Port capacity: 50 # Battery capacity (kWh), optional minsoc: 0 # Minimum charge (%), Lower limit as configured on the battery system. Used by optimizer. (optional) maxsoc: 100 # Maximum charge (%), Upper limit as configured on the battery system. Used by optimizer and, on some devices, for grid charging. (optional) maxchargepower: # Maximum charge power (W), Highest power the battery system can charge with. The optimizer plans with charging up to this power. Some devices also use it as grid charging power. (optional) maxdischargepower: # Maximum discharge power (W), Highest power the battery system can discharge with. The optimizer plans with discharging up to this power. Smart mode assumes the battery supplies at most this power to vehicle charging. (optional)