Kia Ora, After having browsed manuals and Victron Community I decided to reach out. My apologies if I chose the wrong place.
I am a beginner and just enjoy tinkering on a low level using Arduino, ESP, MIT app inventor.
My goal is to reliably retrieve values like battery SoC, PV power, and load via MQTT on a local client (ESP32), even if at a modest polling interval (e.g. every few minutes) to then trigger other events like turning on appliances, charging EV etc.
I’d be very grateful for any pointers!
On my MP2 GX device I enabled MQTT.
Using my local network I can subscribe successfully to `N//#` from an ESP32 and receive data when the GX publishes.
However, I observe that MQTT publishing is very sparse:
By default only minimal topics (e.g. `system/0`) are received and there are no updates for extended periods of time (>45 minutes)
(even though my PC web browser UI via GX-IP (192.168.1.11) shows that my values like SoC,PV out and Load are changing).
I also noticed that opening the VRM dashboard in a web browser triggers a burst of MQTT updates immediately (for pretty much 1 minute),
after which publishing becomes quiet again. So obviously the GX is capable of publishing full data, but it seems only when triggered externally.
Constraints:
* I seem to only have access to standard GX settings (MQTT enable/disable, VRM enabled)
* I am not aware of being able to change MQTT mode (e.g. full/read-write) or use `/R/` topics (no response)
* Test showed that Modbus TCP and local HTTP API don’t seem to be available in this setup either
* At this stage I want to stay entirely on the local network (no cloud / internet dependency in the final solution)
So my question is this:
Is there any supported way to locally trigger or increase MQTT publish frequency on my MP2 GX device (Venus OS), without relying on VRM/cloud interaction?
If not, is there a way to to get data like SoC, PV power and load directly from the system to the ESP32 via local network or other means? In general I am interested to learn what conditions cause the GX to publish MQTT updates. Is there any documented mechanism (local or MQTT-based) to request or refresh values? Any guidance on intended MQTT usage patterns or limitations would also be appreciated. Thank you very much for your time and support !