📜 ⬆️ ⬇️

Smart Wi-Fi outlet: from idea to design and launch

Good day, friends.

We are developing in the field of IoT solutions, produce innovative products, constantly monitor the global and Russian IoT markets, monitor the latest trends and developments.

We already wrote in a previous article about how the Control Center was created - the brain of our smart home. In this article we want to tell you about one of our latest developments - a smart Wi-Fi outlet , gradually examining the stages of creation: from idea to development and launch.
')
We have long followed the development of similar devices from our competitors, looked at the reports and the demand for smart sockets and decided to introduce such a product in our product portfolio. For us it was important to create a product that consumers really want to use. A simple, intuitive and convenient device that makes life easier for people: not to worry anymore on the way to the airport and not to think about the iron left turned on, so as not to think what electricity bill will be, because they left the heated floor in the country house. And of course, they wanted to make the product better than the competition.

Studying the market of “smart sockets” and consumer needs has helped us to determine the necessary set of functions of the device being developed. At the initial stage, the Rubetek smart socket was supposed to be a compact module that is connected to the C / E / F electrical outlets.
image
Socket control was assumed using the Rubetek Control Center, using the Z-Wave protocol.

As the main functions of the device, our R & D department determined the possibility of local and remote control of the electrical load connected to the outlet and the measurement of the electrical network and load parameters (current, voltage and active power). To do this, we installed a special processor with a network parameter meter STPM32.

Outlet Options:

Network voltage up to 230 V.

The switched current is up to 11 A with a resistive load (cos φ = 1) and up to 5.5 A with an inductive load (cos φ = 0.4).

Power consumption is up to 2.5 kW with a resistive load (cos φ = 1) and up to 1.3 kW with an inductive load (cos φ = 0.4).

Of course, during the development process, after long discussions, many initial ideas had to be abandoned. The Z-Wave module was eventually replaced by a Wi-Fi module. Despite all the advantages of the Z-Wave module, for example, low power consumption, it did not allow the device to connect directly to a smartphone or router. The purchase of the Rubetek Control Center was obligatory for the use of the socket. The Wi-Fi module solved this issue, but it required a more powerful power source.

Replacing the Z-wave with Wi-Fi made it possible to make the outlet more autonomous and, thus, more comfortable and accessible to the user. The Rubetek smart socket was able to connect to the smartphone and the Internet without using any hubs, it was enough to have a Wi-Fi router that is now in almost every apartment. It turns out that the user pays only for the outlet, no additional devices are needed.

We paid no less attention to the design and dimensions of the device.

The primary task was to create the most functional and compact device. We wanted the Rubetek Wi-Fi socket to be one of the smallest among Schuko standards (a system of power plugs and sockets for alternating current, officially defined as Type F).

As a result, we have created one of the smallest outlets of the European type, the dimensions of the device are only: 53 x 68 mm.

We made our board multi-level to significantly reduce its size.

image

image

The material from which the smart socket is made - heat-resistant plastic.

image

The question remained - how to display the current load level of the connected devices directly on the outlet?

We came up with an LED bezel that would change color depending on the load. In the off state, the display color is white. Further, the colors smoothly change depending on the connected load. For smart sockets provided the possibility of dimming the backlight.

image

image

image

image

After overcoming the threshold of 2500 W, the LED starts to flash red.

Rosette - the center of the smart home

We have built in the design of the RF-receiver (433 MHz), it allowed us to significantly expand the functionality. It became possible to connect up to 100 RF devices to the device simultaneously. When triggered sensors will be notified in the mobile application. Also, by triggering the sensor, you can turn on, turn off the device or change its state.

image

The following Rubetek sensors can be connected to a smart Wi-Fi outlet:

â—Ź smoke detector
â—Ź motion sensor
â—Ź gas leak sensor
â—Ź opening sensor
â—Ź leakage sensor

Connection with wireless sensors of the Wireless RF WiFi series is established by the device using EV1527 communication protocols with a learning code.

