MerryIoT Gateway installation
Difficulty: expert
Learning Objectives
After reading this article, you’ll be able to:
Prepare your environment to start using MerryIoT Gateway
Configure a MerryIoT Gateway
What is MerryIoT Gateway?
MerryIoT Gateway is a LoRa gateway that can be used for any Spacewell LoRa device to connect to the Workplace Platform.
MerryIoT Gateway connects to an existing (guest) Wifi, a seperate wifi network, or to ethernet.
When using WiFi: Since the data between the sensors and the hub is communicated over LoRa network, we assume the impact of this device on the WiFi network will be max 250MB/hub/month.
Unboxing - content
MerryIoT Gateway
ethernet cable
power cord
DC-Adapter
Hardware & Network Requirements
MerryIoT Gateways run on 2.4GHz
Open ports 22, 123, 443, 1680 and 1700 in the firewall. These ports only need an outbound connection.
How to Activate the Gateway
Configuration needs to be done on a computer.
Make sure to run through the config settings fairly quickly, else connection will time-out.
Step 1. Device connection
Plug in the device to power
The device will turn up in the WiFi list on your computer
Connect to the MerryIoT wifi. Use the password that is mentioned on the back of the device
Connect in the browser to IP 192.168.4.1
Step 2. LoRa Settings
Select “Set LoRa”
Select LoRa Packet Forwarder
Fill the Gateway-Info as in the following picture:
Server address EU: spacewell.eu1.cloud.thethings.industries
Server address Americas: spacewell.nam1.cloud.thethings.industries
Click “Save”
After receiving the “Success” message, go back to the main configuration page
Step 3. Set up Connectivity
Configure connectivity through Ethernet or WiFi, or configure both as a fail-over mechanism in case one of the connectivity types experiences issues:
If your configuration was successful (power = on/blue; WiFi or Ethernet LED blue; LoRa LED blue):
the device will no longer show up in the WiFi scanning list of your computer,
the gateway is connected to the LoRaWAN network and is ready to handle packets.
Your Spacewell Implementation Consultant can confirm if the gateway is connecting to the Workplace platform (see https://spacewell.atlassian.net/wiki/spaces/KB/pages/492072 ).
Additional Information
LED Indicators
LED Sequence: Power (System), WAN, Wireless, LoRa
Connection through WiFi or WAN, the LED colors should always be: 3 blue lights
power on LED: blue
WiFi or LAN LED: blue
LoRa LED: blue
Solid LED indicates a static condition, the blinking LED indicates the system is in upgrading status, or activating the device to link to the corresponding ports
| Solid On | Blinking | Off |
---|---|---|---|
Power System (blue) | Power ON | Booting (ignore bootloader) | Power Off |
WAN (blue) | Ethernet plug & got IP address | Connecting | Unplugged |
Wireless (blue) | WiFi station mode & got IP address | Connecting | Wireless disabled |
LoRa (blue) | LoRa is working | Connecting | LoRa is not working |
Button Actions
There is only one button (Reset Button) on the back: upon Reset, all the configurations will be gone and you have to do all the configuration settings again.
Assigned MAC addresses
The MAC address that is visible for the device on the local network depends on the connection mode.
The MAC address referenced on the back of the device, is the Wi-Fi MAC address.
Interface | MAC address |
---|---|
Wi-Fi station | base_mac |
Wi-Fi SoftAP | base_mac, +1 to the last octet |
Ethernet | base_mac, +3 to the last octet |
Upgrade the firmware version
To check the current firmware version, select Configure OTA mode
To obtain the latest firmware:
configure your device to make sure it’s connected to the internet
enable the OTA Server Daily Check to ensure timely updates.
Troubleshooting
Steps to troubleshoot an offline device:
Are you sure the correct ports were opened on the network?
Check the LED lights
Check if the gateway is connected to the correct network (on the switch)
Check if there is network connectivity on the patch in the switch (aka: connect the cable of the patch to your pc)
Replace a non-working hub with one that is confirmed working
If the non-working one is connected to the patch of the working one and this works: there is an issue with the patch/switch
If the working one is connected to the patch of the non-working one and this works: there is an issue with the hub
If you don’t recognize the MAC address of the device on the network, refer to the different MAC addresses described above (see MerryIoT Gateway installation | Assigned MAC addresses).
Hub provisioning
If your hub is not showing up on https://spacewell.atlassian.net/wiki/spaces/KB/pages/492072, make sure to communicate the device EUI to the Spacewell support team.
Search