Ignition-ReactJS-Django-JSON Realtime

Demo here:

Git code here:

Download. play, modify and share. The game begins NOW !!!

So the goal is to get an Ignition server to store OPC-UA data to a database. Then have your Apache server running your Django back-end that uses a PHP script to read the data directly from the database and return the JSON encoded version. Then you have a front-end react app fetch that JSON from the backend and put it in some components.

The main focus is for your Django application to eventually use TensorFlow’s Python API to perform sequential prediction on historical equipment data (RNN with LSTM units?) and serve up those predictions back to Ignition/React?

Any thoughts on how to architect your RNN and get the training data required?

1 Like

That helps, thanks.

Any thoughts on how to architect your RNN and get the training data required?

I haven’t paid much attention on RNN and LSTM algorithms. My main focus for is:

  1. Maintenance optimization.
  2. Process optimization (includes work flow process also)
  3. Asset optimization.

Plant and infrastructure managers understand these 3 key words very well and they get excited to share their ideas. I think, to dive deeper and tap the true power of ML algorithms for automation, SI’s must hire atleast one mathematician in their team.

How do you plan to accomplish optimizations in those 3 areas of operation?

Can you elaborate on the experimental results you found?

My focus is Alarm delivery like “skype+twitter”, predictive maintenance, maintenance work flow automation and web based control room service for maintenance contractors to run a smart infrastructure. Alarm delivery server shall be optimized to manage atleast 20,000 manpower.

Without the ML aspect figured out, what advantages does your proposed system have over existing alarm notification methods within Ignition?

You are right. This will NOT happen immediately. It's a deep learning process for both man and the machine.

The biggest question in the minds of most of the SI's was, where to run Tensor flow?. I have demonstrated an affordable solution (zero cost for Django) which any Ignition SI can implement, preferably on Linux. I am NOT an expert on ML but i have to know the bigger picture and explain my client, what are the deliverables, in order to win the job. If that happens, i will hire a mathematician to do that job.

Life is too short, to know everything.

Can you elaborate on the experimental results you found with using Ignition/TensorFlow that you mentioned in another post?

First, i am an ML enthusiast and learner. As a learner, whatever experiments i did are all available as free tutorials in youtube and tensorflow website. You can also do all those experiments. Honestly, i haven’t figured out yet how to use these tools to accomplish certain objectives. Every educated human knows this challenge. We believe in these tools because big giants like Google, Amazon etc have demonstrated the power of these tools and hope something good will emerge out over a period of time.

Today, SI business is not very profitable because supply exceeds demand everywhere. In IIOT business, if you try to sell SCADA alone, nobody will buy it. You need another layer which can deal with that huge amount of data.

So, when i said i did some experiments and found it amazing, don’t think that i have discovered something which may rewrite the history of mankind. It was just the excitement of an ordinary guy. Take it easy :slight_smile:

There was an excellent ignition webinar by Kevin McClusky and someone on ia using azure and ignition subsequently a beautiful blog by ignition. Btw JavaScript also supports Watson and tensorflow! No need of django!

JS is the language of browsers. Python runs on server. Django is the best server framework to run Python applications. Whatever was built with Java and c, can be built with Python today. There’s no code protection and both can be reverse engineered very easily. Nobody can claim any IP rights on applications built with open source technology. If you release an evaluation copy of your njscada, it will be reverse engineered immediately. You can’t sell even a single copy of njscada. Even MIcrosoft can’t make a single penny with windows any more.

Coding has become like lego building blocks. Very powerful development tools are available for free. You can build awesome applications by putting the right blocks together and upload it on Github for free. Coders are killing coders. I think, we have to accept the reality. Many software companies will be wiped off in a couple of years.

Please -- please -- show us a path into our future of non-coding, non-software employment. Blaze the trail for us poor souls to follow. We'll carry on as best we can while you do that.


I mean, haven’t coders been killing coders for over 40 years now? It is truly amazing that we have jobs when this has been happening since the first computer was built. Maybe we should start looking into opening our potato farm Phil, I propose the name of P&K’s Outrageous Potatoes. We good?


A little more diversity, perhaps. I think we should grow kale, too. Then we can be P&K's Outrageous P&K. Better?


I love it, but the question is, will we use automated harvesters? If they have been built with Ignition-ReactJS-Djanjo-JSON-AI-ML, it could be the beginning of the robot uprising…


We'll just have to use our outdated skills to oppress the robots. Better that than digging potatoes by hand. I'm ready to be a robot oppressor.