This paper discusses an IoT framework which allows rapid and easy setup and customization of end-to-end solutions for field data collection and presentation; it is effective in the development of both informative and transactional applications for a wide range of application fields, such as home, industry and environment. <p> </p>
On the “far-end” of the chain are the IoT devices gathering the signals; they are developed used a full Model Based approach, where programming is not required: the TaskScript technology is used to this purpose, which supports a choice of physical boards and boxes equipped with a range of Input and Output interfaces, and with a Tcp/Ip interface. The development of the needed specific IoT devices takes advantage of the available “standard” hardware; the software development of the algorithms for sampling, conditioning and uploading signals to the Cloud is supported by a graphical-only IDE. <p> </p>
On the “near-end” of the chain is the presentation Interface, through which users can browse through the information provided by their IoT devices; it is implemented in a Conversational way, using the Bot paradigm: Bots are conversational automatons, to whom users can “chat”. They are accessed via mainstream Messenger programs, such as Telegram(C), Skype(C) or others, available on smartphones, tablets or desktops; unlike apps, bots do not need installation on the user device. <p> </p>
A message Broker has been implemented, to mediate among the far-end and the near-end of the chain, providing the needed services; its behavior is driven by a set of rules provided on a per-device basis, at configuration level; the Broker is able to store messages received from the devices, process and forward them to the specified recipient(s) according to the provided rules; finally, finally is it is able to send transactional commands, from users back to the requested device, to implement not only field observation but also field control. <p> </p>
IoT solutions implemented with the proposed solution are user friendly: users can literally <i>"chat with their devices",</i> asking for information, providing commands, and receiving alert notifications, all with their favorite (mobile) terminal. <p> </p>
To demonstrate de effectiveness of the proposed scenario, several solutions have been set up for industrial applications; such “mobile dashboards” are presently used by managers and technicians to keep track of their machines and plants.
<p> This paper discusses the Model-Based design approach in the applicative design of Cyber Physical Systems and, in particular, focuses upon the abstraction of the Communications resources used in such systems. Two relevant cases are considered in the discussion, namely the HTTP protocol and the ModBUS-RTU protocol. </p> <p> The discussed approach has been implemented in an existing Model-Based technology, TaskScript. The above mentioned protocols, among others, have been made available to the applicative designer at the Model Level, abstracted according to the presented approach. Results are reported, demonstrating the effectiveness of the approach: real case applications have been effectively developed in less than one day. </p>