Housing and communal services is one of the most socially significant areas for the application of automation technologies. A number of problems have matured in the region, which led to the signing of a federal law on the creation of a state information system for housing and communal services. This article will discuss the possibility of using Tibbo technologies in such projects.

The following are just some of the problems in the housing and utilities sector:
- Inconsistency of charges in receipts to actual services rendered or resources consumed;
- Unscrupulous attitude of market players leads to non-optimal delivery of services (for example, the effect of "overheating").
- The cost of manually collecting meter readings by service companies.
- The lack of a unified information base and an opaque scheme of work of the participants of business processes do not allow to plan budget allocation wisely, feedback from the consumer is lost.
- And without the means of monitoring the technical condition of the facilities, the response time to emergency situations may be delayed to unacceptable values.
This and much more pushes for the creation of dispatching and control systems in the housing and utilities sector.
In some regions of the Russian Federation, automated systems are already functioning. However, the absence of a legislative base does not oblige players to use the proposed funds. Moreover, the difference in the methodologies for collecting and processing information from these systems makes it difficult to scale the solution to the interregional level. And this does not allow responsible federal agencies to consider the problems of the housing and utilities segment in a comprehensive manner.
As a result, the urgent problems led to the signing of the
federal law No. 209-FZ of July 21, 2014 “On the State Information System of the Housing and Communal Services” (GIS
Housing and Public Utilities). From the point of view of consumers, the adoption of this law introduces convenience and “transparency” in the process of providing utilities. Through a personal account, the user can not only see the costs of resources and pay them conveniently for themselves, but also leave the complaint online (for example, if the receipt has a cleaning position, but in reality it was not). To update the data and prevent irregularities in the system, a mechanism for checking the readings is provided: consumers transmit readings of metering devices (for example, water consumption), the controlling authority compares the sum of the readings of individual devices with the total house consumption values. The difference between these indicators is the basis for launching the process for identifying violations. According to the law, since January 1, 2017, the consumer is not obliged to pay for receipts issued outside the GIS housing and communal services or receipts, the readings of which differ from the electronic copy. Access to the system will be provided within a single portal of public services.
')
Automation housing

In the context of the GIS utilities system, we can take a closer look at the meter reading metering subsystem. This subsystem is a classic task of housing and utilities management, which can be divided into several levels:
1. Lower level. Control instrumentation, automated control devices. At this level, the selection of counters, calculators, PLC, is determined by what protocols the device will transmit information.
2. Communication. The choice of technologies and tools for the organization of the main and duplicate communication channels. It also defines the devices for negotiation (gateways) of protocols and interfaces.
3. Dispatching. Selection of application software that collects and processes data.
4. Integration. Providing communication with other subsystems and systems of the upper level.
In general, the integrator can choose any solution to create such a system. However, within the framework of GIS utilities, there are additional requirements that determine the approach to dispatching. For example, paragraph 14 of the
technological requirements of the GIS housing and communal services determines that the system must be laid down mechanisms for the possible expansion of functionality. Paragraph 6 of the same document reads:
“6. The system must operate in continuous mode. The operator provides:
a) uninterrupted round-the-clock operation of the system 7 days a week, 365/366 days a year;
b) fast (no more than one hour) recovery of the system and its parts in case of failure of their work;
c) constant monitoring of events and the current state of the system and its parts, allowing continuous monitoring of the availability of the software and hardware system and the current state of equipment use, as well as immediately notifying the system operator about the failure of the system and its parts;
d) monitoring and analysis of current performance and other parameters of the system and its parts, timely identification of threats that limit its performance and stability ... "
However, many objects already have established automation. And integrators are tasked to ensure interaction with the GIS utilities, while the existing scheme should not disrupt their work.
Given the above, there are obvious problems in creating a universal dispatch system for its implementation in the framework of the GIS utilities:
- Collection of information on various protocols (depending on the already installed measuring equipment at the facility).
- Selection of the main communication channel (Ethernet, Wi-Fi, GPRS, radio channel, etc.).
- The coordination of equipment interfaces with the main communication channels.
- Creation of backup (backup) communication channels.
- Organization of the new information flow, without violating the previous scheme of work.
- Logging service information for the subsequent resolution of problem situations.
- Online monitoring of the state of automation devices.
- The ability to quickly detect and solve problem situations.
- Fast build-up functionality in the future.
- Flexible software platform that provides information gathering on any possible protocol, custom logic, etc.
With Tibbo technology, you can solve most of the problems that arise. Consider briefly the possibilities of our decisions.

Transfer of instrument readings via Ethernet (Internet)
The classic situation at the facility is the remote collection of meter readings. In this case, instruments usually use serial interfaces RS232, RS485. To solve this problem, we propose the use of a simple interface converter DS1100. The converter can operate both in server mode and in client mode. Controlled data transfer rate, setting of bit timings, choice of TCP / UDP protocols and other flexible parameters allow to transparently transmit information flows regardless of the protocols used. In this case, the protocol is decrypted on the server.
DS1100 is capable of transmitting data over a local network or via the Internet.
Duplication of the communication channel
Often a monitoring system is already installed at the facility. For example, a GPRS modem for remote data transmission is connected to a heat meter. The integrator needs to organize a new communication channel to integrate the system with the GIS utilities. In this case, the use of a
DS1101 multiport converter is
recommended . The converter, having received data from the metering device, duplicates the transmission to the second serial port (GPRS modem) and to the Ethernet line. If necessary, you can specify a different work scenario: continuously transmit data through one of the channels, but when a request appears on a priority (for example, GPRS), orient the flow of information to it.
In the case of primary automation of an object, using a
DS1101 or
DS1102 converter , an Ethernet data transmission channel is formed with the possibility of creating a backup communication line (GRPS, radio channel, Wi-Fi, etc.). In practice, on the basis of Tibbo devices, you can create almost any scenario for organizing communication nodes.

