I had a Venus running on RPI perfectly fine for about 1 year, reading system status via local MQTT (home automation controller).
A week ago, I updated my home lab network which included:
*Power cycling the RPI (it is POE) couple times
*Replacing my unmanaged with managed network switch (I am beginner/mid level network engineer)
*Changing my network IP scheme and switching the RPI to static IP/Gateway/DNS
It was a whole weekend project, so I didn’t notice this until 2 days ago - my home automation controller was stuck with static battery voltage (old data). I fired up MQTT explorer and connected to Venus - to my surprise, it wasn’t finding the device ID. So I double checked my network settings and soft rebooted Venus - same issue.
Then while the MQTT explorer was still connected, I opened VictronConnect on my phone and connected to VRM instead of local BT. It puled live date over the cloud, AND THEN I am seeing live on my laptop screen the MQTT explorer suddenly getting data about the device in question (solar charge controller connected via USB). Strange I thought, a fluke. My smart home controller also got updated system data.
Couple hours later - same issue. Opened up the app, connected to VRM/RPI/Solar controller - local MQTT data started flowing. Next day, I logged in to Victron VRM portal, which also refreshed the local MQTT dataset. Tested this a few more times - 100% sure above is happening and network settings are correct.
I am really puzzled by this. First thought, MQTT is UDP and something on my switch config is preventing communication (not very experienced with MQTT), scanned port 1883 but it does not appear to be UDP, so I doubt it is that.
Anyone run into this yet or has any suggestion? I could attempt updating the RPI Venus instance, but it worked fine for so long.