Many electricity meters or solar panel inverters are equipped with an S0 connection according to the DIN EN 62053-31 standard. This connection gives a pulse at each unit of consumption. With this, the S0 WiFi Gateway can be connected so that consumption can be monitored. The gateway transmits all data to the home automation system you are using via MQTT. This can be hosted locally or somewhere in the cloud.
Is my meter suitable?
Gateway-enabled meters usually say imp/kWh. First, verify that this is the case. If in doubt, email a photo of the meter to support@smartgateways.nl
Connecting is child’s play:
The S0 WiFi Gateway comes with two connection wires. These should be connected to the electricity meter. Next, the gateway can be configured.
Configuration
The S0 WiFi Gateway will broadcast a WiFi network when first used. If connected to the “Smart Gateways S0” ssid, one’s own network can be selected. The current meter reading can be entered. The factor is the multiplier for the number of units consumed after one pulse. In most cases this is 1, namely one pulse per watt. The number of pulses per unit is always listed on the meter or in the specifications.
Next, enter the MQTT data from your broker. You can find an installation manual of Mosquitto MQTT on our support page.
If save is pressed, the configuration will be saved and the gateway will connect to your wifi network. The gateway will now transmit the new meter reading to the mqtt server at each rotation.
MQTT topics
The S0 WiFi Gateway will publish to the following MQTT topics:

These topics can be read by Home Assistant, Domoticz or any other package and then displayed in a dashboard. As a result, the possibilities are endless!
Web server with JSON API
The S0 WiFi gateway features an internal web server on which all information can be accessed via an API link. The Web server runs on port tcp/82 and can be found based on mDNS via http://connectix_s0_gateway.local:82/s0/api/read. The image below shows a screenshot of the contents:

Memory
The gateway will save the current meter reading to the gateway’s internal memory every 10 minutes. This prevents the gateway from transmitting the initially set meter reading during a power outage or reboot. As a result, the home automation system you use will always display the correct meter readings. If there has been no change in meter readings since the last backup, no new backup will be made. This reduces the flash memory of the gateway and you will enjoy this gateway for a long time.
Firmware updates
Development is an ongoing process. As a result, new firmware updates may be released. These updates can be installed automatically. The gateway will check for updates every day. These can then be installed at the touch of a button.
Gateway version information and available new firmware are also transmitted via MQTT. This allows this information to be displayed on the dashboard you use. The new updates can even be installed through the Home Assistant dashboard without physically being at the S0 Gateway!
Home Assistant dashboard
For example, within Home Assistant, the following dashboard can be displayed.
Click here for a LIVE DEMO of Home Assistant. Username: demo – password: smartgateways
Support for Home Assistant, Domoticz, and Homey
Connect the gateway to your home automation software of choice. manuals can be found on our support page.
Diagnostic data
A column of diagnostic data may also be displayed. This shows such things as the gateway’s mac address and installed firmware. Clicking on the right lightning bolt will install the latest firmware. This is done completely automatically.
The gateway will publish the time when it was last started. This can help find faults.
The panel on the right shows the strength of the wifi signal (rssi) received by the gateway. A reception is very good between -30 and -63 dB. Between -63 and -75 is moderate and lower than -73 is poor. This information gives you a good idea of whether the gateway is functioning properly.
Power connection
The S0 Gateway must be powered via a micro usb adapter. It is not included because most people still have one lying around. This allows the gateway to be offered at a reasonable price.













