What’s the status of this topic? I was following the guide to simulate a device using MQTT.fx. I successfully had it appear as a new device, I could publish data from it, but it throws an exception anytime I want to subscribe to any topic, be it from the same device or a different one.
So I went ahead and tried it with the Ruby MQTT library. It also connected successfully using the same credentials and client ID. It successfully subscribes to topics published by the same client or another one. However, while it receives the command from a button attached to that same dashboard, it doesn’t receive any data updates from a different device, despite apparently having successfully subscribed to the appropriate topic.
Let me mention here that when I check the configuration of each of my devices, both the username and password displayed by Cayenne are the same across them - and only the device ID is different. So basically, if Cayenne would only allow one simultaneous connection using the same credentials (user/pw), then there would be no way to handle multiple devices by the same user.
In a broader perspective: what are the exact access rules applied to users, and their various devices with regards to the topics they can subscribe to?