Expansion of functionality
All previous cases can also be implemented on the
Tibbo Project System hardware platform. The modularity of the TPS system allows you to put into the system the possibility of hardware expansion functionality. For example, if you need to monitor dry contacts in the future, this is accomplished by installing appropriate tibbits (I / O modules) on the board and a slight change in firmware. The device does not even have to be removed from the object: all manipulations are carried out at the installation site, and the flashing procedure is implemented remotely.
Here you can see in more detail what the TPS system is.
Protocol gateway
In any of the above cases, we assume that the entire information flow exists “outside the protocols”, i.e. direct bitwise data transfer is implemented. Such a method is not always applicable. For example, to reduce traffic through the GSM module, you can “parse” the ModBus protocol from the heat meter (or another device) and send only useful information to the server. This task can be performed on any Tibbo module. Free programming allows you to implement a local data collection server: polling metering devices using a native protocol, caching data when there is no connection, transferring readings to the server. A special case of this solution is the hardware gateway of the protocols, such as
ModBusRTU / ModBusTCP . Thus, Tibbo devices allow not only to realize communication channels, but also eliminate the problem of "compatibility" of various metering devices and external systems.
In addition, programming Tibbo modules allows you to create local system logic, giving it more intelligence: monitoring broken lines, validity of received values, data caching, escalation of alarms and events according to specified scenarios, development of control actions and much more. Communication devices are transformed into full PLCs.

Logging
If problems arise, a request from users may arrive with a significant delay (up to several days). As a result, it is not always possible to understand the causes of non-standard situations, since there are no log data: which system parameters were set at the moment of the problem, which commands came from the meters, which request the server sent, etc. Keeping a complete event log allows you to sort out the problem even after a considerable time.
When using Tibbo technology, it is proposed to use data logging using the external monitoring system
AggreGate . Tibbo devices transmit to the server their own state and all parameters of the connected devices. AggreGate records this data on the server, providing convenient access to it through the desktop client or web interface. History retention time, archiving, database type, polling period, and other parameters are flexibly configured. In the event of a communication interruption, the modules are able to locally cache the status information and transfer it to the server at the time the link is restored.
Dispatching on AggreGate
When dispatching, a specialized software is installed on the server that collects information from local devices, processes it and provides generalized data to the operator or other systems. In some cases, for these purposes, SCADA systems are used, which often have redundant, unclaimed functionality, and functions useful for the housing and utilities sector may be absent. The Tibbo solution is based on the SCADA system, but modified specifically for use in the utilities sector - this is
AggreGate Meter Reading .AggreGate Meter Reading has all the necessary tools for organizing the convenient work of the dispatcher, as well as for integration with other subsystems. For example, not all classic SCADA can work with trends or have reporting tools. In AggreGate, this is implemented on a low platform level. AggreGate + Tibbo devices provide flexible hardware and software for automation of utilities: equipment diagnostics, early detection of problems, escalation of alarms and events, notification of responsible personnel, logging of system data, flexible work with measured values ​​(history, aggregation, statistics, trends, complex calculations, graphs, reports, etc.). Open API functions, technical support from developers, and competent documentation allow AggreGate to be integrated in horizontal and vertical directions.
Some advantages of AggreGate:
- Support for standard protocols (M-Bus, Modbus, OPC, SNMP, etc.).
- Metering and control devices with other protocols are easily integrated using Tibbo's programmable hardware solutions.
- Instrument readings can be imported from other systems through SOAP. Another way to "connect" systems is to connect to an external SQL database.
- Flexible, customizable data collection and storage history rules.
- Built-in tools for alerts, reporting, schedules.
- Forecasting based on correlations, trends and trends allows operators to be warned in advance if consumption growth is about to cross the threshold of the Service Level Agreement (SLA).
- Detailed analysis of peak values.
- Export readings in various formats.
- An open source API for integrating with billing and analytical systems and providing information to customers and service providers.
- Ability to work based on OEM agreement.
Using Tibbo technology we get a complete and harmonious hardware and software complex, represented by one whole. This approach allows you to instantly fix abnormal situations and promptly respond to a malfunction of the system nodes. Due to this, the fulfillment of the conditions for the requirements of the GIS utilities is achieved: “quick (no more than one hour) recovery of the system and its parts in the event of their failure”. Logging status information allows you to analyze emergency situations, make adjustments to the system.
The combination of the hardware flexibility of the TPS system and the ability to remotely flash the devices (using AggreGate) ensures the GIS utilities requirements for future functionality enhancement. Tibbit with the GSM modem function allows you to create a primary or backup communication channel based on the communication lines of cellular operators without using external modems. Thus, most of the emerging problems of automation of housing and public utilities are solved on the
basis of technologies of a single vendor, which significantly simplifies commercial processes and system operation.