office@soneco.bg

Electricity Metering LoRaWAN Gateway System is a complete communication and telemetry solution designed for remote electricity meter reading and remote control.The system consists of a custom-designed LoRaWAN node connected to a standard single-phase or three-phase electricity meter via an RS485 interface. The LoRaWAN node automatically performs meter readings at fixed time intervals and transmits the collected data to the nearest LoRaWAN gateway, which is part of a custom-designed and configured LoRa network.The device is fully configurable through a remote application server. The installed and configured LoRaWAN server communicates transparently with the LoRa end nodes. It exchanges application-level data with an additional application server, encapsulating the LoRa network specifics and ensuring seamless communication.The application server connects to the LoRaWAN server using the MQTT communication protocol. It provides a web-based interface for end users, allowing them to easily monitor, analyze, and process metering data, as well as fully configure the LoRa end nodes.


LoRaWAN End Node


The LoRaWAN End Node is compatible with single-phase and three-phase energy meters that support RS485 data communication via the IEC 62056-21 protocol. The device is based on an 8-bit microcontroller (MCU). Its firmware is developed using a bare-metal approach and executes both the ported LoRaWAN stack and application-level tasks. The device supports an internal spring-type LoRa antenna as well as an external antenna connected via an SMA RF connector. The integrated AC mains power supply simplifies installation. The application-layer communication protocol is implemented in accordance with LoRaWAN standard limitations and is fully optimized to meet the specific requirements of the dedicated system. Communication between the End Node and the LoRaWAN server is encrypted using a custom network key. The device complies with LoRaWAN Class A specifications and supports the Over-The-Air Activation (OTAA) method, ensuring secure operation and ease of integration.

✓ RS485 interface for electricity meter connection;
✓ Highly optimized onboard LoRa transceiver circuit;
✓ Integrated mains power supply, minimizing external components;
✓ Status LED, indicating the LoRa connection activity and status;
✓ SMA LoRa antenna connector, allowing external GSM antenna;
✓ Optimized DIN rail mounted enclosure for easy mechanical fix;
✓ Bare metal firmware approach, using 8bit MCU;
✓ Supporting IEC62056-21 communication standard for energy meter communication;
✓ Supporting LoRa standard encryption with custom key and OTAA end node activation;

LoRaWAN Server


The implemented LoRaWAN server encapsulates all LoRa network specifics, enabling LoRa-based end nodes to transparently send and receive data to and from the application server. The server supports all LoRa network requirements, including RF communication and gateway encryption, using a custom encryption key tailored to each LoRa network. Gateways and LoRa End Nodes can be easily added during runtime, allowing the network infrastructure to be expanded or modified according to customer requirements. There is no practical limitation on the number of end nodes or gateways supported by the system. For transparent data exchange with the application server, the LoRaWAN server supports multiple communication protocols, including WebSocket, HTTP, MQTT, and AMQP 0-9-1 (RabbitMQ). On the LoRa infrastructure side, the server supports LoRaWAN gateways operating via the Packet Forwarder protocol, as well as the Basic Station LNS protocol.

✓ Created on highly optimized Erlang communication language;
✓ Unlimited support for Gateways and LoRa End Nodes;
✓ Supports all LoRaWAN basic encryption system with custom network keys;
✓ Supports Gateways, based on "Packed Forwarded" and "Basic Station LNS Protocol";
✓ Supports application server communication protocols: WebSocket, HTTP, MQTT, AMQP 0-9-1 to the RabbitMQ;
✓ Supports configurable warning e-mail events for easy management;
✓ Runtime network infrastructure change, adding new gateways and LoRa end nodes;

Application Server


The Application Server Software is a comprehensive system management and data processing platform. It includes an SQL database that stores all received metering data as well as all device configuration settings. The server is accessed through a dedicated web interface that supports complete user and role management. The energy data management module enables sorting, filtering, and chart generation, as well as exporting selected data sets to .xls files. The application server allows full configuration of LoRa end nodes via the LoRa network. Communication with the LoRaWAN server is based on the MQTT protocol. The database model provides flexible definitions of measurement points, LoRa End Nodes, and energy meter objects. It supports multi-point measurements and object abstraction. The measurement model is fully custom-designed and optimized according to the specific requirements of the project.

✓ Using RabbitMQ for communication with the LoRaWAN server;
✓ Provides WEB interface for user interaction;
✓ Supports SQL database for all energy measurement information storage;
✓ Supports Complete LoRa devices configuration from the user control panel;
✓ Supports flexible energy measurement sorting methods, based on time, valye and type of measurement;
✓ Supports sorted data visualization, generating charts and .xls file export;
✓ Supports users management and administrative control over the WEB interface;