I’ve been using CloudMQTT with HASS in order to see my “Friends” on OwnTracks for presence detection. However, doing so forces all my internal MQTT messages broadcasted to the cloud, adding an external dependency and potentially exposing sensitive messages.
Would it be possible to bridge the embedded MQTT broker with an external broker (CloudMQTT in this case) so that internal messages stay within, and external services like OwnTracks can continue to function with HASS?
Also, I found that one could use HASS with Mosquitto and bridging but I’m really hoping I could just use the embedded MQTT broker: MQTT: Working Mosquitto / CloudMQTT Bridge
I also believe that it’s easier doing it with a locally running mosquitto.
In my case I wanted to connect via TLS to eu.thethings.network and to further local mqtt servers.
Add these line have to /etc/mosquitto/mosquitto.conf