EVIO Gateway measures with current sensors, controls Smart Grid contacts, or converts RS485 signal to TCP/IP as a basic gateway.
1. EVIO Gateway introduction
EVIO Gateway can be used as a measurement device using current sensors, a controllable device to connect Smart Grid contacts or similar, or a basic gateway to convert RS485 signal to TCP/IP.
EVIO Gateway is an add-on device to the EVIO controller which serves as the primary logic unit. EVIO Gateway offers two RS485 ports, three inputs for current sensors, and two relay outputs. It can be connected to the local area network using Ethernet cable or WiFi. With EVIO Gateway the RS485 signal can be converted to TCP/IP. With this functionality old devices that don't support TCP/IP become accessible to the local network (LAN, WLAN), furthermore, conversion to TCP/IP becomes useful when wiring to the device we want to measure is too complicated, instead the Reduxy Gateway is placed near the device for connection via RS485 and communication to EVIO Controller via TCP/IP.
Using current sensors you can use EVIO Gateway as a meter, measuring the energy consumption of the measured device by grabbing phase lines of the device with current sensors. EVIO Gateway measures the current flow (absolute value, without knowing the flow direction), and uses 230V as a default voltage, or it takes voltage per phase from one of the devices connected to the EVIO controller which will provide voltage measurements.
Through relay output, EVIO Gateway allows control of devices that support ON/OFF regulation, meaning EVIO Gateway can turn them off or on. One of the use cases is Smart Grid or EVU contact, where you can control heat pumps by decreasing or increasing their consumption. It could also be used for other applications, where a basic ON/OFF device regulation is used.
1.1 Indication lights of EVIO Gateway
For a quick overview of EVIO Gateway's state of operation, indications lights are given:
Explanation of each light:
-
LED 1:
- green = power supply ON
- blue = connected to the internet
-
red= error, white = update/reset
-
LED 2:
- green blinking = reading on PORT 1
-
blue blinking = writing on PORT 1
-
LED 3:
- green blinking = reading on PORT 2
-
blue blinking = writing on PORT 2
-
LED 3:
-
yellow = Modbus communication
-
yellow = Modbus communication
-
LED 4:
- green = relay 1 ON
- bule = relay 2 ON
- turquoise = relay 1 and relay 2 ON
Symbolic picture of EVIO gateway:
2. First connection to EVIO Gateway
EVIO Gateway offers two connection options, the first is to connect with an Ethernet cable directly to the network (LAN), and the second is to connect to EVIO Gateway's access point.
2.1 Wired connection
Physically connect EVIO Gateway to the local network (LAN), to an internet switch or router. First, make sure that EVIO Gateway is plugged into the power supply, which is included in the EVIO Gateway delivery package. Once connected to LAN, the EVIO Gateway configurator should appear ("popup") automatically in your default browser.
Symbolic picture of EVIO Gateway connection to switch/router:
2.2 Wireless connection
To connect to the EVIO Gateway's Wi-Fi access point, check available Wi-Fi on your smartphone or personal computer.
Wi-Fi SSID is "GATEWAY", NO password is needed to connect to this WiFi network. Once connected to WiFi, the EVIO Gateway configurator should appear ("popup") automatically in your default browser.
2.3 Sign-in to EVIO Gateway Configurator
Once connected to the WiFi or LAN, the configurator should appear ("popup") automatically in your default browser, in case it doesn't open the browser enter the following URL address: http://gateway.local, if the configurator is still unreachable please check your internet connection, and check that you are connected to the same LAN or WLAN like EVIO Gateway. Once connected to the EVIO Gateway configurator, log-in parameters are the following:
- Username: admin
- Password: admin
2.3.1 Configure network settings for Wired network connection
Since the DHCP protocol for assigning the IP of EVIO Gateway is set as the default protocol, we strongly recommend setting the static IP of EVIO Gateway. Go to Network settings/Wired network choose protocol to STATIC and set other parameters:
- IP address: set IP,
- Netmask: set Netmask (usually 255.255.255.0),
- Gateway: set your network Gateway (if needed),
- Primary DNS: set your DNS (if needed),
- Secondary DNS: set your DNS (if needed),
- Click the "Save" button under the network settings
2.3.2 Configure network settings for Wireless network
First, fill in the needed information about the local WiFi chosen as the preferred WLAN. Scan for the available WiFi networks by clicking on the WiFi sign icon on the right. Once selected enter password and connect.
Since the DHCP protocol for assigning the IP of EVIO Gateway is set as the default protocol, we strongly recommend setting the static IP of EVIO Gateway. Go to Network settings/Wireless network choose protocol to STATIC and set other parameters:
- IP address: set IP,
- Netmask: set Netmask (usually 255.255.255.0),
- Gateway: set your network Gateway (if needed),
- Primary DNS: set your DNS (if needed),
- Secondary DNS: set your DNS (if needed),
- Click the "Save" button under the network settings
2.3.3 Home page of the EVIO Gateway
After entering the EVIO Gateway configurator the home page opens, where data are available for the currents, voltages (data are transferred from the EVIO SmartBox), and power of the measured device.
2.3.4 EVIO Gateway Serial port settings
If RS485 ports are used for the serial connection, it is necessary to set the following settings:
- Baud rate: set Baud rate,
- Data Bits: set the number of data bits,
- Stop bits: set the number of stop bits,
- Parity: choose parity.
- after all serial settings, click the "Save" button at the bottom right.
2.3.5 EVIO Gateway MQTT settings
The EVIO Gateway device enables the configuration and readings from the device using the MQTT broker to which the device connects. For successful communication with the MQTT broker, it is necessary to fill in the following information:
- Enable MQTT: Yes/No, select Yes,
- Host: enter the URL where the broker is located,
- Username and password: Enter the username and password used to log in to the broker's URL,
- Use SSL: if SSL is used,
- Verify server cert: For the example of using a server certificate,
- Server CA chain (PEM format): select the server certificate file,
- Client private key (PEM format): select the server certificate file,
- Client public key (PEM format): select the public key file,
- after all MQTT settings, click the "Save" button at the bottom right.
Instructions for using the MQTT broker are available at MQTT instructions.
2.3.6 EVIO Gateway System settings
The following options are specified in the system settings:
- Username: cannot be changed,
- Password: enter a new password,
- Password confirmation: re-enter the new password,
- Current 1/2/3: set the current ratio of the current sensor,
- Relay 1/2 - default: specify the relay's docked position,
- Enable Modbus TCP/IP: in the case of reading on RS-485 inputs, it is necessary to enable Modbus TCP/IP,
- after all system settings, click the "Save" button at the bottom right.
3. Add EVIO Gateway to EVIO SmartBox in EVIO SmartBoxConfigurator
3.1 Ping test between EVIO SmartBox and EVIO Gateway in same (LAN,WLAN) network
Once EVIO SmartBox and EVIO Gateway are connected to the same (LAN, WLAN) network, a "ping test" can be performed to make sure that the EVIO SmartBox can access the EVIO Gateway.
Login to the EVIO configurator application and click on the "Setting" button down left on the home page.
To access a "Ping test" addition three steps (click) are needed:
Click one: + sign System; Click two: + sign Tools; Click three: Ping test
Ping test:
To perform the ping test, just enter the IP for EVIO Gateway and click the "Test" button. You can use an IP address or DNS address which is the gateway.local.
Ping test can have two responses:
1. Ping test is successful:
1. Ping test failed:
3.2 EVIO Gateway as EVIO meter
An example of how to add a EVIO Gateway as a EVIO meter can be found on the link: Kronoterm Heat pump with SG ready contacts, where EVIO Gateway serves as an energy meter for the heat pump in example. Relays of EVIO Gateway have to be configured accordingly, as described in the example.
Symbolic image from example:
Modbus settings from example for the Redxi meter :
Current sensors and relay output settings from example for EVIO meter:
3.3 EVIO Gateway for use of RS485
In contrast to point 3.2, EVIO Gateway can be used as an add-on device for EVIO SmartBox, placed to another location, where a connection between the Controller and Gateway needs to be established (2.1.3 Testing connection between EVIO Gateway and EVIO SmartBoxon LAN).
An example of EVIO Gateway with the use of RS485 for connection to Smart meter Iskraemeco AM550:
Connect to Smart meter Iskraemeco AM550
Symbolic image from example:
Modbus settings from the example for EVIO Gateway used with RS485:
Comments
0 comments
Article is closed for comments.