Insights / Industrial IoT

IoT Monitoring Software for a SCADA System: The VikingSCADA Case

How we added a web monitoring application to the VikingSCADA product: gateways, provisioning, dashboards, remote updates and the test bench behind them.

Oil pumpjacks and a solar-powered monitoring cabinet, with a heat-map dashboard overlaid

The short answer

VikingSCADA sells SCADA software to oil, water and gas operators. Its sensor boards and hardware units were already installed on customer sites, and the product ran as a desktop application. We built the web side: field data now travels from those units through cellular gateways to a cloud database, operators build their own sensor dashboards in a browser, and new gateway software can be pushed to a chosen node from the same portal. This article is for teams that need to add web monitoring to equipment that is already in the field.

Key takeaways

  • Start from the hardware that is already installed. The web product has to fit it, because nobody will replace field units for a new portal.
  • Give every device its own credentials on first boot. Manual set-up does not scale and tends to end with shared passwords.
  • Keep the gateway image small and packaged the same way on every node, or remote updates stay a manual job.
  • Put real field hardware on a bench next to the developers. Remote testing misses most of the communication bugs.

What VikingSCADA asked us to build

VikingSCADA gives operators in the oil, water and gas sectors field data, reports and alerts from remote equipment. Its customers run wells, tanks and pumping stations that are far apart and often unattended. Without remote data, a reading means someone driving to the site and taking the measurement by hand.

The company wanted a web application that would collect data from devices already installed on customer sites, store it, and show it to the people responsible for those sites. It also wanted an easier way to install and configure firmware on new devices, which until then was slow and complicated.

What was already in the field

This was brownfield work. When we joined, VikingSCADA already had:

  • a desktop SCADA application, which we analysed before proposing anything for the web;
  • hardware units and RF SCADA sensor boards installed at end users' sites;
  • a basic web portal;
  • a first idea of the upgraded architecture, initial requirements for the web app and access to its IoT platform accounts.

We started by checking the available hardware, the processing the web part would need and the cloud pricing models on AWS and Azure. From the client's end-user documents we wrote an analysis of the desktop app and a step-by-step proposal for adding new users and devices. Once the stack was approved, we produced the project structure and the release plan.

How field data reaches the web portal

  1. Field hardwareRF SCADA boards and PLC devices measure equipment at oil, water and gas sites.
  2. GatewayA cellular gateway, and later an industrial PC, collects the readings and forwards them.
  3. Cloud API and databaseThe web application takes the data through the gateway API and stores it in a cloud database.
  4. Web portalUsers build sensor dashboards, watch node status and see when a device update is available.
  5. Update pipelineNew gateway images go to cloud storage, and a user starts the update on a selected node.

Readings go up through the gateway; software updates come back down the same way, started from the portal.

The path a reading takes in the VikingSCADA system, from the sensor board on site to the operator's browser, and the update path back.

The web application talks to the RV50 cellular gateway through its API and receives sensor data from the VikingSCADA PLC devices behind it. Everything lands in a cloud database, which feeds the dashboards. The back end runs on Node.js with MongoDB and Redis, and the front end is React with RxJS.

Map with a water treatment plant, water towers, a pumpjack and oil tanks beside a laptop showing a monitoring dashboard with trend charts, gauges and bar graphs
Remote water and oil sites reporting into one web portal, so operators follow levels, trends and node status without driving to each site.

Gateway software in two phases

The gateway layer changed during the project. In the first phase, provisioning and data collection ran as Lua scripts on LTE gateways. In the second phase, the product moved to Firefly EC-A3399C industrial PCs as field nodes, and the same jobs ran as Python software on them.

Phasing it this way meant the web portal could start on gateways that were already deployed, and the gateway layer could follow the product when it moved to new node hardware.

Provisioning a device on first boot

Before the project, installing firmware and configuring a new device took a long, manual routine. We replaced it with one tool that installs the firmware, applies the configuration and connects the device to the network.

The important part is what happens when a device starts for the first time. An automated provisioning step gives it its own credentials and settings. Nobody types them in by hand, and devices do not share one password.

Updating gateways without a site visit

Remote sites are expensive to visit, so gateway software had to be updatable from the office. Our DevOps engineers packaged the gateway software in a Docker container, so every node runs it in the same environment.

A big image is slow to send over a cellular link, so we cut the image down. The build drops dependencies and files the gateway does not need and compresses the assets that remain. An automated GitLab CI pipeline then publishes each new image to secure cloud storage.

In the portal, users see when an update is available for a device and can start an over-the-air update on the node they choose. Industrial PC nodes receive their software image updates the same way.

What operators see in the portal

Industrial monitoring produces a lot of data, and a screen full of numbers helps nobody. Our designers kept the views focused on what an operator has to act on. We redesigned the portal around a few features:

  • Sensor dashboards that users put together themselves for the sensors on their own hardware.
  • Sensor widgets for live readings.
  • Node status in real time, so a silent site is visible straight away.
  • Update notices with a button to start the update on a selected node.
  • An administrator view for approving users across companies, with company, manager and viewer sections.

After launch, the team kept maintaining the application: patches for bugs and security issues, monitoring of system health, resource use and response times, and regular backups of the data.

Testing hardware and software on one bench

