After installing MQTT broker to the Raspberry Pi, you can now set up the Robonomics SLS Gateway. All the next steps are to be performed on PC.
First you need to flash the gateway. For this:
- Set to
ONswitches 1 and 3 at the bottom part of SLS Gateway, others must be
- Connect gateway to your computer via USB type-C port on the gateway.
Then clone the repository with firmware:
git clone https://github.com/LoSk-p/robonomics-hass-utils.git
And go to
robonomics-hass-utils/esp_firmware. There you should navigate to a folder, which name depends on your OS:
Mac. To flash the SLS gateway you need to run
The following example is for Linux. First, add permissions:
cd linux sudo chmod +x Clear.sh sudo chmod +x Flash_16mb.sh ./Clear.sh ./Flash_16mb.sh
Set the switches on the back of the gateway are properly positioned. Switches 5 (RX Zigbee to ESP) and 6 (TX Zigbee to ESP) must be in the
ONposition, the others must be
Connect the type C power cable. The indicator light in the center should turn green.
On the first startup, the gateway will start sharing Wi-Fi with the SSID
zgw****. Connect to this network. Keep in mind that the signal may be quite weak, so it is better to keep the SLS Gateway closer to your computer.
If the connection is successful, the web interface will open (or you can find it on 192.168.1.1).
WI-FIpage and insert your Wi-Fi credentials by entering the user / pass and press
Savebutton. After that press
Rebootbutton. The gateway will restart and connect to your WI-Fi network.
- Find the local IP of the SLS gateway to access the web interface. For that you can use Fing app. Also, you can use
arp -ain your terminal or:
nmap -sn 192.168.xxx.0/24
ххх is your IP address in the local network.
The resulting link should look like this: http://192.168.xxx.xxx.
- Go to
Hardwareand make sure that the settings look like this. Correct the settings if necessary and click
Here is the table with required values:
|Zigbee UART RX||22|
|Zigbee UART TX||23|
|Button Mode||33 (pullUP - true)|
|Number addressable leds||0|
|Led Red (or addr)||21|
Then reboot the gateway. Choose
Reboot systemat the right top corner.
Configure automatically adding devices to Home Assistant. Go to
Home Assistant MQTT Discoveryand
Clear States. Then
Savebutton and again reboot SLS gateway:
- Connect your devices by going to
Join. Press the
Enable Joinbutton to start searching Zigbee devices. Put your sensors in pairing mode. You will see active sensors.
After connecting all sensors to the SLS Gateway, it's time to connect SLS Gateway to Home assistant with the following guide.