Closed Talie5in closed 1 month ago
Note: Created a Bridge within your docker-compose
Add to volumes:
mosquitto_data:
Added mosquitto to service
mosquitto:
image: eclipse-mosquitto
ports:
- "1883:1883"
volumes:
- mosquitto_data:/mosquitto
- ./docker/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
networks:
- mesh-bridge
and mosquitto.conf that i stored into ./docker/mosquitto/mosquitto.conf
allow_anonymous true
listener 1883
connection bridge-01
address mqtt.meshtastic.org:1883
topic msh/ANZ/# out 0
topic msh/ANZ/# in 0
remote_username meshdev
remote_password large4cats
in .env point to machine ip (192.168.1.50) instead of localhost or 127.0.0.1 as its not bound that way via docker :)
Unsupported protocol version
Hey @Talie5in, looks like the global MQTT server is not supporting MQTTv5 atm. We should probably add support for customization of the protocol used. (Make it configurable)
About the bridge connection, it's a nice workaround. I think once we would have this configured we could connect directlcy to the main MQTT server.
pointing the .env to the meshtastic public mqtt just throws this in the exporter logs