To make extension relay module (EMO-R8) working with EVOK below steps needs to be done:
Open /etc/evok.conf file
Uncomment relays assigned to EMO-R8:
Each this line begins with a character ;
This character must be removed for all lines related to the configuration for EMO-R8:
;
;Example of 8xRelay extension module addon (EMO-R8) on address 0x21
;
[MCP_2]
i2cbus = 1
address = 0x21
[RELAY_9]
mcp = 2
pin = 7
[RELAY_10]
mcp = 2
pin = 6
[RELAY_11]
mcp = 2
pin = 5
[RELAY_12]
mcp = 2
pin = 4
[RELAY_13]
mcp = 2
pin = 3
[RELAY_14]
mcp = 2
pin = 2
[RELAY_15]
mcp = 2
pin = 1
[RELAY_16]
mcp = 2
pin = 0
Save /etc/evok.conf file
Restart evok