Webinar of iotas

15 may, 2020

On May 14, the Internet of Things Association began a series of online seminars. Members of the association will talk about their IoT solutions, their practical application, and the possibilities that these solutions provide.

Rightech’s software engineer Kristina Goldinova was among the first speakers to talk about how to organize complex business processes using simple devices.

Together with the participants of the seminar, the possibilities of connecting different types of devices to the Rightech IoT Cloud cloud platform were considered, as well as their use for the construction of automation scripts.

Case №1 Agile-gong

According to the Agile concept, every day at 12 o’clock all Rightech employees gather at the Daily meeting. The usual notification in Slack may not be noticed during the work, so a new solution was invented – Agile-gong.

How is it implemented? Iron is NodeMCU (a miniature analog of Arduino with a built-in Wi-Fi module), a servo drive, and a capacitor. Every weekday at 12 o’clock, it is necessary to ensure that the output shaft of the servo drive with impact equipment at the end is turned at an angle sufficient for the gong to ring and notify everyone about the rise.

The connection diagram for iron is quite simple:

On the platform side, a device model was developed. It describes the parameters that can be received from the device, and the commands that can be sent to it. In the interpretation of the MQTT command, these are messages for the client with a certain topic and data, in our case, the data contains the necessary rotation angle.

Then an object was created with an identifier by which authorization on the platform occurs. After connecting, the display looks like this:

In commands there is the option of sending a rotation command at an angle of 0 and 90 degrees.

Now you need to add automation scripts. We will create an automatic machine that, when the right time comes, will go into a 90-degree rotation state, then in the cycle for a configurable number of repetitions, it will make the necessary number of strokes and return to the initial waiting state of 12 hours.

Each automation scripts is a block scheme that sets out the logic of the behavior of an object. Having registered such a script, you can take into account all the changes that occur with the device, and based on exactly what changes have occurred, the device will be able to perform appropriate actions automatically, without sending a command to the user.

The resulting automaton can be used not only for a particular device. For example, you can make the exact same system with a gong and install it in another office in your office. Then you will have the same model, two different objects, and one automaton running on two objects.

Case №2 “Smart garden”

Kristina told her personal story with the garden in the apartment, which began against the backdrop of a crazy panic of people and buying products. Once again, going to the store and seeing empty shelves where potatoes should be, she was extremely surprised. In this regard, she decided to use the last potato found in the refrigerator not quite for its intended purpose. Kristina planted this potato in a huge pot. With such a naive experiment, her garden on the windowsill began.

Sometime after planting, she understood that she forgets to water her garden on time. Against this background, she had the following ideas:

  1. Make a push notification in the platform that the soil moisture in one of the plants is below normal and it is time to organize massive watering. The need for watering is quite easy to determine by installing one soil moisture sensor in each pot.
  2. Make a similar notice that it is time to turn all the pots, since plants have the peculiarity of growing towards the sun.
  3. Arrange the on and off of the ultraviolet lamp in the dark according to the scheduler – turn on at 18:00, and turn off at 6:00.

The automaton for the first case is as follows: the transition to the state in which the notification is sent is made under complex condition – in one of the plants the humidity is below normal. The link between the conditions is OR.

The return to the initial state occurs according to the condition – in all plants soil moisture is higher than normal, ligament AND.

Automaton for the second case, turning the pots towards the Sun. The transition is carried out according to the scheduler, the reset is the unconditional transition.

And the last automaton for the third case, namely turning on and off the ultraviolet lamp at a certain time.

These automatons run on the same site and work in parallel.

As we can see, by using Rightech IoT Cloud platform, you can not only turn the ordinary open space office of IT specialists into an advanced space with notification of daily Stand-up Agile meetings but also create your own smart garden at home.

You can find even more cases based on RIC by watching the broadcast of the webinar at the link.

News from the world of IoT and the Rightech IoT Cloud platform on our Telegram channel.

Just do IoT!

We use cookies to improve your experience. Let’s accept it and move on.