Why This Protocol Exists
Operators often already run an MQTT broker for telemetry, fleet management, or SCADA integration. RigelMq avoids opening separate TCP ports for “push” and “pull” on the gateway in those environments: the broker becomes the single rendezvous point. JSON keeps messages self-describing for debugging and for third-party integrations that do not want to parse TLV or proprietary binary layouts.
At the same time, the gateway still performs the same kinds of work as in other Aviora stacks: identification, heartbeat, log export, configuration (MQTT broker/topics and per-meter add/remove via setting), firmware update via FTP URL, directive add/delete/list, meter readout, and load profile. Session semantics allow overlapping work: each logical operation is tagged with a transaction id so responses can be matched to requests even when several commands are in flight.



