That should not be an issue as the bridge is being setup in MosQuiTTo not on CloudMQTT.
I use the free plan on CloudMQTT also.
I know this is the basics and you have likely checked, but did you check the server address and port number?
I know I messed up and put m11.cloudmqtt.com instead of my actual server the first time.
I should know better than to do it on a mobile device
yes i have checked that if iām not wrong i have to create a new user in my cloudmqtt and use that user name and password in hassio mqttconfig file? and i used port from cloudmqtt not ssl port or websockets portā¦
this is how my config file looks
connection cloudmqtt
address xxx.cloudmqtt.com:xxxxx
remote_username xxxx
remote_password xxxx
clientid rgtegerhsgtjtegggshtukk
try_private false
start_type automatic
topic # in
topic +/remote_cloudmqtt/# out
2018-09-18 08:47:58: New connection from 51.xxx .190.xxx on port xxxx.
2018-09-18 08:48:29: New connection from 51.xxx .190.xxx on port xxxx.
2018-09-18 08:49:04: New connection from 51.xxx .190.xxx on port xxxx.
2018-09-18 08:49:40: New connection from 51.xxx .190.xxx on port xxxx.
I use anonymous login for the local MosQuiTTo Broker, but it can be setup with local users as well.
The other config, as pasted earlier, is in the \\hassio\share\mosquitto\cloudmqtt.conf file.
I will be honest, I am running out of ideas as well. Maybe try copy and paste to copy your password set in your conf file into CloudMQTT so it is absolutely certain it is identical, other than that I am a bit lost now
Glad it is all working now. I have found it to be very reliable, and means I can keep my cloud based trackers and my internal MQTT stuff isolated enough and not need port forwarding.
I donāt think I did (looking at my code try_private is set to false).
I removed it from my configuration a while back as I use remote_home_assistant now.
But Iām guessing the try_private would be the way to try it.
Itās a little different in the sense that you connect two different home assistant machines. One acts as a slave and all its entities are passed to a master HA.
So you will need an extra RPi or a device that can run HA on the remote location.
Essentially you must use this config which directs mqtt to use a pre-existing āca-certificates.crtā file in Home Assistant. The mosquitto.conf file is as below which will bridge all in and outbound topics on both brokers: