Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Automatically translated by Lango

DifficultySchwierigkeitsgrad: expertExperte

Content

Inhalt

Table of Contents
minLevel1
maxLevel1

Learning Objectives

After reading this article, you’ll be able to:

  • Prepare your environment to start using Tabs Mini Hub

  • Configure a Tabs Mini Hub

What is

Lernziele

Nach der Lektüre dieses Artikels werden Sie in der Lage sein:

  • Bereiten Sie Ihre Umgebung für die Verwendung von Tabs Mini Hub vor

  • Einen Tabs Mini Hub konfigurieren


Was ist Tabs Mini Hub?

Tabs Mini Hub is a LoRa gateway that can be used for any Spacewell LoRa device to connect to the Workplace Platformist ein LoRa-Gateway, das für jedes Spacewell LoRa-Gerät verwendet werden kann, um sich mit der Workplace-Plattform zu verbinden.

Tabs Mini hubs connect to an existing (guest) Wifi or seperate wifi network, analog to ethernet and VLANs.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.

Hardware & Network Requirements

Mini hubs run on 2.4GHz

See below table for information on which ports to open, if they should be open for in- and/or outbound traffic etc

Hubs verbinden sich mit einem bestehenden (Gast-)Wifi oder einem separaten Wifi-Netzwerk, analog zu Ethernet und VLANs.


Da die Daten zwischen den Sensoren und dem Hub über das LoRa-Netz übertragen werden, gehen wir davon aus, dass die Auswirkungen dieses Geräts auf das WiFi-Netz maximal 250 MB/Hub/Monat betragen.

Hardware- und Netzwerkanforderungen

Mini-Hubs laufen auf 2,4GHz

In der folgenden Tabelle finden Sie Informationen darüber, welche Ports geöffnet werden müssen und ob sie für ein- und/oder ausgehenden Datenverkehr geöffnet sein sollten.

We sync all our hubs to the same open NTP (network time protocol) servers so we have consistent timings in our data warehouse.

How to use below table

  • as mentioned above, ideally just the ports mentioned should be opened

Expand
titleNetwork Traffic Netzwerkverkehr - Whitelisting von URLs & Ports
Note

We recommend not to use specific IP addresses or DNS destinations in the firewall as they can and probably will change in the future!

  • protocol information and AL descriptions are extra

Depending on the environment main location, Spacewell Workplace tenants are created in an EU- or US-environment. Hence, for some ports to be opened, the destination address might be a different one
und Ports

Wir synchronisieren alle unsere Hubs mit denselben offenen NTP-Servern (Network Time Protocol), damit wir in unserem Data Warehouse einheitliche Zeitangaben haben.

Verwendung der folgenden Tabelle

  • wie oben erwähnt, sollten idealerweise nur die genannten Ports geöffnet werden

Note

Wir empfehlen nicht bestimmte IP-Adressen oder DNS-Ziele in der Firewall zu verwenden, da sich diese in Zukunft ändern können und wahrscheinlich auch werden!

  • Protokollinformationen und AL-Beschreibungen sind extra

Je nach Hauptstandort der Umgebung werden Spacewell Workplace-Mandanten in einer EU- oder US-Umgebung erstellt. Daher kann die Zieladresse für einige zu öffnende Ports eine andere sein:

  • eu: spacewell.eu1.cloud.thethings.industries

  • usa: spacewell.nam1.cloud.thethings.industries

DestinationReiseziel

PortHafen

ProtocolProtokoll

DirectionRichtung

AL descriptionBeschreibung

https://spacewell.eu1.cloud.thethings.industries/

1700

UDP

In- & outbound

Sensors Telemetry data pushEingehend und ausgehend

Sensoren Telemetriedaten Push

1881-1887

TCP

In- & outbound

Sensors Telemetry data pushEingehend und ausgehend

Sensoren Telemetriedaten Push

https://spacewell.nam1.cloud.thethings.industries/

1700

UDP

In- & outbound

Sensors Telemetry data pushEingehend und ausgehend

Sensoren Telemetriedaten Push

1881-1887

TCP

In- & outbound

Sensors Telemetry data pushEingehend und ausgehend

Sensoren Telemetriedaten Push

mh.sm.tc

[3.121.98.110]

rjs.sm.tc

[3.121.98.110]

7000

TCPOutbound

Ausgehend von

WSS

7001

TCPOutbound

Ausgehend von

Load BalancerLastausgleicher

7002-7512

TCPOutbound

Ausgehend von

