Rightech IoT Cloud v2.2
02 November, 2020
Introducing Rightech IoT Cloud v2.2
In this quarter we worked mainly on the stability of the platform, but also added a number of new useful features such as import/export of platform entities, error handling in the automaton editor, RIC-app – a simplified mobile version of the platform.
Import/export of platform entities
All entities on the platform are JSON files. This format is easy to read and allows easy data exchange. We have added to the interface the ability to export and import individual elements of your JSON solutions. You can import an entity from files or directly via a link, for example through the raw file view mode on github.
Now you can share your developments, find out the opinion of the community about your ideas, use ready-made solutions of other users. For our part, we will share our own experience and fill this repository with interesting projects and findings.
The ability to import / export models is especially helpful when transferring your implementation of a task to another person. It is very convenient to share the program code in the form of, for example, an Arduino sketch and an object model as a JSON file.
Moreover, you can share not only the model, but also an object with an already configured configuration and a detailed description. It is more convenient to use the copy objects function inside your account.
It also became possible to share your scripts and use the automatons of other users. Study the experience of other users. Share your achievements. Ask for advice and do not be afraid of criticism. We will also upload our own projects to github – for example, those solutions that are already used in our office and in the daily life of our employees.
Error handling in the automaton editor
Entities, model and automaton are closely related. In this case, a situation of their discrepancy may arise. For example, when a model is edited after creating an automaton or when trying to use one automaton with different models. The same problem can arise when importing automatons from third-party sources. Errors arising in this case lead to the fact that the executable machine may contain parameters, commands and events that are not in the device model. Accordingly, when such an automaton is executed, these parameters can’t participate in checking conditions, events can’t trigger a transition, and commands won’t be sent.
An automaton with errors can be saved and started, but in this case there is no guarantee of the correct execution of the automaton, therefore we advise you to pay attention to the logs of the launched automaton.
That is why we have added additional information about the errors that occur to the interface for creating and editing automatons.
In automaton states, there may be a situation where the model doesn’t have the selected actions, such as sending a command when changing the state of the automaton. This can happen when editing the device model, changing the model selected in the automaton, importing the automaton. Actions that are not in the model won’t be able to be performed during its execution and will be ignored.
Errors arising in transitions affect the mechanism for changing states in an executable automaton. In case of errors, the event that triggers the transition can’t occur and the condition that is being checked won’t be met.
Several error options are possible:
- The absence of an event that triggers a transition between states.
- The absence of a parameter that is used in the transition condition.
We are glad to announce that we have a mobile version of the platform. The application has the basic capabilities of the platform related to real-time monitoring of the state of an object and its location, to manage objects by sending commands, to monitor platform alerts.
The Android application is available in the Play Market at the link. The iOS app is coming soon in the App Store.
The list of objects shows information about the status of the objects. You can enter each object, see all its parameters, the packet history. In addition, it is possible to send commands to devices.
The menu with the map is similar to the map in the platform interface.
Messages generated in automatons are also visible in the mobile application in the message menu.
With every new release, we listen to your feedback. By combining your suggestions with our roadmap, we can continue to improve the platform while maintaining its ease of use.
Join our social networks and leave your feedback!
Follow the news on our Telegram channel. In the Telegram chat, you can meet like-minded people and get answers to your questions.