# Unstable MQTT

**URL:** <https://community.victronenergy.com/t/unstable-mqtt/56706>\
**Category:** Modifications\
**Tags:** gx\_device, cerbo\_gx, vrm, diy\
**Created:** [18 April 2026 20:48 UTC](https://community.victronenergy.com/t/unstable-mqtt/56706 "2026-04-18T20:48:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tochal](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@Tochal](https://community.victronenergy.com/u/Tochal)\
**Post date:** [18 April 2026 20:48 UTC](https://community.victronenergy.com/t/unstable-mqtt/56706/1 "2026-04-18T20:48:51Z")

</div>

hi every one, im using MQTT data for my project, i read the published MQTT data and use them to analyze if power is getting exported to grid or imported and so on. MQTT data is very unstable, sometimes it get frozen and sometimes it runs for hours without any problem. do you have any idea what the reason could be? i read data with a ESP32. but i think the problem is on Cerbo side. since i read the data parallelly in my PC, using Mosquitto, and there i also see MQTT gets frozen and doesn’t publish anything. interesting is that as soon as i open VRM in a browser, MQTT starts publishing data again.

thanks for help in Advance

---

<div class="post-metadata">

**Author:** ![kr0815](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kr0815](https://community.victronenergy.com/u/kr0815)\
**Post date:** [18 April 2026 20:58 UTC](https://community.victronenergy.com/t/unstable-mqtt/56706/2 "2026-04-18T20:58:58Z")

</div>

never saw that problem

---

<div class="post-metadata">

**Author:** ![ricardocello](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/ricardocello/32/83_2.png) [@ricardocello](https://community.victronenergy.com/u/ricardocello)\
**Post date:** [19 April 2026 10:01 UTC](https://community.victronenergy.com/t/unstable-mqtt/56706/3 "2026-04-19T10:01:59Z")

</div>

Perhaps Keepalive will help.

See:

> [@MQTT stops publishing](https://community.victronenergy.com/t/mqtt-stops-publishing/26575):
>
> When connecting to the mqtt server in my EasySolar II with MQTT Explorer, no values are posted on N/(serial)/#, but as soon as I go to the VRM Portal, and looks at the Dashboard for my installation, messages starts flowing. It stays connected to the server, just no messages are send. After closing VRM Portal, and waiting for about a minute, all messages again goes silent. Is it supposed to be like that, and do I need to change something?

---

<div class="post-metadata">

**Author:** ![Tochal](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@Tochal](https://community.victronenergy.com/u/Tochal)\
**Post date:** [20 April 2026 07:18 UTC](https://community.victronenergy.com/t/unstable-mqtt/56706/4 "2026-04-20T07:18:10Z")

</div>

HI Rick, i read a little bit about this, topic in internet, it seems like this is not a problem, its Victron’s design. They want to reduce traffic on Cerbo. A dirty and not professional solution would be to install VRM on an old smart and let it run permanently, ( i havnt tested this ), or a clean solution which I also chose, to get the data over modbus which worked perfectly, its very stable and fast. I recommend you to just move to modbus, you will like it . good luck and have fun

---

<div class="post-metadata">

**Author:** ![ricardocello](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/ricardocello/32/83_2.png) [@ricardocello](https://community.victronenergy.com/u/ricardocello)\
**Post date:** [20 April 2026 13:26 UTC](https://community.victronenergy.com/t/unstable-mqtt/56706/5 "2026-04-20T13:26:46Z")

</div>

I’ve already got custom Python code to do everything I need over Modbus, including logging everything I care about at 1 Hz to a local server.