Load Balancer Lastverteiler REST API

8881-8887

TCPOutbound

Ausgehend von

Events dataEreignisdaten - MQTT

9191, 9193

TCPOutbound

Ausgehend von

CUPS

When using 4G

If you work with a 4G router (hotspot), no ports need to be opened on the network, as they will be open on the router. This way, you can set up a system that is completely disconnected from the existing IT infrastructure.

How to Activate the Hub

Image Removed

  • Press the reset button (small button at the back of the gateway next to the USB-C port) for 5 seconds until the LED blinks rapidly GREEN<->RED for a couple of times.

  • Hold the SETUP (button at the top of the gateway, next to the LED) for 10 seconds until the LED blinks rapidly in RED.

  • The gateway now exposes a WiFi AP whose SSID is MINIHUB-xxxxxx where xxxxxx is the last 6 digits of the gateway ID.

  • The password for this network is printed on the back panel of the device under WiFi PW.

  • After connecting to this network go to 192.168.4.1 using a web browser to access the WiFi config page:

  • Select the WiFi network and enter the password if it’s a closed network.

  • Select the “Save and Reboot” option.

  • If your config is right, the gateway will blink GREEN for a few seconds while it connects to this network.

  • Then, it will blink GREEN<->RED for a few seconds while it connects to the CUPS endpoint and fetches the necessary information to connect to the LNS traffic endpoint.

  • If your configuration was successful, the LED will be solid GREEN which means that 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

    Bei Verwendung von 4G

    Wenn Sie mit einem 4G-Router (Hotspot) arbeiten, müssen keine Ports im Netzwerk geöffnet werden, da sie auf dem Router geöffnet sind. Auf diese Weise können Sie ein System einrichten, das vollständig von der bestehenden IT-Infrastruktur abgekoppelt ist.

    So aktivieren Sie den Hub

    Image Added

    1. Drücken Sie die Reset-Taste (kleine Taste auf der Rückseite des Gateways neben dem USB-C-Anschluss) 5 Sekunden lang, bis die LED ein paar Mal schnell GRÜN<->ROT blinkt.

    2. Halten Sie die SETUP-Taste (oben auf dem Gateway, neben der LED) 10 Sekunden lang gedrückt, bis die LED schnell ROT blinkt.

    3. Das Gateway stellt nun einen WiFi-AP zur Verfügung, dessen SSID MINIHUB-xxxxxx lautet, wobei xxxxxx die letzten 6 Ziffern der Gateway-ID ist.

    4. Das Passwort für dieses Netzwerk finden Sie auf der Rückseite des Geräts unter WiFi PW.

    5. Nachdem Sie sich mit diesem Netzwerk verbunden haben, gehen Sie mit einem Webbrowser zu 192.168.4.1, um auf die WiFi-Konfigurationsseite zuzugreifen:

    6. Wählen Sie das WiFi-Netzwerk aus und geben Sie das Passwort ein, wenn es sich um ein geschlossenes Netzwerk handelt.

    7. Wählen Sie die Option "Speichern und neu starten".

    8. Wenn Ihre Konfiguration richtig ist, blinkt das Gateway einige Sekunden lang GRÜN, während es eine Verbindung zu diesem Netzwerk herstellt.

    9. Dann blinkt sie einige Sekunden lang GRÜN<->ROT, während sie sich mit dem CUPS-Endpunkt verbindet und die erforderlichen Informationen für die Verbindung mit dem LNS-Verkehrsendpunkt abruft.

    10. Wenn Ihre Konfiguration erfolgreich war, leuchtet die LED durchgehend GRÜN, was bedeutet, dass das Gateway mit dem LoRaWAN-Netzwerk verbunden ist und bereit ist, Pakete zu verarbeiten. Ihr Spacewell Implementierungsberater kann bestätigen, ob das Gateway mit der Workplace-Plattform verbunden ist (siehe /wiki/spaces/KB/pages/492072 ).

    Additional Information

    Operating Modes

    Configuration Mode

    Zusätzliche Informationen

    Betriebsmodi

    1. Konfigurationsmodus (CONF)

      1. In this mode, the device acts as a WiFi AP to which users can connect and configure a WiFi
        network(s) to which the gateway will connect to during normal operation. The device cannot
        route LoRaWAN packets in this mode.

    2. Gateway Mode (GW)

      1. In this mode, the device acts as a gateway to route traffic between the LoRaWAN Device
        and the Network. The WiFi AP for configuration is not available in this mode.

    LED States

    Image Removed

    Button Actions

    There are three possible button actions on the the Tabs Mini Hub

    1. SETUP Button pressed for 10s:

      1. Switch to CONF mode if in GW mode.

    2. SETUP Button pressed for 5s:

      1. Reboot if in CONF mode, do nothing in GW mode

    3. RESET Button pressed for 5s:

      1. Factory reset (wipe out WiFi and LNS credentials, though CUPS credentials are retained).

    Troubleshooting

    1. Are you sure the correct ports were opened on the network?

    2. Check the LED lights

    3. Make sure there are not typos in the hub board ID (ask customer to take a picture of the sticker at the back of the device)

    4. Check if the hub is connected to the correct network (on the switch)

    5. Check if there is network connectivity on the patch in the switch (aka: connect the cable of the patch to your pc)

    6. Replace a non-working hub with one that is confirmed working

      1. 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

      2. If the working one is connected to the patch of the non-working one and this works: there is an issue with the hub

    Hub provisioning

    If your hub is not showing up on
      1. diesem Modus fungiert das Gerät als WiFi-AP, mit dem die Benutzer eine Verbindung herstellen und ein WiFi
        Netzwerk(e), mit dem/denen sich das Kabelmodem im Normalbetrieb verbinden wird. Das Gerät kann nicht
        LoRaWAN-Pakete in diesem Modus weiterleiten.

    1. Gateway-Modus (GW)

      1. In diesem Modus fungiert das Gerät als Gateway, um den Verkehr zwischen dem LoRaWAN-Gerät
        und das Netzwerk. Der WiFi AP für die Konfiguration ist in diesem Modus nicht verfügbar.

    LED-Zustände

    Image Added

    Tasten-Aktionen

    Auf dem Tabs Mini Hub gibt es drei mögliche Schaltflächenaktionen

    1. SETUP-Taste 10s lang gedrückt:

      1. Wechseln Sie in den CONF-Modus, wenn Sie sich im GW-Modus befinden.

    2. SETUP Taste 5s lang gedrückt:

      1. Neustart im CONF-Modus, nichts tun im GW-Modus

    3. RESET-Taste 5s lang gedrückt:

      1. Zurücksetzen auf die Werkseinstellungen (WiFi- und LNS-Anmeldedaten werden gelöscht, CUPS-Anmeldedaten bleiben jedoch erhalten).

    Fehlersuche

    1. Sind Sie sicher, dass die richtigen Ports im Netzwerk geöffnet wurden?

    2. Prüfen Sie die LED-Leuchten

    3. Vergewissern Sie sich, dass es keine Tippfehler in der Hubboard-ID gibt (bitten Sie den Kunden, ein Foto des Aufklebers auf der Rückseite des Geräts zu machen)

    4. Prüfen Sie, ob der Hub mit dem richtigen Netzwerk verbunden ist (am Switch)

    5. Prüfen Sie, ob der Patch im Switch mit dem Netzwerk verbunden ist (aka: verbinden Sie das Kabel des Patches mit Ihrem PC)

    6. Ersetzen Sie eine nicht funktionierende Nabe durch eine, deren Funktionstüchtigkeit bestätigt ist.

      1. Wenn der nicht funktionierende Schalter mit dem Patch des funktionierenden Schalters verbunden ist und dies funktioniert: Es gibt ein Problem mit dem Patch/Schalter

      2. Wenn die funktionierende Nabe mit dem Patch der nicht funktionierenden Nabe verbunden ist und dies funktioniert: Es gibt ein Problem mit dem Hub

    Hub-Bereitstellung

    Wenn Ihr Hub nicht auf /wiki/spaces/KB/pages/492072, make sure to communicate both the device EUI and the "WiFi password" (authentication code; that is printed on the sticker on the back of the device) to the Spacewell support team.

    The Device EUI is the first number (58A0…) mentioned on the sticker.

    InfoIdeally just send a picture of the information on the back to

    Stellen Sie sicher, dass Sie sowohl die EUI des Geräts als auch das "WiFi-Passwort" (Authentifizierungscode, der auf dem Aufkleber auf der Rückseite des Geräts aufgedruckt ist) an das Spacewell-Supportteam übermitteln.

    Die EUI des Geräts ist die erste Zahl (58A0...), die auf dem Aufkleber angegeben ist.

    Info

    Idealerweise senden Sie einfach ein Foto der Informationen auf der Rückseite an den Spacewell Support.


    SearchSuche

    Live Search