Introduction
We are all connected! Yes, I’m even connected to you right now in some way. What am I talking about? We’re all connected to each other by the internet, first through traditional devices like laptops and PCs, then smartphones, and over the last four years tablets. And we’re all interacting with different systems: email, Facebook, Twitter, CRM, bespoke systems, SAP, banking and so on.
Connected devices
Over the last few years there has been a boom in off-the-shelf connected devices: home appliances, lights, health trackers, drones, smartwatches, microcontrollers and even cars.
All these devices are sending and receiving data, to us and to each other. That’s a lot of data we could potentially access, and in the very near future everything we interact with will be connected to the internet.
To borrow the words of someone very wise: yes, Obi-Wan is explaining the Force, but that’s what this “internet of things” will be like. Everywhere we go and everything we interact with, there will be data being sent somewhere.
So let’s travel into the future and see what this connected world might look like.
It is science fiction, but we’re not far from it now. Right, we can’t scan everyone’s eyes as they walk past to give each one a personalised message from GAP, but we can get close with iBeacons or proximity sensors that trigger something on a mobile device. You walk through a GAP store past an iBeacon giving out a signal. Your phone picks up the signal, which triggers the GAP app to show you personalised information about special offers you might be interested in.
Doesn’t that look cool? And we can do it now. One more example: Skype’s real-time translator is like something from Star Trek, with its universal translator.
What do we do with all this data?
We start with data that matters to you: information about your health, the temperature of a fridge, the charge in your car, how many lifts are running, or even what music is trending on Spotify. Apple’s HealthKit does this. It collects data from connected health devices and makes it available to show how healthy we are, or in my case how unhealthy.
This network of connected data lets businesses receive the data that’s important to them and act on it. Combined with other solutions, businesses can make informed decisions in real time and have the information delivered wherever they are, on any device. Azure Machine Learning can predict what comes next based on the data from these devices. Companies can see how many people are looking at a particular product using iBeacons.
Another example is using sensors to monitor the ovens chickens are roasted in. If an oven’s temperature drops, that could start a workflow for someone to go and check the oven and, more importantly, that the chickens are OK. This is where K2 comes into play.
The true power of K2
K2 has one unique feature that allows this interaction between internet-connected devices, a workflow engine and a web form builder: SmartObjects.
With SmartObjects, K2 can talk to virtually any data source, whether it’s a SQL or Oracle database, Dynamics CRM, Salesforce or SAP, and to endpoints, whether a DLL assembly or web services. Those last two are the key to K2 talking directly to connected devices, and in some cases it can be a two-way conversation.
Most connected devices come with an API in the form of RESTful services, so third parties on different platforms can build apps around them.
Robotics (K2D2)
You can see an example of using DLLs with K2 in my previous post about K2D2. In that example K2 sends commands to move the robot around, and the robot sends its sensor information back to K2. So we can have a SmartForm that acts as a controller for the robot, which could be used on a mobile device or inside SharePoint. The data coming from the robot can be recorded in a SharePoint list or another data source. The sensor data could also steer the path of a workflow. With this two-way communication, a workflow could navigate the robot based on the sensor information coming back.
Other sensors
What about other connected devices, like microprocessors and health trackers? K2 can talk to those too. We could take data from health trackers and build a health tracking system for patients, so if a patient’s heart rate dropped or they weren’t getting enough exercise, medical practitioners would be notified.
With microprocessors we can build systems that monitor the environment around them, with the information they gather monitored through K2. For example, a temperature sensor monitoring a room, or a button that starts a workflow when it’s pressed. Or you book a meeting room and the lights in the room switch on at the time of the meeting.
These are just a few examples. There’s so much more we can do with endpoints, and it doesn’t have to be connected devices: K2 can use other services such as an SMS service or any number of Azure data services.
Machine learning
How about sending all this data into Azure Machine Learning so we can start predicting the behaviour of these devices, then feeding the results back into K2? We could monitor the data coming back from a lift, and depending on the results from Azure, trigger a workflow for maintenance to check the lift for any repairs it needs.
Conclusion
With K2 SmartObjects we can talk to virtually anything through endpoint assemblies, which opens up a whole world of possibilities for what K2 can treat as a data source. And its own API lets third-party services start a workflow. That makes K2 a very powerful platform for interacting with the growing Internet of Things. As these devices get cheaper and more kinds of devices become internet-enabled, businesses will increasingly want to interact with them, and K2 is in the perfect place to handle that.