Mqtt using websockets

Thanks @Brandon_Cannaday,
I should have thought about that… I used this old post to find more info, and the only difference is that my device is not on the same network. I set the broker ip address to ‘0.0.0.0’ in the config file and it worked.