IoT end-node configuration: Single-purpose tool versus the swiss knife approach
My background is in mechanical engineering. I know a thing or two about various types of conveyors, and what are they being used for. I have even designed one or two. That being said, my coding background is almost non-existent and the minute I see a chunk of code is the minute I stop reading further - or at least that was the case before I got my toes tipped into the IoT (internet of things) world.
The internet of things device - in general, and as I can understand it - is any device that has a connection to the internet. Doesn't matter if the device goes directly to the local network or it goes through various radios to eventually end up on the "internet". ACRIOS Systems , among others, is one of the many IoT device developers and manufacturers.
Within this IoT world, there are little to no plug&play solutions and if they are, it is usually from the companies that can supply the whole end-to-end solution. But even then, some configuration of the end device might be and is needed and the question is, how do you want to configure such a device? Who will configure it and what are his or her technical skills?
Configuration approaches and their benefits
I am aware of 2 different approaches:
Both the approaches have their pros and cons. In the first case, the benefit for the customer or end-user is that they don't have to really deal with configuration and the manufacturer is responsible for anything. While it all works, this is arguably the best approach. The issue comes when it doesn't work - and that's usually the case. For example, you specify that you will be connecting a Kamstrup meter and you want to read out specific registers via Modbus protocol. The device comes to you and it is ready to get connected to Kamstrup. You arrive at the metering station and since Murphy's law works 100% of the time, you find a Diehl meter instead of Kamstrup and your only option is to get back to your office and mail the device to the manufacturer for re-programming and you have to go there the second time. This can really get time & source-consuming as well it is not possible to do the last-minute installation in case you have some of the devices in stock. Also, you have to note which device has which configuration.
In the second case, you have the luxury of an easy configuration - usually over some USB cable but I have seen also the NFC being used - and in case you find a different meter with different registers, it is a matter of changing the registers. Great, you don't have to turn back and mail the device.
But what if...
...but what if there is anything you want to or need to configure but the option is simply not within the GUI? For example some of the cases I have encountered:
领英推荐
Of course, all of the use-cases above can be done within a GUI, but it would have to be a very complex GUI and there still will be a chance that the feature you want and need is not there. Above the 2 approaches mentioned above, there is also a 3rd approach being used within some PLCs and such. That is the implementation of the scripting interface which allows you to change anything in case you have to, but you don't need to.
In our case, we do use the LUA scripting interface in our devices
Pros
Cons
Luckily, most of the cons can be outweighed by the support we are able to provide you. We do have a full-time colleague whose job description is to help you with the configuration and/or LUA scripts to ensure your project goes as smoothly as possible.
Thank you for your time and for reading all the way to the bottom of this article. If you find it interesting feel free to share it with others. I am interested what is your experience with the IoT device configuration. Have you come across any limitations which are not listed above or have you seen the scripting interface before? Are you aware of other configuration approaches which are not listed here? Let's discuss under the article in the comment section and alternatively let's discuss on the call or by email at smetana(at)acrios.com.
Thank you and I am looking forward to hearing your feedback on this very first article on the topic of IoT and the approach we have!
Lukas Smetana / ACRIOS Systems
Metering infrastructure and meter data management services for developers, building managers, and utility companies
2 年That's a great opening article Lukas Smetana - I look forward to more! :-) We take different approaches to suit different commercial models. Mostly we offer "connected scripted hardware" but there is still a place?for "island GUI hardware" in some contract structures....but is essential that this hardware also supports scripting so that (a) it can be managed in an automated way and (b) we can setup details the "basic user" has no reason to ever touch.
IoT optimist ·?CINO Induo · CTO/co-founder AKKR8 · EUTECH Technology Council | I help companies grow through IoT - ???+46-76-5755751
2 年Lukas Smetana -glad that you published this article, a masterpiece! I can clearly see that no matter the application or use-case within IoT we meet the same problems! In the device we have been working on at AKKR8 (accurate) we have locked scripting possibilities for the users but we can add functions upon request. In that case we do the implementations and testing, and the customer can contribute or pay for the service. As we only report via MQTT we use MQTT callbacks for configuration of parameters in the device, so when it publishes its values, it will check for updates to be downloaded. This can be anything from reporting interval to controlling the output, well the list of options is quite long. Keep up the good writing!
Energy & IoT
2 年Thanks Lukas for this article. And bravo. You obviously know exactly what you are doing and what is needed to accelerate and roll out IoT.? I spontaneously thought of the question whether it is also possible to address LUA with a LoRaWAN downlink. This would certainly make it possible to provide better support remotely, since only certain parameters are changed.