Adding a Connector to a Gateway Follow
This article will walk you through the process of connecting a Connector for Wireless Sensors to your MobiusFlow gateway.
Overview
Connectors have multiple options for both upstream and downstream connectivity. All data telegrams are checked for integrity before being securely forwarded to a MobiusFlow Gateway. In addition to TLS (optional), each connector is configured with a pre-shared key ensuring that it is paired with the correct gateway.
Once the data has been received by a MobiusFlow Gateway it is decoded and the associated MobiusFlow object is updated with the latest sensor readings which can then be processed by the gateway.
Before a connector can be used it must be paired with a specific MobiusFlow Gateway. You will need to configure both the connector and the gateway.
Gateway Configuration
Add Sensor Gateway Service to Configuration
- Login to your gateway's configuration app
- Navigate to the Configuration tab
- Drag a sensor gateway service into the configuration
Configuring the Service
- Ensure that Enabled and Run At Start are checked
- Enter a Gateway Port. This is usually 1883 or 30814
Adding a Connector
- Click on the blue + button below Authorised Sensors to add a connector
- Optionally enter a description for your connector
- Select Connector for Wireless Sensors in the Type field
- In the SID field enter a service ID for this connector. This can be any valid uppercase 3 digit hexadecimal string but ensure that it will not conflict with any other service ID
- Enter a pre-shared key into the PSK field. This can be an combination of upper and lower case letters, numbers, and symbols. The pre-shared key is used to authenticate the connector and to ensure message integrity so treat is as a secure password
- Click on the Save Changes button
- Repeat these steps to add additional connectors, but ensure that the SID is unique for each connector
Deleting a Connector
- Click on the red X next to the connector to delete it
Start / Restart the Service
- Navigate to the Diagnostics tab
- Locate the sensor gateway service in the list of services
- Click on the button in the Action column to start and stop the service
Connector Configuration
Set Connector in Configuration Mode
- Power up the connector
- Press and hold the Configuration Button using a small pin. Release the button as soon as the Network Connected indicator (green LED) starts flashing rapidly (ten times per second)
Viewing the Connector Configuration Web Pages
- Using a mobile phone, tablet or PC connect to the WiFi network created by the connector. The network's SSID is the connector's serial number and follows this format - IA_XXXXXX
- Enter the network password. The default is iaconnects but this can be changed later
- Open a web browser and enter 192.168.4.1 in the address bar and hit Enter
- The connector's configuration home page will load into the web browser
Configuring the Connector's Network Connection
- Click on the Configure Network button
- Select the Network Type (WiFi or Wired if available)
- Select the TCP/IP Mode
- Enter the TCP/IP Settings for your network (if required)
- Enter the WiFi Settings (if required)
- Click the Save button and return to the Home page
Configuring the Connector's Mobius Settings
- Click on the Configure Mobius button
- Enter the SID. This must be the same as the SID you entered when adding the connector to the sensor gateway service above
- Enter the PSK. This must be the same as the PSK you entered when adding the connector to the sensor gateway service above
- Enter the IP Address or URL or the MobiusFlow gateway
- Enter the Port number that you entered when configuring the sensor gateway service above. If you are using TLS (default for a virtual cloud gateway) note the following:
-
- If you entered 1883 above, enter 8883 into the connector
- If you entered 30814 above, enter 30815 into the connector
-
- Select whether you are using certificates (default for a virtual cloud gateway) or not
- Click the Save button and return to the Home page
Rebooting the Connector
- Click on the Reboot Device button to reboot the connector and activate the new settings
Checking the Connection
Verify Network and Mobius Connection on Connecter
After configuring and rebooting the connector you can check its connection status by viewing the LEDs on its front panel.
There are two LEDs which indicate the connection status, the green LED indicates network connection status and the blue LED indicates MobiusFlow connection status. You should see the following:
- The green LED will start to flash as it attempts to connect to the network. It will turn solid once it has established a connection
- The blue LED will then start to flash as it attempts to connect to the MobiusFlow Gateway. It will turn solid once it has established a connection and the PSK has been verified
Verify Connection in MobiusFlow
Once the connector as established a connection with the gateway a virtual service will appear in the services list on the diagnostics tab. Each connector will get its own virtual service. You can use this virtual service to see any auto-created objects that belong to the service.
If the connector disconnects, its virtual service will disappear from the list. It may be a few seconds before the virtual service disappears.
Viewing Connector Details
To view the connector's details such as its IP address and uptime you can click on the View Objects link on its virtual service.
The connector will create a few objects when it connects. Use these to see live sensor data, connector status etc
Comments
0 comments
Please sign in to leave a comment.