I continue to talk about the development of iron with us. So, the outlet. Able to turn on and off at the command, has a temperature sensor.
At first glance, the situation is quite simple: there is a ready-made device, it is generally understandable how it works - but it did not enter the mass market. Too complicated, incomprehensible and troublesome in normal use for a person without IT education. And it costs quite a lot. I want more convenient, easier, more understandable and cheaper.
The serial model in the analysis. The main things: the case, the socket itself, the voltage control board with a capacitor, the board with the controller, the radio module with the antenna, the SIM slot.')
Unlike the
tracker , where we had to work a lot with iron, the sockets of our manufacturing partner were already “in shape” and, in general, showed themselves very well. The main problems were in software, both low-level and high-level.
Outlet network
Of course, I immediately wanted to get rid of the SMS channel. Regular sockets send and receive SMS themselves. It is not very reliable and quite expensive for the owner. So, we are completely with a clear conscience reduce the cost of use through the use of GPRS. This already cuts costs for the owner almost tripled.
All outlet commands come from our server. All telemetry goes to our server. The user interacts with this server, although for him he acts as something of a transparent proxy. The server controls that the team has reached. And he also sends an SMS with the status - the subscriber does not need to spend money on each individual message.
That is, by introducing an intermediate proxy server, we achieved three important effects at once:
- The socket has become cheaper to operate (we were able to designate a fixed 99 rubles per month instead of incomprehensible costs).
- We were able to "wind" any scripts over the iron without modifying this iron.
- And we have a place where you can easily and quickly configure and configure the device without a programmer and connections to anything. At that time, there simply were no friendly interfaces, and we immediately wanted to make the socket clear even to pensioners.
An important factor in the transition from SMS sending from the outlet to the GPRS connection with the server was also the fact that when using a large number of devices in the long term (in three or four years, when they may be hundreds of thousands per district), we Let's create the problem of overloading the SMS channel. There was also a GPRS outlet on the market, but at the cost of the purchase and operation it was almost twice as high as we wanted.
Software Functionality
So, the socket itself was able to initially process the SMS, respond to them with other SMS, give the sensor data and close-open the contacts on command from the chip. Inside the device itself, all the logic was implemented - this is the functions of the schedule, and the reaction to temperature and the rest. In fact, all this was hardcoded, and any change in the algorithm meant the need for a flashing device. And we very little believed that someone on the mass market would seriously reflash the outlet.
So, we carried out almost all logic on the server. The server can do the following things:
- Gives commands to the outlet, making sure that the outlet has worked. Similarly for other direct teams.
- The schedule creation interface and the implementation of sending commands at the predetermined time are implemented.
- And in the same place can be programmed response to various kinds of events, for example, a change in temperature. The user sets the necessary conditions in a very simple interface, and the server acts as a programmer of the socket, passing it down the technical stack (as if the user was directly writing a new configuration file to it).
The interface for setting the schedule and scripts
Log temperature in our office.Tests
With the product will be in demand, we are happy to understand almost immediately. The fact is that the first user of the device was our WEB-interface programmer, who without hesitation stuck one in front of his server. As he explained, this is the easiest way to remotely restart it.
All beta testers immediately recalled their dachas. After a couple of words about the fact that it would be good to get ideas on the use associated with the thermal sensor, the director of our branch suddenly burst into the testing program. “Last year, my pipes froze at my dacha - let's make a prototype” - and took one device. He also became the most active beta tester, because the pipes in the country he was excited quite strongly. Constantly wrote notes, explained what exactly I want to change in the interface and so on.
Closer to winter, we put prototypes in our office and set up to turn on the heaters 1 hour before the start of the working day. It turned out to be very convenient - warm, and no extra energy consumption for the night. There are a couple of moments - the washing machine is unlikely to turn on after the power supply, since most of the models have their own programmer and require additional manual pressing of the buttons to start. Also, for example, intelligent heaters behave (with a control panel).
We also looked at crash tests - the socket should survive emergency situations and report about it. Accordingly, the finals include the following functions:
- Short circuit protection is provided by zener diodes.
- When any abnormal potentially dangerous situation, the socket opens the circuit (at the power input).
- Energy after a power outage lasts for 15 seconds of the radio module and the board. Since the GPRS session is open all the time, this time is enough to send an alarm to the server so that it notifies the owner about the problem.
Considering that we are still working with a thermal sensor, users are asked to collect a temperature graph in their personal account. It was very simple, but very interesting.
Total
The cost of the device is 2,700 rubles, the subscription fee is 99 rubles per month (an unlimited number of SMS alerts are included).
- Power of connected devices: up to 3 kW.
- Load output: up to 16A - constant load, up to 70A - short-term load.
- Own consumption: 110-180mA.
- Autonomous work on the condenser for 15 seconds.
- Short circuit protection.
Here is what we got from usabilityists:
In general, the product is very clear and has no complaints from the technical side. However, it is difficult for ordinary users to master it at the first attempt. The main steps are to refine the web interface. We have already corrected the installation instructions after these results, changed the interface a bit, implementing step-by-step registration, and reduced all controls to one tab. Users liked it more. We also decided not to control the device via IVR, but we plan to make mobile applications instead.
PS Socket is now sold in St. Petersburg and Kaliningrad, in the near future - throughout the North-West region.