************************************************* Connecting a Gateway E32 (ESP32 Ethernet edition) ************************************************* Gateway connectors ================== The Gateway E32 has four connectors: - RJ45 Ethernet jack - 3,5mm EMS service jack connector - DC barrel jack connector (5.5/2.1mm) - JST connector (3-pin JST 1.5mm ZH) - 2022 model: Green screw terminal plug .. image:: ../images/hardware/ems-gw-e32-connectors-2021-2022.JPG :width: 600 :alt: EMS Bus Gateway E32 connectors Preferred order of connection ============================= In short this is the best order in which you should try to connect the Gateway: - Service jack (If your boiler/heat pump has one). - If you have a solar or mixer module with a bus OUT: EMS bus wires on EMS OUT terminal of the module. - If you don't have an external module use the same EMS bus terminal as to which the thermostat is connected or should be connected to. The service jack provides enough power for the Gateway. In case you use the screw terminal also plug in the DC power supply. **You do not need to use the DC power supply when you are using the service jack cable.** Service jack ============ .. image:: ../images/hardware/on-boiler.jpg :width: 300 :alt: EMS Bus Gateway on boiler With the EMS service cable from the webshop you can plug in the Gateway to the service jack of the boiler. The entire device is powered via this service jack. So no additional power supply needed. Just the jack cable is all you need. On boilers this service jack is usually located on the front near the display and the buttons, underneath a plastic or rubber flap. On heat pumps this service jack is attached to a cable under neath the front cover of the inside unit. Switch off the boiler or heat pump. First plug in the cable to the Gateway and then into the boiler or heat pump. Press the plug firmly in the connector or both sides. Turn on the boiler or heat pump. If the Gateway is plugged in correctly, it will start blinking slowly to indicate it's working and looking for the EMS bus and WiFi network. .. warning:: Do not use cheap audio cables for connecting a Gateway to the service jack of the Gateway. Most of them have very thin wires inside, this may cause lots of interference and it is a possible fire risk. The EMS service cables from the webshop are high quality cables with thicker wires inside. .. tip:: If you have a thermostat like the RC310 and the display turns off when you plug in the Gateway via the service jack, reverse the two wires on the thermostat. .. note:: If you plug in or unplug the jack cable from the Gateway first instead of the boiler side, you may momentarily shortcut the boiler. It will then reboot, which can cause some clicking noises. Nothing to worry about but just unplug the boiler side first. .. note:: Do not mount the Gateway inside the boiler or heatpump. It may get too hot for the Gateway, it will reduce WiFi reception and it possibly increases risk of fire. EMS/thermostat wires ==================== If your boiler does not have a service jack or it does but you want to mount the EMS Bus Gateway elsewhere you can use the additional screw terminal plug to connect to the two EMS bus wires. This can be in parallel with the thermostat or from inside the boiler. **You have to use the DC power supply when you are using the screw terminal.** The 2021 model has an external screw termimal plug. First connect the screw terminal plug to the jack cable and then insert it into the Gateway. .. image:: ../images/hardware/ems-gw-e32-on-screw-connector.JPG :width: 600 :alt: Gateway screw connector plug You need to connect the EMS wires to the left two terminal pins on the terminal plug. For newer models there is a 2-pin green terminal block on which you can add the ESM bus wires. On almost all boilers it does not matter which EMS wire you connect to which of these two terminal pins, as the Gateway has an internal correction circuit. However a few boilers and f.i. if you have an RC310 installed the orientation does matter. If installed the wrong way, the display of the thermostat will not show anything. If this is the case, just switch (so switch, not replace) both EMS wires on the Gateway and if that does not work switch the EMS wires on the thermostat. You can see here how to locate the correct EMS bus terminals on your boiler: :ref:`Connecting the Gateway to the boiler or heat pump side `. Ethernet or WiFi ================ The Gateway E32 has a RJ45 Ethernet port. You can use it to connect the Gateway to your router with a cable. When Ethernet is active at boot, the WiFi of the Gateway will be turned off. If no Ethernet is found, the AP will turn on. First boot -> Check the LED --------------------------- If you plug the Gateway into the boiler or you connect the power plug, the blue LED will start to blink as a sign it has booted and looking for the EMS bus. As soons as it has discovered the EMS bus and your Wi-Fi network, it will light up solid. If the Gateway has already been configured before, the LED will light up solid really quickly after boot, or it will blink slowly. But if it's new and not connected to your WiFi network yet, it will continue to blink. If the light is blinking, then go to :ref:`Connecting the Gateway to your home network`. If you don't see any LED go to :ref:`Troubleshooting`. During the power-on sequence you'll see a sequence of LED flashes: - 1 flash (slow blink) means the EMS bus is not connected - 2 flashes means the network (wifi or ethernet) is not connected but EMS is. - 3 flashes means both EMS bus and network are not connected. A steady light after the setup indicates a good connection and EMS data is flowing in.