Most of the risk in a project like this sits between the field hardware and the web software, and communication problems between the two are hard to reproduce from a laptop.

So we set up a working environment with real node devices in the Indeema office. Web and embedded engineers debugged the communication together, QA tested against the same hardware, and the web team checked the application with several nodes connected at once. Because developers and testers worked with the same hardware, bugs were found and fixed quickly.

Where this fits in a SCADA system

VikingSCADA's portal is a monitoring and management layer on top of the classic SCADA stack. RTUs and PLCs still read the sensors and run local control. The network carries data to the centre, and HMIs show the process to operators. What the web layer adds is access from anywhere, history in one place and software management for the field nodes.

An RTU, a rack of PLC modules, a servo drive and a network switch cabled to an HMI touch screen, with labels for HMIs, PLCs, RTUs and communication infrastructure
The classic SCADA layers: RTUs and PLCs at the equipment, the network that links them, and the HMI. The VikingSCADA web portal sits on top of these.

For how those layers work and how an HMI differs from a SCADA system, see our article on HMI and SCADA systems.

Engineering trade-offs

Lua on the LTE gateway vs Python on an industrial PC

You gain
Scripts on the existing gateway let the web product launch on hardware already in the field.
You pay
A gateway has little room for software, and logic beyond collection and forwarding gets cramped.
Choose it when
Start on the gateway when the installed base matters most; move to industrial PCs when the node has to run more.

Web portal vs desktop application

You gain
A browser gives access from any office or phone and one place to manage users across companies.
You pay
Every remote user and cloud link is something to secure and monitor.
Choose it when
Go to the web when people outside the control room need the data; invest in identity and access control from the start.

Remote updates vs updating on site

You gain
Fixes and new features reach every node without a trip to the site.
You pay
The image size, the packaging and the update path all need engineering, and a bad image can reach many nodes.
Choose it when
Use remote updates for any fleet spread over distant sites; update a selected node first before the rest.

Choosing a monitoring architecture for distributed sites

Start from what the sites already have and how they connect. The platform follows from that.

Choosing a monitoring architecture for distributed sites
DeviceFits whenConnectivityWhere control runsMain risk
Classic on-premises SCADAOne plant, or a private network to every sitePrivate fibre, Ethernet or licensed radioPLCs, supervised from a local control roomLimited remote access and data kept in silos
Web SCADAOperators and managers need access from many placesSite links plus secure internet access for usersPLCs, supervised through the browserWeak identity or access control
IoT monitoring layer on existing SCADA (the VikingSCADA approach)Many small remote sites with equipment already installedCellular through edge gatewaysPLCs and RTUs; the cloud monitors, alerts and manages updatesGaps in data when links drop, if buffering is not designed in

Decision rule: Leave control in the field, pick the transport that works at your worst site, and treat cloud monitoring as a layer that has to cope with lost links.

Before you add web monitoring to installed SCADA equipment

Questions we settle with the client before the first sprint:

  • List the devices on every site, their protocols and their firmware versions.
  • Measure the real bandwidth and outage pattern of each site link.
  • Decide how a new device gets its credentials and settings without manual typing.
  • Agree how gateway software is packaged, how big the image may be and how an update is started.
  • Pick the signals and alarms operators actually use, and build the dashboards around them.
  • Plan a bench with real field hardware for development and QA.

Common mistakes

  1. Moving control logic into the cloud

    A link outage or a latency spike becomes a process upset or a safety issue.

    Instead: Keep control and interlocks in PLCs; use the cloud for supervision, history and software management.

  2. Designing for the best-connected site

    Remote sites on cellular links drop data or flood the link.

    Instead: Size reporting rates and image sizes for the weakest link.

  3. Testing only against simulators

    Communication bugs between field hardware and the web side show up after deployment, on a remote site.

    Instead: Keep real nodes on a bench next to the developers and test with several connected at once.

Where we've built this

The case study page gives the short version of the same project, with the full technology stack and the team that worked on it.

Case studyExtending a SCADA product with cloud monitoring and gateway updatesA web IIoT application that collects and stores data from SCADA units at remote oil, water and gas sites, with sensor dashboards and remote updates for the field gateways.

Questions engineers ask

What is an example of a SCADA monitoring system?

VikingSCADA is one. Sensor boards and PLC devices on oil, water and gas sites send readings through cellular gateways to a cloud database, and operators see them on dashboards in a web portal, with node status and remote software updates.

How do you design a SCADA monitoring system for remote sites?

Start from the equipment already installed and the weakest site link. Keep control in the PLCs, collect data through gateways that cope with lost connections, give each device its own credentials on first boot, and plan how gateway software will be updated remotely.

Can web monitoring be added to an existing SCADA system?

Yes. In the VikingSCADA project the field hardware stayed in place. Gateways forward its data to the cloud, and a web portal sits beside the existing desktop application instead of replacing the equipment.

Was this useful?

Where this shows up in our work

SolutionIndustrial IoT & IntelligenceIf you need to connect SCADA and field equipment that is already installed to monitoring, analytics or diagnostics without touching control, that is our industrial IoT work.

For remote wellheads, tanks and pipelines, where links are thin and sites are unattended, see Oil & Gas.

First published

Apply this to your product

Review your platform architecture

Review your platform architecture