Hi, I'm struggling to connect to Victron MQTT (local) broker using PubSubClient.h arduino library. MQTT explorer is fine, as is mosquitto_pub
I'm trying to connect openmqttgateway device to victron MQTT. OpenMQTTGateway uses PubSubClient.h
(my end goal of modifying the openmqttgateway to capture heating oil ultrasonic depth sensor, perform the data extraction and calculations of turning depth to volume forward on to dummy tank driver).
I have no issue connecting to "normal" MQTT server (0 config mosquitto server) and i can view mqtt via mqtt explorer. As you can see here, the server is receiving data from esp32 device:
However it fails to connect on victron mqtt server. I thought maybe the initial message structure was causing the issue or maybe even mqtt version being too high on victron server but i tested using the command:
mosquitto_pub -h 192.168.3.104 -t home/T/RFtoMQTT -m '{"active":3,"frequency":433.92,"rssithreshold":-105,"rssi":-113,"avgrssi":-114,"count":0,"ookthreshold":11}' -V mqttv31
And the topic posted. Yet esp32 device that uses PubSubClient.h for connections is unable to.
Is there any specific settings in mqtt broker that could be causing weirdness? Im using venus os 3.30 so think that means broker is started via dbus-flashmq.
I had a quick scan but couldnt spot anything obvious. Any tips greatly appreciated as i know this is probably very Niche setup but would be nice to have openmqttgateway integration, would open the door for so many sensors.