Supported hardware
For Live data, Historical data, Datalogging to MQTT broker, and Alarming you'll need to set up a data source and add a variable. This article shows you how to do this for the StrideLinx router's Digital Input. View the installation manual for electrical wiring information.
If you're looking to control the VPN connection with use of the Digital Input, use this article instead: Switch VPN on/off.
Add a data source
The StrideLinx router's Digital Input will need to be added as a data source.
- Go to Fleet Manager > Devices and click on your device name.
- In the left menu, at Services, click on the
icon and select Data source > SMTP/GPIO.
- Enter the requested information (details below) and click on Add.
Field Description / instructions Name Enter a name for the data source. Identifier The identifier is entered automatically and ensures that every data source remains unique, even if they share the same name. IP address Leave this field empty.
Add variable
Once you've added a data source, you can add the variable.
- Under your
Data source, go to Variables and click on
Add variable.
- Enter the requested information (details below) and click on Add.
Field Description / instructions Name Enter a name for the variable. Identifier The identifier is entered automatically and ensures that every variable remains unique, even if they share the same name. Type Select Boolean. Protocol Select GPIO.
You have now made the changes in the StrideLinx Cloud, but these are not yet active in your device. You will need to push your changes to your device for them to take effect.
Temporary disconnect
After this next step, the config push, the device may temporarily disconnect and LAN communication may be temporarily interrupted while it's applying the new settings. This only takes a moment.- Click on Push config to device in the top right corner.
Test variable
The variables test is recommended to check if all added variables are configured correctly. It shows the value of all variables if everything is configured correctly and shows an error if something is not configured correctly.
- Click on Run test near the top right corner.
- The test will attempt to update values every 0.5 seconds.
- Is the test showing unexpected value? Check the configuration of the variable.
- Is the test showing a timeout error? Contact your IT to make sure the test is not blocked. The test sets up an outgoing connection from your computer to the StrideLinx router using.
Port Transport protocol Application protocol 443 TCP WebSocket
Live data, Historical data, Alarming
Now that the data source and variable have been set up, you can continue below.
- Click below to continue in the feature specific articles.