Modbus digital input (Discrete Input)
Connect the relay contacts of the control box to the digital inputs of the module. The module must provide the inputs as discrete inputs (function code 02), a closed contact reads as active.
Parameters
| Name | Description | Value | Level |
|---|---|---|---|
id | Modbus ID | int | required |
host | IP address or hostname | required | |
port | Port | int | required |
maxconsumptionpower [W] | Guaranteed minimum power (Pmin) Power limit applied to the root circuit while the limit is active. | optional | |
w4input | W4 input Digital input number for the W4 signal (Dimmer for controllable loads), counting from 1 (first input = 1) | optional | |
w3input | W3 input Digital input number for the W3 signal (Zero export, 0%), counting from 1 (first input = 1) | optional | |
productionnominalmax [Wp] | Installed generator power Rated generator/module power of the installation (reference value according to § 9 EEG). | optional | |
s1input | S1 input Digital input number for the S1 signal (60% export power limit), counting from 1 (first input = 1) | optional | |
s2input | S2 input Digital input number for the S2 signal (30% export power limit), counting from 1 (first input = 1) | optional |
Configuration example for evcc.yaml
If you don't want to configure via the UI, you can alternatively use this YAML block.
hems: type: template template: fnn-modbus
# Modbus TCP modbus: tcpip id: 1 host: # Hostname port: 502 # Port maxconsumptionpower: # Guaranteed minimum power (Pmin) (W), Power limit applied to the root circuit while the limit is active. w4input: 1 # W4 input, Digital input number for the W4 signal (Dimmer for controllable loads), counting from 1 (first input = 1) w3input: 2 # W3 input, Digital input number for the W3 signal (Zero export, 0%), counting from 1 (first input = 1) productionnominalmax: # Installed generator power (Wp), Rated generator/module power of the installation (reference value according to § 9 EEG). (optional) s1input: 3 # S1 input, Digital input number for the S1 signal (60% export power limit), counting from 1 (first input = 1) (optional) s2input: 4 # S2 input, Digital input number for the S2 signal (30% export power limit), counting from 1 (first input = 1) (optional)