The range of the sensors reaches hundreds of meters.

In fact, we have turned a compact outlet into a real center of a smart home. The consumer can buy an outlet and, for example, a sensor for opening, movement and smoke. It turns out that by paying 5 thousand rubles a little, the consumer receives a security complex - he can control the light and electrical appliances remotely, receives notifications when opening doors and windows, smoke and traffic.

Let's talk about the features of our outlet.

1. Integration with Apple Homekit

One of the features widely used in the operation of our devices is compatibility with the Apple Homekit.

Apple Homekit is a platform that allows you to control smart devices with voice from the “Home” application on iOS. It is necessary to connect the socket, set up its work in the application and ask Siri, for example: “Siri, turn on the floor lamp in the bedroom.” And voila, the light turned on, the command was given quickly and simply, without even touching the smartphone.

How does this happen?

In addition, our developers are in the test mode preparing the integration of a smart outlet with Amazon Alexa.

2. Ability to create scripts

Smart socket allows you to set scenarios between the connected sensors, as well as adjust the operation of the device over time. For example, when the opening sensor worked - a floor lamp or other device connected to the socket is turned on. You can set up to ten on timers and up to ten off timers simultaneously. Timers are implemented on the device itself and operate independently of the connection to the Wi-Fi network and the Internet.

All Rubetek Wi-Fi devices can communicate with each other while connected to the same local area network. They can be combined to create different scenarios of device operation.
For example:

â—Ź device status (on / off)
As an example: turn on the light when the roller shutters are closed.

â—Ź measured parameters (current, voltage, power)
As an example: send a notification if the device in the outlet consumes more than 2500W for 2 hours.

â—Ź triggering connected RF sensors.
As an example with the participation of the sensor: if there is movement in the room, the socket turns on, and with it the floor lamp connected to it lights up.

When setting up device operation scenarios, you can use RF sensors that are connected to other Rubetek Wi-Fi devices, thereby significantly increasing the radio reception area from the sensors.

3. Statistics and energy consumption in rubles

Agree, the user is much more comfortable not to keep statistics on consumption himself, but to entrust this function to a smart device. Our outlet can not only provide the owner with information about the energy consumption of each connected device, but also is capable of counting in rubles, in accordance with the utility tariffs of a particular house.

4. Upgrade firmware over the air (FOTA)

For smart Wi-Fi sockets available software update over the air. To get the latest version of the software for the device, you do not need to carry it to a service center or connect to a PC, it’s enough that the socket is connected to a Wi-Fi network with Internet access.

After a successful download of the firmware update, the device will be rebooted.

5. And how is security implemented?

Data security when communicating with the Rubetek server at the protocol level is ensured as follows.

Connection to the server is established using TLS 1.2 secure protocol using two-way authorization. Each device has its own client certificate, as well as a certificate from a certificate authority (CA). In the process of connecting the device to the server, mutual authentication takes place: the device presents to the server certificates from the trust chain down to the client, certified by a signature, the server’s authenticity on the client side is verified using the certificate of the certification authority.

In order to protect against device cloning, a unique MAC address is checked. The local connection between the device and the smartphone / tablet is protected using standard WiFi encryption. Traffic authentication is provided by digitally signing each message using a control key and a running session key. At the same time, obtaining a control key is impossible without physical access to the device (obtaining a key is activated only by pressing a button on the device).

6. It's beautiful

Our outlet was not only one of the smallest in the world, but also the most beautiful. Illumination of the LED rim is enough to use it as a nightlight, the socket is really very beautiful and looks spectacular in any interiors.

image

A smart socket is only one of several devices in the Wi-Fi line of devices developed by our company. The Control Module has already been on sale (it allows controlling air conditioners and convectors from a smartphone), other devices are also planned - we’re not going to stop on this.

The price of a smart outlet from Rubetek is only 2990 rubles, and you can get it, along with other smart devices, on our website in the “Store” section, or in the LeroyMerlin chain of stores.

Source: https://habr.com/ru/post/373915/


All Articles